Skip to content

list_relationships

List relationships configured for an application.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
}
},
"required": [
"application_id"
],
"title": "list_relationshipsArguments",
"type": "object"
}
{
"properties": {
"items": {
"items": {
"properties": {
"applicationId": {
"format": "uuid",
"title": "Applicationid",
"type": "string"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"settings": {
"additionalProperties": true,
"title": "Settings",
"type": "object"
},
"sourceFieldId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Sourcefieldid"
},
"sourceModelId": {
"format": "uuid",
"title": "Sourcemodelid",
"type": "string"
},
"targetFieldId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Targetfieldid"
},
"targetModelId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Targetmodelid"
},
"type": {
"enum": [
"one_to_one",
"one_to_many",
"many_to_one",
"many_to_many"
],
"title": "RelationshipType",
"type": "string"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
}
},
"required": [
"id",
"applicationId",
"name",
"type",
"sourceModelId",
"settings"
],
"title": "PublicRelationshipResponse",
"type": "object"
},
"title": "Items",
"type": "array"
}
},
"required": [
"items"
],
"title": "PublicRelationshipListResponse",
"type": "object"
}