me

Upload a snapshot of the file

Changed on
patch/me/files/{fileName}

Request

  • Base URL
    https://api.example.com/v1
  • URL
    https://api.example.com/v1/me/files/{fileName}
  • Auth
    HTTP bearer

Path parameters

fileNamestring required

Request body

contentstring required

Response

Snapshot uploaded successfully

result'newly_saved' | 'already_saved' required

Changes

    • warning

      changed the pattern of the path request parameter fileName from /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i

    • info

      the / response's property pattern was changed from /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|[-_](?=[a-z\d])){0,38}$/i for the status

    • info

      the / response's property pattern was changed from /^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i for the status

    • info

      the / response's property pattern was changed from /^[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}$/i to /^[a-z\d](?:[a-z\d]|-_(?=[a-z\d])){0,38}$/i for the status