Skip to content

query_records

Query records for a published model.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"filters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Filters"
},
"ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ids"
},
"model_id": {
"title": "Model Id",
"type": "string"
},
"order": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Order"
},
"page": {
"default": 1,
"title": "Page",
"type": "integer"
},
"per_page": {
"default": 25,
"title": "Per Page",
"type": "integer"
},
"resolve_references": {
"default": false,
"title": "Resolve References",
"type": "boolean"
},
"sort": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sort"
}
},
"required": [
"application_id",
"model_id"
],
"title": "query_recordsArguments",
"type": "object"
}
{
"properties": {
"items": {
"items": {
"properties": {
"_resolved": {
"anyOf": [
{
"additionalProperties": {
"additionalProperties": true,
"type": "object"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Resolved"
},
"applicationId": {
"format": "uuid",
"title": "Applicationid",
"type": "string"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"createdBy": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdby"
},
"data": {
"additionalProperties": true,
"title": "Data",
"type": "object"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"modelId": {
"format": "uuid",
"title": "Modelid",
"type": "string"
},
"redirect": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Redirect"
},
"tenantId": {
"format": "uuid",
"title": "Tenantid",
"type": "string"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
},
"workspaceId": {
"format": "uuid",
"title": "Workspaceid",
"type": "string"
}
},
"required": [
"id",
"tenantId",
"workspaceId",
"applicationId",
"modelId",
"data",
"createdBy"
],
"title": "RecordResponse",
"type": "object"
},
"title": "Items",
"type": "array"
},
"page": {
"title": "Page",
"type": "integer"
},
"perPage": {
"title": "Perpage",
"type": "integer"
},
"total": {
"title": "Total",
"type": "integer"
}
},
"required": [
"items",
"total",
"page",
"perPage"
],
"title": "RecordListResponse",
"type": "object"
}