Created
May 5, 2014 22:58
-
-
Save adilwali/45a77c65a912037dfb28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resourceTypes: | |
- collection: | |
usage: This resourceType should be used for any collection of items. | |
description: The collection of <<resourcePathName>> | |
get: | |
description: Get all <<resourcePathName>> | |
responses: | |
200: | |
body: | |
schema: <<resourcePathName>> | |
post: | |
description: Create new <<resourcePathName | !singularize>> | |
body: | |
schema: <<resourcePathName | !singularize>> | |
responses: | |
200: | |
body: | |
schema: <<resourcePathName | !singularize>> | |
- member: | |
usage: This resourceType should be used for any member. | |
description: The resource <<resourcePathName>> | |
get: | |
description: Get a single <<resourcePathName | !singularize>> | |
responses: | |
200: | |
body: | |
schema: <<resourcePathName | !singularize>> | |
put: | |
description: Update a single <<resourcePathName | !singularize>> | |
responses: | |
200: | |
body: | |
schema: <<resourcePathName | !singularize>> | |
delete: | |
description: This method will *delete* an individual **<<resourcePathName | !singularize>>** | |
responses: | |
204: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment