Mutation
mutation SetDerivedDataEntryLocked($collectionId: ID!, $entryId: ID!, $locked: Boolean!) {
setDerivedDataEntryLocked(collectionId: $collectionId, entryId: $entryId, locked: $locked) {
id
status
createdAt
deadlineAt
finishedAt
progress {
eligibleCount
finishedCount
successfulCount
agents {
agent {
__typename
}
status
jobId
error
warnings
}
}
}
}Variables
{
"collectionId": "id",
"entryId": "id",
"locked": true
}Response
{
"data": {
"setDerivedDataEntryLocked": {
"id": "id",
"status": "COLLECTING",
"createdAt": "string",
"deadlineAt": "string",
"finishedAt": "string",
"progress": {
"eligibleCount": 1,
"finishedCount": 1,
"successfulCount": 1,
"agents": [
{
"agent": {
"__typename": "Agent"
},
"status": "QUEUING",
"jobId": "id",
"error": "string",
"warnings": [
"string"
]
}
]
}
}
}
}Mutations
setDerivedDataEntryLocked
Sets whether derived data entry is locked and returns the updated derived data collection.
MUTATION
setDerivedDataEntryLocked(collectionId: ID!, entryId: ID!, locked: Boolean!): DerivedDataCollection!Arguments
collectionId
ID!
required
Identifier of the collection.
entryId
ID!
required
Identifier of the entry.
locked
Boolean!
required
Whether locked applies to the operation.
Returns
id
ID!
Stable identifier for this derived data collection.
status
Current status of this derived data collection.
createdAt
String!
ISO 8601 timestamp when this derived data collection was created.
deadlineAt
String!
ISO 8601 timestamp when this derived data collection deadline.
finishedAt
String
ISO 8601 timestamp when this derived data collection finished. May be null when unavailable or not applicable.
progress
The progress associated with this derived data collection.
entries
[DerivedDataEntry!]!
Entries associated with this derived data collection.
Mutation
mutation SetDerivedDataEntryLocked($collectionId: ID!, $entryId: ID!, $locked: Boolean!) {
setDerivedDataEntryLocked(collectionId: $collectionId, entryId: $entryId, locked: $locked) {
id
status
createdAt
deadlineAt
finishedAt
progress {
eligibleCount
finishedCount
successfulCount
agents {
agent {
__typename
}
status
jobId
error
warnings
}
}
}
}Variables
{
"collectionId": "id",
"entryId": "id",
"locked": true
}Response
{
"data": {
"setDerivedDataEntryLocked": {
"id": "id",
"status": "COLLECTING",
"createdAt": "string",
"deadlineAt": "string",
"finishedAt": "string",
"progress": {
"eligibleCount": 1,
"finishedCount": 1,
"successfulCount": 1,
"agents": [
{
"agent": {
"__typename": "Agent"
},
"status": "QUEUING",
"jobId": "id",
"error": "string",
"warnings": [
"string"
]
}
]
}
}
}
}