hosting

GET /v1/sites/{siteId}/wordpress/uploads/{uploadId}

Read a resumable upload — its progress and which parts have arrived.

All hosting endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/wordpress/uploads/{uploadId} \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

While the upload is open, received_parts lists every part already stored with the right length, read from storage itself; a resuming client sends the rest. After complete the status moves to assembling and then installed or failed (with a message for the customer). An upload is bound to the site it was started on: any other site, or another organisation, gets 404. Requires sites.view and sites.panel_access.

Parameters

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).
uploadId (path)stringYesA resumable upload's id, from startSiteWordPressUpload.

Response

NameTypeRequiredWhat it is
idstringYes—
kindstring<plugin, theme>Yes—
statusstring<open, assembling, installed, failed>Yes—
sizeintegerYes—
part_sizeintegerYesBytes per part, chosen by the platform. Every part but the last is exactly this long.
part_countintegerYes—
file_namestringYes—
activatebooleanYes—
messagestringYesOn failed, what went wrong, written for the customer. Empty otherwise.
expires_atstringYes—
created_atstringYes—
finished_atstringYes—
received_partsinteger[]NoPresent while open — the part numbers already stored.

Errors this endpoint can return

401 · 403 · 404 · 429