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
Details Example Schema
Name
Type
Required
Description
queryParameters
object
yes
Component group id.
Copied to Clipboard
{
"queryParameters": {
"target-type": "ex tempor aliquip",
"target-identifiers": "mollit ut labore",
"referrer-type": "exercitation sint magna id aute"
}
}
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
Details Example Schema
Name
Type
Description
response
object
Response object.
Copied to Clipboard
{
"referencesByTarget": [
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "transformation"
},
"totalReferencingInstances": -57445432.325474896,
"totalReferences": -61381213.10404805,
"references": {
"type": "workflow",
"_id": "5eb596edf955d0e5288f84ef",
"name": "ut magna esse",
"referencePaths": [
"officia aliquip mollit veniam",
"id in dolore",
"minim ex consequat",
"cillum aliquip irure nulla"
]
}
},
{
"target": {
"identifer": "5eb596edf955d0e5288f84ef",
"type": "form"
},
"totalReferencingInstances": -44310715.55065742,
"totalReferences": 53996864.04664278,
"references": {
"type": "command-template",
"_id": "5eb596edf955d0e5288f84ef",
"name": "ad sunt quis",
"referencePaths": [
"ad magna ut eiusmod et",
"in reprehenderit aute aliquip"
]
}
},
{
"target": {
"identifer": "940a1b4f-399a-44df-a42e-d37da51c7637",
"type": "json-form"
},
"totalReferencingInstances": 15271344.444920659,
"totalReferences": -41387631.906622335,
"references": {
"type": "json-form",
"_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
"name": "laboris ut laborum esse fugiat",
"referencePaths": [
"ut in adipisicing qui",
"consequat cillum qui exercitation anim",
"deserunt commodo voluptate dolor dolore",
"in"
]
}
}
]
}
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"
}
}
}
}
}
}
}
}
}