Create one or more domain data.
POST/api/v1/domains/:domainID/data
Create one or more domain data.
Content should be the actual data in binary, audio is not supported.
Content-Disposition parameter name should be longer than 0, shorter than 128 and unique in the domain, data-type should be longer than 0, shorter than 128.
To create multiple domain data, send each data item in a separate part of the multipart request.
Example:
--BOUNDARY
Content-Type: application/octet-stream
Content-Disposition: form-data; name="data name"; data-type="data type"
(Content of actual data)
--BOUNDARY—
Request
Responses
- 200
- 400
- 401
- 403
- 409
- 500
OK
Bad Request
Unauthorized
Forbidden
Conflict
Internal Server Error