Publish document snapshot
POST/api/collections/:collectionIdOrPersonalIdentityName/documents/:documentId/snapshots/:snapshotId/publish
Publish the specific snapshot of the document based on its id or collection name
, document id
, and snapshot id
. You need to be a Contributor
to call this api.
Request
Path Parameters
Responses
- 200
- 400
- 401
- 500
Success
Bad Request
- application/json;odata.metadata=minimal;odata.streaming=true
- application/json;odata.metadata=minimal;odata.streaming=false
- application/json;odata.metadata=minimal
- application/json;odata.metadata=full;odata.streaming=true
- application/json;odata.metadata=full;odata.streaming=false
- application/json;odata.metadata=full
- application/json;odata.metadata=none;odata.streaming=true
- application/json;odata.metadata=none;odata.streaming=false
- application/json;odata.metadata=none
- application/json;odata.streaming=true
- application/json;odata.streaming=false
- application/json
- application/xml
- text/plain
- application/octet-stream
- text/json
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
<error>string</error>
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
Unauthorized
- application/json;odata.metadata=minimal;odata.streaming=true
- application/json;odata.metadata=minimal;odata.streaming=false
- application/json;odata.metadata=minimal
- application/json;odata.metadata=full;odata.streaming=true
- application/json;odata.metadata=full;odata.streaming=false
- application/json;odata.metadata=full
- application/json;odata.metadata=none;odata.streaming=true
- application/json;odata.metadata=none;odata.streaming=false
- application/json;odata.metadata=none
- application/json;odata.streaming=true
- application/json;odata.streaming=false
- application/json
- application/xml
- text/plain
- application/octet-stream
- text/json
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
<error>string</error>
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
Server Error
- application/json;odata.metadata=minimal;odata.streaming=true
- application/json;odata.metadata=minimal;odata.streaming=false
- application/json;odata.metadata=minimal
- application/json;odata.metadata=full;odata.streaming=true
- application/json;odata.metadata=full;odata.streaming=false
- application/json;odata.metadata=full
- application/json;odata.metadata=none;odata.streaming=true
- application/json;odata.metadata=none;odata.streaming=false
- application/json;odata.metadata=none
- application/json;odata.streaming=true
- application/json;odata.streaming=false
- application/json
- application/xml
- text/plain
- application/octet-stream
- text/json
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
<error>string</error>
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}