Skip to content

list_fields

List field definitions from the requested schema view.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"model_id": {
"title": "Model Id",
"type": "string"
},
"view": {
"default": "draft",
"enum": [
"draft",
"published"
],
"title": "View",
"type": "string"
}
},
"required": [
"application_id",
"model_id"
],
"title": "list_fieldsArguments",
"type": "object"
}
{
"items": {
"description": "Schema for field data in responses.",
"properties": {
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"defaultValue": {
"title": "Defaultvalue"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"isRequired": {
"title": "Isrequired",
"type": "boolean"
},
"isUnique": {
"title": "Isunique",
"type": "boolean"
},
"label": {
"title": "Label",
"type": "string"
},
"modelId": {
"format": "uuid",
"title": "Modelid",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"position": {
"title": "Position",
"type": "integer"
},
"settings": {
"additionalProperties": true,
"title": "Settings",
"type": "object"
},
"tenantId": {
"format": "uuid",
"title": "Tenantid",
"type": "string"
},
"type": {
"title": "Type",
"type": "string"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
},
"workspaceId": {
"format": "uuid",
"title": "Workspaceid",
"type": "string"
}
},
"required": [
"id",
"tenantId",
"workspaceId",
"modelId",
"name",
"label",
"type",
"isRequired",
"isUnique",
"position"
],
"title": "FieldResponse",
"type": "object"
},
"title": "Response Listfield",
"type": "array"
}