Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Factrove API key, usually prefixed ftrv_. Send Authorization: Bearer <key>. Product routes do not accept x-api-key as a credential. A present Authorization header that is not a valid key does not fall back to the session cookie.

Path Parameters

id
string<uuid>
required

Artifact UUID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

multipart/form-data

One HTML file and an optional library name. Do not send accessType.

file
file
required

One non-empty .html or .htm file, at most 10 MiB. accessType is not accepted.

name
string

Library name. Normalized to NFC, then trimmed. One line of 1 to 120 Unicode code points. U+0000–U+001F, U+007F–U+009F, U+2028, and U+2029 are rejected before trimming, so a trailing break is not removed. An invalid value is 400 INVALID_REQUEST with message name must be one line of 1 to 120 characters.

Required string length: 1 - 120

Response

The same artifact id with the new size and upload time. The 200 shows the artifact's current state, which may already include a later replace.

artifact
object
required