Skip to navigation

Get Library Import Status

Get the status of the site’s latest library import: pending, finished, or failed with an error message.

A finished import lists, in request order, each library ID with the ID of the site’s copy. Use localComponentId to insert the component on a page.

Returns 404 when the site has no import. Statuses expire after 24 hours.

Requires permission to add library components or manage libraries on the site.

Required scope | libraries:read or libraries:write

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site

Response

Request was successful
statusenum
Allowed values:
resultobjectOptional

Returned only when status is finished.

errorobjectOptional

Returned only when status is failed.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error