Skip to main content
GET
Get a card export

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Path Parameters

cardId
string
required

Raw id of the card definition (e.g. products).

exportId
string<uuid>
required

Id of the export (a UUID), as POST /v1/card-definitions/{cardId}/exports returned it.

Response

OK

An export of the entries of a card definition to a file. Read it until status is final.

id
string<uuid>
required

Id of the export (a UUID). Use with /v1/card-definitions/{cardId}/exports/{exportId}.

status
enum<string>
required

Where the export is. See CardExportStatus.

Available options:
Pending,
InProgress,
Completed,
Failed,
Cancelled
progress
required

Share of entries written, 0 to 100 (percent). Null while the entry count is unknown.

totalEntries
required

Entries the export matches.

processedEntries
required

Entries written to the file so far.

createdAt
string<date-time>
required

When the export was started (UTC).

updatedAt
string<date-time>
required

When the export last changed (UTC).

expiresAt
string<date-time>
required

When the export and its file stop being kept (UTC).

file
null | object
required

The file, once it is ready to download. Null until then, and null after expiresAt.