Schema
Get All Field Definitions
This endpoint returns all field definitions for a given collection if the user has access.
get/collections/{collectionId}/schema
Request
- Base URLhttps://data.lucid.app
- URLhttps://data.lucid.app/collections/{collectionId}/schema
- AuthOAuth 2Authorization code: https://lucid.app/oauth2/authorizeToken URL: https://api.lucid.co/oauth2/token scopes: data-service.admin
Path parameters
collectionIdinteger required
ID of collection to get field definitions for
Response
OK with Array[Field Definition]
Example response
[
{
"uri": "https://data.lucid.app/collections/2/schema/4",
"name": "Co1B",
"fieldType": "STRING",
"collection": "https://data.lucid.app/collections/2",
"isPrimary": false,
"order": "1",
"default": "5",
"label": "User Friendly Field Name"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.