mirror of
https://github.com/directus/directus.git
synced 2026-02-09 21:06:27 -05:00
25 lines
735 B
YAML
25 lines
735 B
YAML
get:
|
|
description: Returns a list of the fields available in the project.
|
|
operationId: getFields
|
|
parameters:
|
|
- $ref: "../../openapi.yaml#/components/parameters/Limit"
|
|
- $ref: "../../openapi.yaml#/components/parameters/Sort"
|
|
responses:
|
|
"200":
|
|
description: Successful request
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
data:
|
|
type: array
|
|
items:
|
|
$ref: "../../openapi.yaml#/components/schemas/Fields"
|
|
"401":
|
|
$ref: "../../openapi.yaml#/components/responses/UnauthorizedError"
|
|
"404":
|
|
$ref: "../../openapi.yaml#/components/responses/NotFoundError"
|
|
tags:
|
|
- Fields
|