Related queries and mutations in Catalog and lineage. Each has its own section.
Queries
getAssignedAssets (query)
getAssignedAssets is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get assigned assets for a monitor
Arguments
| Argument | Type | Description |
|---|---|---|
monitorUuid | UUID! | UUID of the monitor |
Returns
Example
query GetAssignedAssets($monitorUuid: UUID!) {
getAssignedAssets(monitorUuid: $monitorUuid) {
monitorUuid
tableMcon
status
}
}Related types
Mutations
updateAssignedAssets (mutation)
updateAssignedAssets is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update asset assignment for a monitor
Arguments
| Argument | Type | Description |
|---|---|---|
monitorUuid | UUID! | UUID of the monitor |
operation | AssignedAssetOperationEnum! | ADD to include table in monitoring, REMOVE to exclude it |
tableMcon | String! | MCON of the table |
Returns
UpdateAssignedAssets
Example
mutation UpdateAssignedAssets($monitorUuid: UUID!, $operation: AssignedAssetOperationEnum!, $tableMcon: String!) {
updateAssignedAssets(monitorUuid: $monitorUuid, operation: $operation, tableMcon: $tableMcon) {
assignment {
monitorUuid
tableMcon
status
}
}
}Types used only by updateAssignedAssets
updateAssignedAssetsAssignedAssetOperationEnum
AssignedAssetOperationEnumEnum type.
| Value | Description |
|---|---|
ADD | |
REMOVE |
UpdateAssignedAssets
UpdateAssignedAssetsObject type. Update asset assignment for a monitor (add or remove a table)
| Field | Type | Description |
|---|---|---|
assignment | AssignedAssetOutput | (experimental) The updated assignment |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
