diff --git a/_posts/2012-12-24-delete-a-thing.md b/_posts/2012-12-24-delete-a-thing.md index 355b0eb..2f7ab1c 100644 --- a/_posts/2012-12-24-delete-a-thing.md +++ b/_posts/2012-12-24-delete-a-thing.md @@ -1,10 +1,10 @@ --- category: Stuff -path: '/stuff/:id' +url_path: '/stuff/:id' title: 'Delete a thing' type: 'DELETE' -layout: nil +layout: null --- This method allows the user to post a new thing to his stuff. @@ -25,4 +25,4 @@ Sends back a collection of things. message: 'Your thing (id: 736) was deleted' }``` -For errors responses, see the [response status codes documentation](#response-status-codes). \ No newline at end of file +For errors responses, see the [response status codes documentation](#response-status-codes). diff --git a/_posts/2012-12-25-put-a-thing.md b/_posts/2012-12-25-put-a-thing.md index 31adbc1..580ae53 100755 --- a/_posts/2012-12-25-put-a-thing.md +++ b/_posts/2012-12-25-put-a-thing.md @@ -1,10 +1,10 @@ --- category: Stuff -path: '/stuff/:id' +url_path: '/stuff/:id' title: 'Update a thing' type: 'PUT' -layout: nil +layout: null --- This method allows the user to retrieve his stuff. @@ -36,4 +36,4 @@ Sends back a collection of things. } }``` -For errors responses, see the [response status codes documentation](#response-status-codes). \ No newline at end of file +For errors responses, see the [response status codes documentation](#response-status-codes). diff --git a/_posts/2012-12-26-post-a-thing.md b/_posts/2012-12-26-post-a-thing.md index 3ea00e3..0ddfd79 100644 --- a/_posts/2012-12-26-post-a-thing.md +++ b/_posts/2012-12-26-post-a-thing.md @@ -1,10 +1,10 @@ --- category: Stuff -path: '/stuff' +url_path: '/stuff' title: 'Post a thing' type: 'POST' -layout: nil +layout: null --- This method allows users to create a new thing. diff --git a/_posts/2012-12-27-get-stuff.md b/_posts/2012-12-27-get-stuff.md index 3bbf018..322513f 100755 --- a/_posts/2012-12-27-get-stuff.md +++ b/_posts/2012-12-27-get-stuff.md @@ -1,10 +1,10 @@ --- category: Stuff -path: '/stuff' +url_path: '/stuff' title: 'Get stuff' type: 'GET' -layout: nil +layout: null --- This method allows users to retrieve stuff. @@ -29,4 +29,4 @@ Sends back a collection of things. } }``` -For errors responses, see the [response status codes documentation](#response-status-codes). \ No newline at end of file +For errors responses, see the [response status codes documentation](#response-status-codes). diff --git a/_posts/2012-12-28-authentication.md b/_posts/2012-12-28-authentication.md index cc681c9..98f1069 100644 --- a/_posts/2012-12-28-authentication.md +++ b/_posts/2012-12-28-authentication.md @@ -1,8 +1,8 @@ --- -path: '/login' +url_path: '/login' title: 'Authenticate' -layout: nil +layout: null --- This method allows users to retrieve stuff. @@ -17,4 +17,4 @@ Sends back a collection of things. name: 'My second thing' }``` -For errors responses, see the [response status codes documentation](#response-status-codes). \ No newline at end of file +For errors responses, see the [response status codes documentation](#response-status-codes). diff --git a/_posts/2012-12-28-response-status-codes.md b/_posts/2012-12-28-response-status-codes.md index 00747d8..89a478f 100644 --- a/_posts/2012-12-28-response-status-codes.md +++ b/_posts/2012-12-28-response-status-codes.md @@ -1,7 +1,7 @@ --- title: 'Response status codes' -layout: nil +layout: null --- ### Success @@ -38,4 +38,4 @@ For a call with an invalid authentication token for example: ```{ code: 401, message: 'Access denied: invalid authentication token.' -}``` \ No newline at end of file +}``` diff --git a/index.html b/index.html index 809b4cb..7f09018 100755 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@
{% for post in site.posts %}
-

{% if post.type %}{{ post.type }} {{ post.path }} {% endif %}{{ post.title }}

+

{% if post.type %}{{ post.type }} {{ post.url_path }} {% endif %}{{ post.title }}

{{ post.content }}