contents
Create a new checkpoint for a file
Changed onCreate a new checkpoint with the current state of a file. With the default FileContentsManager, only one checkpoint is supported, so creating new checkpoints clobbers existing ones.
post/api/contents/{path}/checkpoints
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Path parameters
path, string required
file path
Response
Checkpoint created
Checkpoints required
A checkpoint object.
id, string required
Unique id for the checkpoint.
last_modified, string dateTime required
Last modified timestamp
Changes
- breaking
added the new path request parameter
path - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking