Import Summaries
An Import Summary describes the status of an Import Container by the number of resources in each Processing State. It can be used to monitor the progress of import per Import Container.
To monitor the status of an Import Container more in detail, use Query ImportOperation. To monitor the status of individual resource, use Get ImportOperation.
Representations
ImportSummary
Describes the status of an ImportContainer by the number of resources in each Processing State. Can be used to monitor the import progress per Import Container.
states | The import status of an ImportContainer given by the number of resources in each Processing State. |
totalInt | The total number of ImportOperations received for this Import Summary. |
OperationStates
processingInt | The number of resources in the |
validationFailedInt | The number of resources in the |
unresolvedInt | The number of resources in the |
waitForMasterVariantInt | The number of resources in the |
importedInt | The number of resources in the |
rejectedInt | The number of resources in the |
Get ImportSummary
Retrieves an ImportSummary for the given import container. An ImportSummary is calculated on demand.
manage_import_containers:{projectKey}, view_import_containers:{projectKey}regionString | The Region in which the Project is hosted. |
projectKeyString | The commercetools Project key. |
importContainerKeyString | The key of the import container. |
curl -X GET https://import.{region}.commercetools.com/{projectKey}/import-containers/{importContainerKey}/import-summaries -i \--header 'Authorization: Bearer ${BEARER_TOKEN}'