Retrieves the information for a single export using its exportId
.
Important: Although this method has not been officially deprecated yet, get-exports
is the recommended method to obtain the list of exports and access to the tiles.
We strongly recommend discontinuing the use of get-export
, as we will remove it during the transition from Tech Preview to General Availability.
Authentication
Requires Authorization
header with valid Bearer token for scope itwin-platform
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Request parameters
Export Id to get the results
Optional cdn query parameter. Will return cdn based urls if set to 1.
Request headers
OAuth access token with itwin-platform
scope
Setting to application/vnd.bentley.itwin-platform.v1+json
is recommended.
Response 200 OK
Specified export
{ "export": { "id": "fc3aa1e5-5196-4dd9-a73e-4cfda693e576", "displayName": "My previous iModel", "status": "Complete", "lastModified": "2024-08-22T03:18:43Z", "request": { "iModelId": "b80f4fc2-4dbb-42c5-bb1f-f5aace3977dc", "changesetId": "ed94ed9a0704918d36eeb620219f5e17d8858858", "exportType": "3DTiles", "lastModified": "2024-08-22T03:18:43Z" }, "_links": { "mesh": { "href": "https://example.cloudfront.net/{bucket}?parameters" } } } }
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 404 Not Found
Requested export is not available.
{ "error": { "code": "ExportNotFound", "message": "Requested export is not available." } }
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.
Link
Http reference
ExportResponse
ExportStatus
Status of the export.
ExportStatsDisplay
Statistics of the export job. This obsoletes the Consumption type.
Size of the iModel .bin file, in bytes
Size of the exported and compressed tiles, in bytes.
Size of the exported tiles, in bytes.
Starting date of the export job, pretty-printed.
Duration of the export job, in milliseconds.
Export
ID of the export request.
Name of the exported iModel
Date when job metadata was last modified
Error message for Invalid exports.
StartExport exportType
Type of mesh to create, Accepted value are 3DFT, CESIUM, IMODEL and 3DTiles
StartExport
ID of the iModel to extract from.
ID of the changeset to extract from. If omitted, export latest.
Type of mesh to create, Accepted value are 3DFT, CESIUM, IMODEL and 3DTiles
Date when job metadata was last modified
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.
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.
Was this page helpful?