Add a document
post/workspace/library
Before you call
- Credential
Authorization: Bearer $KEY- Scope
content:write- Graphql
Mutation.contentLibraryUpload- Sdk
content.library.upload- Cli
content library upload
Request bodyapplication/json, required
- namestringrequiredAt most 300 characters.
- contentstringrequired
- contentTypestringAt most 200 characters.
- tagslist of string
Responses
- 201application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring