discourse/spec/requests/api/schemas/json/upload_create_multipart_res...

26 lines
963 B
JSON

{
"additionalProperties": false,
"properties": {
"key": {
"type": "string",
"description": "The path of the temporary file on the external storage service.",
"example": "temp/site/uploads/default/12345/67890.jpg"
},
"external_upload_identifier": {
"type": "string",
"description": "The identifier of the multipart upload in the external storage provider. This is the multipart upload_id in AWS S3.",
"example": "84x83tmxy398t3y._Q_z8CoJYVr69bE6D7f8J6Oo0434QquLFoYdGVerWFx9X5HDEI_TP_95c34n853495x35345394.d.ghQ"
},
"unique_identifier": {
"type": "string",
"description": "A unique string that identifies the external upload. This must be stored and then sent in the /complete-multipart and /batch-presign-multipart-parts endpoints.",
"example": "66e86218-80d9-4bda-b4d5-2b6def968705"
}
},
"required": [
"external_upload_identifier",
"key",
"unique_identifier"
]
}