Get file rdf metadata by Id (deprecated) Deprecated
GET /metadata-id/rdf/{id}
This enpoint is deprecated, please use this one.
This method returns the rdf metadata for specified file, directory or space by Id.
Example cURL requests
Get complete RDF metadata document for file
curl -H "X-Auth-Token: $TOKEN" -X GET \
https://$HOST/api/v3/oneprovider/metadata-id/rdf/$FILE_ID
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Id of the file. |
Request Examples
Shell
oneprovider-rest-cli getFileRdfMetadataById id=$FILE_IDResponses
application/json
200
Rdf metadata returned successfully.
No schema provided.
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."
}