Remove file rdf metadata
DELETE /data/{id}/metadata/rdf
Removes rdf metadata from the file specified by $FILE_ID.
Example cURL requests
Removes file rdf metadata
curl -X DELETE -H "X-Auth-Token: $TOKEN" https://$HOST/api/v3/oneprovider/data/$FILE_ID/metadata/rdf
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Id of the file. |
Request Examples
Shell
oneprovider-rest-cli removeRdfMetadata id=$FILE_IDResponses
application/json
204
File rdf metadata has been removed.
400
Invalid request.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
application/json
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
} 403
Forbidden request.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
application/json
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
} 404
File not found.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
application/json
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
} 500
Internal server error.
| Property | Type & Description |
|---|---|
error string Identifier representing internal error code. | |
error_description string Detailed error message. | |
Example
application/json
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}