Skip to content

Read the exact status of one upload attempt.

GET
/api/artifacts/publications/{id}/attempts/{attempt}
curl --request GET \
--url https://example.com/api/artifacts/publications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/attempts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'x-artifact-sha256: example'

Read the exact status of one upload attempt of a publication of the bound project: partial offset, stored receipt, terminal reason or unknown.

id
required
string format: uuid

Publication id

attempt
required
string format: uuid

Upload attempt id

x-artifact-sha256
required
string

Declared SHA-256

Exact attempt status

Media typeapplication/json
One of:
object
attempt_id
required
string format: uuid
offset
required
integer format: int64
project_id
required
string format: uuid
publication_id
required
string format: uuid
receipt_id
required
string format: uuid
sha256
required
string
state
required
string
Allowed values: partial

Example

{
"state": "partial"
}