storage

Save a personal UTF-8 file only if its content revision still matches

Changed on
put/storage/{storage_id}/text-files/{path}

Request

  • Base URL
    https://api.cloud.wherobots.com
  • URL
    https://api.cloud.wherobots.com/storage/{storage_id}/text-files/{path}
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

storage_idstring required
pathstring required

Request body

contentstring required

UTF-8 text: up to 25 MiB for .ipynb files, 1 MiB for other files

revisionstring nullable required

The revision from the last read or save. Null creates a file only if absent.

Response

Successful Response

revisionstring required

Changes

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • warning

      added the new SCRIPT_OWNER_MISMATCH enum value to the // response property for the response status

    • info

      the request property's maxLength was increased from 1048576 to 26214400

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status