mirror of
https://github.com/directus/directus.git
synced 2026-02-01 23:15:11 -05:00
24 lines
727 B
YAML
24 lines
727 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/Field'
|
|
'401':
|
|
$ref: '../../openapi.yaml#/components/responses/UnauthorizedError'
|
|
'404':
|
|
$ref: '../../openapi.yaml#/components/responses/NotFoundError'
|
|
tags:
|
|
- Fields |