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": "proident",
"target-identifiers": "esse minim anim incididunt",
"referrer-type": "dolor anim"
}
}
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": "command-template"
},
"totalReferencingInstances": 31792806.971277848,
"totalReferences": 41766629.67834023,
"references": {
"type": "template",
"_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
"name": "non eu magna do",
"referencePaths": [
"consectetur laborum ipsum dolor",
"officia dolor",
"Lorem est",
"occaecat eu anim et"
]
}
},
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "workflow"
},
"totalReferencingInstances": -84900574.30630778,
"totalReferences": 16831812.334332958,
"references": {
"type": "command-template",
"_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
"name": "sunt Ut non",
"referencePaths": [
"laboris ullamco",
"minim veniam consequat",
"dolor"
]
}
},
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "command-template"
},
"totalReferencingInstances": -46462259.26804291,
"totalReferences": -17304974.969913185,
"references": {
"type": "command-template",
"_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
"name": "eiusmod ut deserunt Lorem fugiat",
"referencePaths": [
"ullamco in dolor nostrud sit"
]
}
},
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "workflow"
},
"totalReferencingInstances": -57631658.56719019,
"totalReferences": 74291175.82079813,
"references": {
"type": "analytic-template",
"_id": "5eb596edf955d0e5288f84ef",
"name": "Ut",
"referencePaths": [
"consectetur quis",
"ut ea eu ad",
"consectetur"
]
}
}
]
}
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"
}
}
}
}
}
}
}
}
}