Experimental
Schema
FilesWriteFileRequest
Type:
object
WriteFileRequest replaces one file.
data
Type:
string
data is the complete new content; empty writes an empty file.
All schema constraints and annotations
{
"description": "data is the complete new content; empty writes an empty file.",
"format": "byte",
"type": "string"
}header
· required
Schema:
FileHeader
header names the path and mode, as an Upload header does.
All schema constraints and annotations
{
"$ref": "#/components/schemas/FileHeader",
"description": "header names the path and mode, as an Upload header does."
}All schema constraints and annotations
{
"additionalProperties": false,
"description": "WriteFileRequest replaces one file.",
"properties": {
"data": {
"description": "data is the complete new content; empty writes an empty file.",
"format": "byte",
"type": "string"
},
"header": {
"$ref": "#/components/schemas/FileHeader",
"description": "header names the path and mode, as an Upload header does."
}
},
"required": [
"header"
],
"title": "WriteFileRequest",
"type": "object"
}