Files
directus/packages/spec/specs/paths/users/user-tracking.yaml
2020-09-21 12:33:19 -03:00

26 lines
694 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: "#/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: "#/components/responses/UnauthorizedError"
"404":
$ref: "#/components/responses/NotFoundError"
tags:
- Users