Skip to content
Open the portal
Developer docs

Put Artifact

PUT
/v1/artifacts/{sha256}
curl --request PUT \
--url https://example.com/v1/artifacts/example

Store bytes whose SHA-256 must equal the path. Idempotent: a second upload is a no-op.

sha256
required
Sha256
string

Successful Response

Media typeapplication/json
Response Put Artifact V1 Artifacts Sha256 Put
object
key
additional properties
any
Examplegenerated
{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}