Created
September 8, 2016 15:42
-
-
Save antoniogarrote/aa462460e341bdb0ab7d75200f7d2c75 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
#%raml 1.0 | |
title: Todos Service | |
baseUri: http://todosapp.com/api/version_0 | |
mediaType: application/json | |
/usersServiceCreate: | |
description: Creates a users | |
post: | |
body: | |
properties: | |
email: string | |
name: string | |
response: | |
body: | |
properties: | |
id: string | |
/usersServiceList: | |
description: Lists all Users | |
post: | |
response: | |
body: | |
type: array: | |
items: | |
properties: | |
id: string | |
email: string | |
name: string | |
/usersServiceDelete: | |
description: Creates a users | |
post: | |
body: | |
properties: | |
id: string | |
/todosServiceCreate: | |
description: Creates Todos for a user | |
post: | |
body: | |
properties: | |
user_id: string | |
todos: | |
type: array | |
items: | |
properties: | |
title: string | |
description: string | |
response: | |
body: | |
properties: | |
id: string | |
/todosServiceList: | |
description: Lists all Todos | |
post: | |
response: | |
body: | |
type: array | |
items: | |
properties: | |
id: string | |
user_id: string | |
title: string | |
description: string | |
/todosServiceDelete: | |
description: Deletes todos | |
post: | |
body: | |
id: string[] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment