Cephfs

POST /api/cephfs/{fs_id}/snapshot

    Create a snapshot.
    :param fs_id: The filesystem identifier.
    :param path: The path of the directory.
    :param name: The name of the snapshot. If not specified, a name using the
    current time in RFC3339 UTC format will be generated.
    :return: The name of the snapshot.
    :rtype: str
    

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/cephfs/{fs_id}/snapshot
  • Auth
    HTTP bearer

Path parameters

fs_idstring required

Request body

namestring
pathstring required

Response

Resource created.

object required

Changes

No recorded changes to this operation across all 68 revisions of this API.