Skip to Content
Docs

List type versions

GET
/$versions/types/{typeId}

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

typeId*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$

Query Parameters

includeTotal?boolean
pageSize?number
pageToken?string

Header Parameters

Response Body

application/json
  1. response
items*array<|>
nextPageToken?string
totalCount?integer
Example Request
curl -X GET 'https://native-object-registry.your-tenant-id.my.contextual.io/api/v1/$versions/types/string'
Example Response
{  "items": [    {      "_metaData": {        "id": "string",        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      },      "id": "string",      "type": "system",      "name": "string",      "pluralName": "string",      "description": "string",      "schemaVersion": "string",      "schema": {        "relations": {          "property1": {            "typeRef": "string",            "localField": "string",            "displayField": "string",            "searchBy": [              {                "field": "string",                "label": "string"              }            ]          },          "property2": {            "typeRef": "string",            "localField": "string",            "displayField": "string",            "searchBy": [              {                "field": "string",                "label": "string"              }            ]          }        },        "primaryKey": "string",        "property1": null,        "property2": null      },      "display": "default",      "defaultListStyle": "table",      "uiSchemas": {        "createStyle": null,        "updateStyle": null,        "readStyle": null,        "systemStyle": null,        "duplicateStyle": null,        "listStyle": {          "columns": [            {              "id": "string",              "path": "string",              "label": "string",              "align": "left",              "width": 0,              "flex": 0,              "property1": null,              "property2": null            }          ],          "order": {            "orderBy": "string",            "direction": "asc"          },          "pagination": {            "totalCount": "include"          }        },        "relatedStyle": {          "property1": {            "columns": [              {                "id": "string",                "path": "string",                "label": "string",                "align": "left",                "width": 0,                "flex": 0,                "property1": null,                "property2": null              }            ],            "order": {              "orderBy": "string",              "direction": "asc"            },            "pagination": {              "totalCount": "include"            },            "typeId": "string"          },          "property2": {            "columns": [              {                "id": "string",                "path": "string",                "label": "string",                "align": "left",                "width": 0,                "flex": 0,                "property1": null,                "property2": null              }            ],            "order": {              "orderBy": "string",              "direction": "asc"            },            "pagination": {              "totalCount": "include"            },            "typeId": "string"          }        }      },      "triggers": {        "preInsert": [          {            "id": "string",            "type": "system",            "name": "string",            "description": "string",            "action": "send-to-agent",            "agentId": "string",            "disabled": true          }        ],        "postInsert": [          {            "id": "string",            "type": "system",            "name": "string",            "description": "string",            "action": "send-to-agent",            "agentId": "string",            "disabled": true          }        ],        "preUpdate": [          {            "id": "string",            "type": "system",            "name": "string",            "description": "string",            "action": "send-to-agent",            "agentId": "string",            "disabled": true          }        ],        "postUpdate": [          {            "id": "string",            "type": "system",            "name": "string",            "description": "string",            "action": "send-to-agent",            "agentId": "string",            "disabled": true          }        ],        "preDelete": [          {            "id": "string",            "type": "system",            "name": "string",            "description": "string",            "action": "send-to-agent",            "agentId": "string",            "disabled": true          }        ],        "postDelete": [          {            "id": "string",            "type": "system",            "name": "string",            "description": "string",            "action": "send-to-agent",            "agentId": "string",            "disabled": true          }        ]      },      "actions": [        {          "id": "string",          "type": "system",          "name": "string",          "description": "string",          "action": "send-to-agent",          "agentId": "string",          "hidden": true        }      ],      "objectType": "internal",      "features": {        "auditTrail": {          "enabled": true,          "retentionPeriod": -9007199254740991        },        "version": {          "enabled": true,          "limit": -9007199254740991        }      }    }  ],  "nextPageToken": "string",  "totalCount": 0}