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": "commodo aliqua do",
"target-identifiers": "in velit et Lorem aliqua",
"referrer-type": "commodo nostrud mollit qui reprehenderit"
}
}
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": "transformation"
},
"totalReferencingInstances": 18629514.067307085,
"totalReferences": -35706649.79134244,
"references": {
"type": "form",
"_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
"name": "commodo",
"referencePaths": [
"id exercitation in",
"ad velit",
"pariatur deserunt id",
"proident",
"cupidatat culpa nisi proident"
]
}
},
{
"target": {
"identifer": "940a1b4f-399a-44df-a42e-d37da51c7637",
"type": "form"
},
"totalReferencingInstances": 45805218.63992658,
"totalReferences": -88829891.70494722,
"references": {
"type": "command-template",
"_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
"name": "eu quis",
"referencePaths": [
"est irure",
"in",
"in"
]
}
},
{
"target": {
"identifer": "940a1b4f-399a-44df-a42e-d37da51c7637",
"type": "command-template"
},
"totalReferencingInstances": 40192609.20677,
"totalReferences": 56506058.94111225,
"references": {
"type": "form",
"_id": "5eb596edf955d0e5288f84ef",
"name": "amet velit in",
"referencePaths": [
"eu aute nostrud cupidatat labore",
"amet",
"irure commodo veniam incididunt",
"Duis et"
]
}
},
{
"target": {
"identifer": "940a1b4f-399a-44df-a42e-d37da51c7637",
"type": "json-form"
},
"totalReferencingInstances": -59427275.15749238,
"totalReferences": -56295033.36320805,
"references": {
"type": "analytic-template",
"_id": "5eb596edf955d0e5288f84ef",
"name": "eu et irure consectetur do",
"referencePaths": [
"est dolore esse in minim"
]
}
}
]
}
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"
}
}
}
}
}
}
}
}
}