Subscriptions
elementGroupExtractionStatusByProject
Subscribe to element group extraction events by project.
Limitation: this subscription only emits a SUCCESS status. The event is raised from the revision event for a versioned snapshot, which is emitted only once extraction has succeeded. This subscription therefore never reports IN_PROGRESS, and a failed extraction produces no event at all.
The absence of an event is not by itself an error signal. If you expected an event for a file and did not receive one, use the elementGroupExtractionStatus query to check the actual status of that extraction. That query returns the full ExtractionStatus set, including IN_PROGRESS and FAILED.
Template for Subscription:
subscription SubscribeToElementGroupExtractionStatusByProject($input: ElementGroupExtractionByProjectInput!) {
elementGroupExtractionStatusByProject(input: $input) {
# ElementGroupExtractionStatusByProject Fields
}
}
Template for Subscription Variables:
{
"input": {
"accProjectId": "<SOME-ACC-PROJECT-ID>"
}
}
Arguments
| input* | Input object specifying the project to subscribe to. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
ElementGroupExtractionStatus! non-null |
Information about elementGroup extraction status. |