Get QoS requirement
Returns detailed information about particular QoS requirement.
Example cURL requests
Get detailed information about QoS requirement
curl -H "X-Auth-Token: $TOKEN" \
-X GET "https://$HOST/api/v3/oneprovider/qos-requirements/$QOS_REQ_ID"
{
"qosRequirementId": "c84f669f9522c46976fee490d80651f0",
"fileId": "$FILE_ID",
"qosExpression": "country=FR",
"replicasNum": 2,
"status": "fulfilled"
}
Path parameters
| Parameter | Type & Description |
|---|---|
| qid required | string QoS requirement Id (e.g. 'c84f669f9522c46976fee490d80651f0') |
Request Examples
oneprovider-rest-cli getQosRequirement qid=$QOS_REQ_IDResponses
Information about QoS requirement.
Id of file that requirement was created for.
Expression used to select storages on which file should be replicated.
Number of required file replicas.
Indicates fulfillment status of QoS requirement.
Example
{
"qosRequirementId": "c84f669f9522c46976fee490d80651f0",
"fileId": "00000000005CF4706775696423745F772D67686431633765446F4D76546D6F2D67575F3361737A7670486B477A7936587734507265584A7723394A4F355F5F396E4C31623031594576776E667431723230677767776C6B497031394E445F6E3868677873",
"expression": "country=FR",
"replicasNum": 2,
"status": "fulfilled"
}Invalid request.
Identifier representing internal error code.
Detailed error message.
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}Forbidden request.
Identifier representing internal error code.
Detailed error message.
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}QoS requirement not found.
Identifier representing internal error code.
Detailed error message.
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}Internal server error.
Identifier representing internal error code.
Detailed error message.
Example
{
"error": "invalid_token",
"error_description": "Provided token could not be validated."
}