mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
23 lines
571 B
YAML
23 lines
571 B
YAML
get:
|
|
description: Retrieve the currently authenticated user.
|
|
operationId: me
|
|
parameters:
|
|
- $ref: "#/components/parameters/Fields"
|
|
- $ref: "#/components/parameters/Meta"
|
|
responses:
|
|
"200":
|
|
description: Successful request
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
data:
|
|
$ref: "#/components/schemas/User"
|
|
"401":
|
|
$ref: "#/components/responses/UnauthorizedError"
|
|
"404":
|
|
$ref: "#/components/responses/NotFoundError"
|
|
tags:
|
|
- Users
|