From 322de3de0e257bb9230ad870e66e9cafc6365a20 Mon Sep 17 00:00:00 2001 From: Morgan Date: Tue, 15 Sep 2015 15:20:40 +0200 Subject: add text --- index.html | 69 +++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 50 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index 876f964..84aff7d 100644 --- a/index.html +++ b/index.html @@ -113,7 +113,7 @@
-
+
lua

Lua

@@ -183,39 +183,70 @@
-
-

First featurette heading. It'll blow your mind.

-

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

-
- Generic placeholder image +

API Description

+

Describe your API with a JSON file.

+

Description » + Examples »

+
+
+
+{
+  "base_url": "http://github.com/api/v2/",
+  "version": "0.4",
+  "methods": {
+    "list_commits": {
+      "path": "/:format/commits/list/:user/:repo/:branch",
+      "method": "GET",
+      "required_params": ["format", "user", "repo", "branch"]
+    },
+    "list_file_commits": {
+      "path": "/:format/commits/list/:user/:repo/:branch/:path",
+      "method": "GET",
+      "required_params": ["format", "user", "repo", "branch", "path"]
+    },
+    "get_commit_info": {
+      "path": "/:format/commits/show/:user/:repo/:sha",
+      "method": "GET",
+      "required_params": ["format", "user", "repo", "sha"]
+    }
+  },
+  "expected_status": [200],
+  "name": "GitHub",
+  "authority": "http://github.com/SPORE",
+  "meta": {
+    "documentation": "http://develop.github.com/",
+    "module": "commit"
+  }
+}
+            

+
-
-

Oh yeah, it's that good. See for yourself.

-

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

-
-
- Generic placeholder image +
+

Use a client implementation to request your API ...

+

The clients for Clojure, Javascript, Lua, Nodejs, Perl, Python, Ruby, Livescript and Groovy are already here.

+

Clients »

+

-
-

And lastly, this one. Checkmate.

-

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

-
-
- Generic placeholder image +
+

... or create your own client for your favorite language.

+

Follow the specification to create your own client implementation and contribute to the spore community.

+

Client implementation »

+
+
@@ -224,7 +255,7 @@
-- cgit v1.2.3