Summary
Gets references to a particular document.
Description
Gets references to a particular document.
Route
GET /automation-studio/references-to
Roles
admin
apiread
designer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
queryParameters |
object |
yes |
Component group id. |
Copied to Clipboard
{
"queryParameters": {
"target-type": "consequat in deserunt Duis",
"target-identifiers": "dolor ut ut consequat nisi",
"referrer-type": "reprehenderit in incididunt fugiat"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"queryParameters": {
"title": "queryParameters",
"type": "object",
"description": "Options passed to the endpoint.",
"properties": {
"target-type": {
"type": "string",
"description": "Type of document to search for references to."
},
"target-identifiers": {
"type": "string",
"description": "IDs of the components to search for references to."
},
"referrer-type": {
"type": "string",
"description": "Type of documents to search for references in."
}
}
}
},
"required": [
"queryParameters"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
Response object. |
Copied to Clipboard
{
"referencesByTarget": [
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "analytic-template"
},
"totalReferencingInstances": 76339772.26455206,
"totalReferences": 43513694.889887184,
"references": {
"type": "form",
"_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
"name": "ut magna",
"referencePaths": [
"Ut magna mollit tempor",
"Ut aliqua amet quis aute",
"occaecat ex ea",
"Excepteur cupidatat"
]
}
},
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "analytic-template"
},
"totalReferencingInstances": -91163205.8137414,
"totalReferences": 2738348.4181262106,
"references": {
"type": "analytic-template",
"_id": "5eb596edf955d0e5288f84ef",
"name": "non dolore ex occaecat",
"referencePaths": [
"laboris non Ut ipsum occaecat",
"ipsum nostrud est"
]
}
},
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "json-form"
},
"totalReferencingInstances": -75344305.05215201,
"totalReferences": -85946607.6742034,
"references": {
"type": "template",
"_id": "5eb596edf955d0e5288f84ef",
"name": "eiusmod in Lorem dolore dolore",
"referencePaths": [
"eu fugiat ut quis non",
"commodo Ut magna",
"id irure",
"pariatur",
"laboris anim exercitation ut incididunt"
]
}
},
{
"target": {
"identifer": "940a1b4f-399a-44df-a42e-d37da51c7637",
"type": "form"
},
"totalReferencingInstances": 18062272.729835853,
"totalReferences": 17258832.45351611,
"references": {
"type": "workflow",
"_id": "5eb596edf955d0e5288f84ef",
"name": "magna velit laboris sint",
"referencePaths": [
"est mollit Ut"
]
}
},
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "workflow"
},
"totalReferencingInstances": -7980803.324831024,
"totalReferences": -50831456.75175982,
"references": {
"type": "json-form",
"_id": "5eb596edf955d0e5288f84ef",
"name": "qui",
"referencePaths": [
"incididunt fugiat",
"enim quis qui",
"ex est Duis",
"veniam sunt elit nulla",
"irure"
]
}
}
]
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"referencesByTarget": {
"type": "array",
"items": {
"type": "object",
"properties": {
"target": {
"type": "object",
"properties": {
"identifer": {
"type": "string",
"examples": [
"940a1b4f-399a-44df-a42e-d37da51c7637",
"5eb596edf955d0e5288f84ef"
]
},
"type": {
"type": "string",
"enum": [
"workflow",
"json-form",
"transformation",
"template",
"command-template",
"analytic-template",
"form"
]
}
}
},
"totalReferencingInstances": {
"type": "number"
},
"totalReferences": {
"type": "number"
},
"references": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"workflow",
"json-form",
"transformation",
"template",
"command-template",
"analytic-template",
"form"
]
},
"_id": {
"type": "string",
"examples": [
"940a1b4f-399a-44df-a42e-d37da51c7637",
"5eb596edf955d0e5288f84ef"
]
},
"name": {
"type": "string"
},
"referencePaths": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}