site) for this one subject, frommultipart/form-data body with a file field (a .zip)application/json body — see this document's top-levelname (or a multipart name field):400. A platform KEY may.Content-Length header — refused with 411 ifLengthRequired).403 if the subject is not in good standing (seeForbidden).curl --location 'https://upload.tf/api/v1/subjects/ext:end-user-42/sites' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"files": [
{
"path": "string",
"contentBase64": "string"
}
]
}'{
"success": true,
"data": {
"site": {
"id": "string",
"name": "string",
"url": "string",
"fileName": "string",
"kind": "site",
"sizeBytes": 0,
"fileCount": 0,
"createdAt": "2019-08-24T14:15:22.123Z",
"expiresAt": "2019-08-24T14:15:22.123Z",
"chatEnabled": true,
"subjectId": "68460e63-0717-47f9-8fd8-d28f152cb30b"
}
}
}