Create or update an artifact
POSThttps://platform.docana.com/api/v1/artifacts/
When artifact.id matches an existing artifact it is updated (as a draft when draft is true), honouring an optional If-Match version precondition; otherwise a new artifact is created in the application collection.
Request
Responses
- 200
- 400
- 401
- 403
- 412
- 500
The saved artifact (the ETag header carries the version on updates)
Invalid body
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Version conflict: the If-Match precondition failed
Unexpected server error.