metamaps--metamaps/doc/api/apis/users.raml

27 lines
603 B
Text
Raw Normal View History

2016-10-04 14:24:47 +00:00
#type: collection
securedBy: [ null, cookie, token, oauth_2_0 ]
2016-10-04 14:24:47 +00:00
get:
is: [ searchable: { searchFields: "name" }, orderable, pageable ]
responses:
200:
body:
application/json:
example: !include ../examples/users.json
/{id}:
2016-10-04 14:24:47 +00:00
#type: item
securedBy: [ null, cookie, token, oauth_2_0 ]
2016-10-04 14:24:47 +00:00
get:
responses:
200:
body:
application/json:
example: !include ../examples/user.json
/current:
2016-10-04 14:24:47 +00:00
#type: item
get:
responses:
200:
body:
application/json:
example: !include ../examples/current_user.json