Files
directus/packages/spec/specs/paths/activity/activity.yaml
2020-10-11 18:31:14 -04:00

26 lines
786 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