v1
latestOpenAPI 3.0.12026-07-1714724311.1 KBFields
Create Field in Collection
Create a new field in a given collection.
post/fields/{collection}
Path parameters
collectionstring required
Unique identifier of the collection the item resides in.
Request body
Example request
{
"field": "id",
"type": "integer",
"schema": {
"name": "title",
"table": "posts",
"type": "string",
"schema": "public"
},
"meta": {
"id": 3,
"collection": "posts",
"field": "title",
"system-interface": "primary-key",
"locked": true,
"hidden": true,
"sort": 1
}
}Response
Successful request