create_relationship
Create an application relationship.
Input schema
Section titled “Input schema”{ "additionalProperties": false, "properties": { "application_id": { "title": "Application Id", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "name": { "title": "Name", "type": "string" }, "settings": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null, "title": "Settings" }, "source_field_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Source Field Id" }, "source_model_id": { "title": "Source Model Id", "type": "string" }, "target_field_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Target Field Id" }, "target_model_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Target Model Id" }, "type": { "title": "Type", "type": "string" } }, "required": [ "application_id", "name", "type", "source_model_id" ], "title": "create_relationshipArguments", "type": "object"}Output schema
Section titled “Output schema”{ "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"}