Related queries and mutations in Catalog and lineage. Each has its own section.
Queries
getCustomUsers (query)
getCustomUsers 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.
Get all unified users
Arguments
| Argument | Type | Description |
|---|---|---|
customUserId | String | |
offset | Int | |
before | String | |
after | String | |
first | Int | |
last | Int |
Returns
Example
query GetCustomUsers {
getCustomUsers {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Related types
getUnifiedUserAssignments (query)
getUnifiedUserAssignments 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.
Get all unified user assignments
Arguments
| Argument | Type | Description |
|---|---|---|
unifiedUserId | String | |
objectMcon | String | |
offset | Int | |
before | String | |
after | String | |
first | Int | |
last | Int |
Returns
UnifiedUserAssignmentConnection
Example
query GetUnifiedUserAssignments {
getUnifiedUserAssignments {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Related types
UnifiedUserAssignmentConnection
getUnifiedUsers (query)
getUnifiedUsers 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.
Get all unified users
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | String | |
displayNameSearch | String | |
offset | Int | |
before | String | |
after | String | |
first | Int | |
last | Int |
Returns
Example
query GetUnifiedUsers {
getUnifiedUsers {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}Related types
Mutations
createCustomUser (mutation)
createCustomUser 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.
Create a CustomUser
Arguments
| Argument | Type | Description |
|---|---|---|
email | String! | |
firstName | String | First name |
lastName | String | Last name |
Returns
CreateCustomUser
Example
mutation CreateCustomUser($email: String!) {
createCustomUser(email: $email) {
customUser {
uuid
accountId
email
firstName
lastName
createdTime
lastUpdateTime
isDeleted
id
}
}
}Types used only by createCustomUser
createCustomUserCreateCustomUser
CreateCustomUserObject type. Create a CustomUser
| Field | Type | Description |
|---|---|---|
customUser | CustomUser |
Related types
createUnifiedUserAssignment (mutation)
createUnifiedUserAssignment 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.
Associate a UnifiedUser with a CatalogObject
Arguments
| Argument | Type | Description |
|---|---|---|
objectMcon | String! | MCON of catalog object |
relationshipType | RelationshipType! | Type of relationship |
unifiedUserId | String! | UUID of UnifiedUser |
Returns
CreateUnifiedUserAssignment
Example
mutation CreateUnifiedUserAssignment($objectMcon: String!, $relationshipType: RelationshipType!, $unifiedUserId: String!) {
createUnifiedUserAssignment(objectMcon: $objectMcon, relationshipType: $relationshipType, unifiedUserId: $unifiedUserId) {
unifiedUserAssignment {
id
accountId
relationshipType
createdTime
isDeleted
objectMcon
}
}
}Types used only by createUnifiedUserAssignment
createUnifiedUserAssignmentCreateUnifiedUserAssignment
CreateUnifiedUserAssignmentObject type. Associate a UnifiedUser with a CatalogObject
| Field | Type | Description |
|---|---|---|
unifiedUserAssignment | UnifiedUserAssignment |
RelationshipType
RelationshipTypeEnum type.
| Value | Description |
|---|---|
OWNER | |
EXPERT |
Related types
deleteUnifiedUserAssignment (mutation)
deleteUnifiedUserAssignment 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.
Associate a UnifiedUser with a CatalogObject
Arguments
| Argument | Type | Description |
|---|---|---|
objectMcon | String! | MCON of catalog object |
unifiedUserId | String! | UUID of UnifiedUser |
Returns
DeleteUnifiedUserAssignment
Example
mutation DeleteUnifiedUserAssignment($objectMcon: String!, $unifiedUserId: String!) {
deleteUnifiedUserAssignment(objectMcon: $objectMcon, unifiedUserId: $unifiedUserId) {
success
}
}Types used only by deleteUnifiedUserAssignment
deleteUnifiedUserAssignmentDeleteUnifiedUserAssignment
DeleteUnifiedUserAssignmentObject type. Associate a UnifiedUser with a CatalogObject
| Field | Type | Description |
|---|---|---|
success | Boolean |
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
