Add dataset
POST/api/management/dataset
Add a new dataset.
Request
- application/json
Bodyrequired
stringstring
Responses
- 200
- 403
Forbidden
- application/json
- Schema
- Example (auto)
Schema
namestringrequired
Example:
ResourceNotFound
statusstringrequired
Example:
404 Not Found
codenumberrequired
Example:
404
messageobject
Example:
The requested resource does not exist.
errorstring
Example:
Not Found
{
"name": "ResourceNotFound",
"status": "404 Not Found",
"code": 404,
"message": "The requested resource does not exist.",
"error": "Not Found"
}
Authorization: oauth2
name: oauth2type: oauth2scopes:controlplane_dataplane
flows: { "password": { "scopes": { "analyticsdataplane_admin": "analyticsdataplane_admin", "analyticsdataplane_dataplane": "analyticsdataplane_dataplane" } } }
- curl
- http
- CURL
curl -L 'https://tsg.dataspac.es/api/management/dataset' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '"string"'