Files
directus/packages/spec/specs/paths/users/user-tracking.yaml
2020-09-14 20:01:01 +02:00

24 lines
741 B
YAML

patch:
description: Updates the last used page field of the user. This is used internally
to be able to open the Directus admin app from the last page you used.
operationId: updateLastUsedPage
parameters:
- $ref: '../../openapi.yaml#/components/parameters/UUId'
requestBody:
content:
application/json:
schema:
properties:
last_page:
description: Path of the page you used last.
type: string
type: object
responses:
'200':
description: Successful request
'401':
$ref: '../../openapi.yaml#/components/responses/UnauthorizedError'
'404':
$ref: '../../openapi.yaml#/components/responses/NotFoundError'
tags:
- Users