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

26 lines
750 B
YAML

get:
description:
Retrieves the details of an existing activity action. Provide the primary
key of the activity action and Directus will return the corresponding information.
operationId: getActivity
parameters:
- $ref: "#/components/parameters/Id"
- $ref: "#/components/parameters/Fields"
- $ref: "#/components/parameters/Meta"
responses:
"200":
description: Successful request
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/Activity"
"401":
$ref: "#/components/responses/UnauthorizedError"
"404":
$ref: "#/components/responses/NotFoundError"
tags:
- Activity