7eae8deacb
* my_tokens endpoint moved to normal index * remove secured_by from metacodes/users * ch ch ch changes * mess with template * fix securedBy * convenience open * gross authentication notes at the top of every endpoint * better ordering * move login tutorials into security tab * oauth tutorial * getting closer * remove unneeded Endpoints header * ok looks OK
26 lines
603 B
Text
26 lines
603 B
Text
#type: collection
|
|
securedBy: [ null, cookie, token, oauth_2_0 ]
|
|
get:
|
|
is: [ searchable: { searchFields: "name" }, orderable, pageable ]
|
|
responses:
|
|
200:
|
|
body:
|
|
application/json:
|
|
example: !include ../examples/users.json
|
|
/{id}:
|
|
#type: item
|
|
securedBy: [ null, cookie, token, oauth_2_0 ]
|
|
get:
|
|
responses:
|
|
200:
|
|
body:
|
|
application/json:
|
|
example: !include ../examples/user.json
|
|
/current:
|
|
#type: item
|
|
get:
|
|
responses:
|
|
200:
|
|
body:
|
|
application/json:
|
|
example: !include ../examples/current_user.json
|