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
28 lines
625 B
Text
28 lines
625 B
Text
#type: collection
|
|
get:
|
|
description: |
|
|
A list of the current user's tokens.
|
|
is: [ searchable: { searchFields: description }, pageable, orderable ]
|
|
responses:
|
|
200:
|
|
body:
|
|
application/json:
|
|
example: !include ../examples/tokens.json
|
|
post:
|
|
body:
|
|
application/json:
|
|
properties:
|
|
description:
|
|
description: short string describing this token
|
|
required: false
|
|
responses:
|
|
201:
|
|
body:
|
|
application/json:
|
|
example: !include ../examples/token.json
|
|
/{id}:
|
|
#type: item
|
|
delete:
|
|
responses:
|
|
204:
|
|
description: No content
|