This API uses OAuth 2 with the implicit grant flow
The unique id of the client making this request
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
3 - 128
"example_id"
An ID of a workspace, branch or commit.
3 - 128
"example_id"
A path to a file inside the repository.
"/path/to/file"
An optional storage type for async upload.
1
, 2
An optional storage uri to be sent along storage_backend.
"repo_id/2aae6c35c94fcfb415dbe95f408b9ce91ee846ed"
The file mode (as Unix mode)
16877
, 33188
, 33261
, 40960
The file's modification time in seconds since epoch
Blob size in bytes
A sha1 hexdigest
Blob binary contents, if the file is a blob and if alternative storage solution was not used.
The body is of type file
.
File created or updated