Returns a list of all exports previously requested by the user that have not expired and their statuses.
Request parameters
Optional iModel Id query parameter. Will return all exports contained in the iModel as long as user has access to it.
Optional Changeset Id query parameter. Will return all exports that have the matching changeset Id.
The $top system query option requests the number of items in the queried collection to be included in the result.
The $skip query option requests the number of items in the queried collection that are to be skipped and not included in the result.
The $orderBy query parameter allows you to order by exports' last modified date. At the moment, only $orderBy=date:asc and $orderBy=date:desc is supported.
Optional cdn query parameter. Will return cdn based urls if set to 1.
Optional tileVersion query parameter. Will return all exports compatible with that tileVersion.
Optional exportType query parameter. Will return all exports that have the matching exportType.
Optional iTwinJS query parameter. Will return all exports compatible with that iTwinJS version.
Request headers
This operation supports return=representation and return=minimal preferences, defaults to return=minimal if not provided.
Prefix to add to list links.
OAuth access token with itwin-platform scope
Setting to application/vnd.bentley.itwin-platform.v1+json is recommended.
Response 200 OK
List of user requested exports.
{ "exports": [{ "id": "fc3aa1e5-5196-4dd9-a73e-4cfda693e576", "displayName": "My iModel", "status": "NotStarted", "lastModified": "2024-08-22T03:18:43Z" }, { "id": "57ea169d-144a-4219-b530-9ce360fd194f", "displayName": "My previous iModel", "status": "Complete", "lastModified": "2024-08-22T03:18:43Z" }, { "id": "4777e39e-03a7-48b1-a5c1-4018beaefb25", "displayName": "Invalid", "status": "Invalid", "lastModified": "2024-08-22T03:18:43Z" }], "_links": { "self": { "href": "https://api.bentley.com/mesh-export/?$top=100&$skip=0" }, "next": { "href": "https://api.bentley.com/mesh-export/?$top=100&$skip=100" } } }
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 422 Unprocessable Entity
Cannot retrieve export.
{ "error": { "code": "InvalidMeshExportRequest", "message": "Cannot retrieve export.", "details": [{ "code": "InvalidParameter", "message": "$top must be lower or equal to 1000.", "target": "$top" }, { "code": "InvalidParameter", "message": "iModelId is invalid.", "target": "iModelId" }, { "code": "InvalidParameter", "message": "changesetId is invalid.", "target": "changesetId" }] } }
Response 429 Too many requests
This response indicates that the client sent more requests than allowed by this API for the current tier of the client.
{ "error": { "code": "RateLimitExceeded", "message": "The client sent more requests than allowed by this API for the current tier of the client." } }
Response headers
Number of seconds to wait until client is allowed to make more requests.
ExportListResponse
Response containing a list of exports, either in full representation or minimal form depending on the prefer header.
Error
Contains error information.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
{ "required": [ "code", "message" ], "type": "object", "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "target": { "type": "string", "description": "The target of the error.", "nullable": true } }, "description": "Contains error information." }
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "title": "Error Response", "required": [ "error" ], "type": "object", "properties": { "error": { "$ref": "#/components/schemas/Error" } }, "additionalProperties": false, "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed." }
Was this page helpful?