On-Time Completion Rate of Query Requirements
Function
On-Time Completion Rate of Query Requirements
URI
POST /v1/{project_id}/completion-rate/query
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the 32-bit ID of the devcloud project. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the user token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
date_range |
No |
String |
Frequency |
metric_type |
No |
String |
Type |
sprint_id |
No |
String |
Iteration ID |
dividend |
No |
dividend object |
Counter Numerator Filter Criteria |
divisor |
No |
Object |
Indicator Denominator Filter Criteria |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
on_time |
No |
String |
On Time or Not |
custom_field16 |
No |
String |
Custom Parameter |
custom_field17 |
No |
String |
Custom Parameter |
custom_field18 |
No |
String |
Custom Parameter |
custom_field19 |
No |
String |
Custom Parameter |
custom_field20 |
No |
String |
Custom Parameter |
custom_field21 |
No |
String |
Custom Parameter |
custom_field22 |
No |
String |
Custom Parameter |
custom_field23 |
No |
String |
Custom Parameter |
custom_field24 |
No |
String |
Custom Field |
custom_field25 |
No |
String |
Custom Parameter |
custom_field26 |
No |
String |
Custom Field |
custom_field27 |
No |
String |
Custom Parameter |
custom_field28 |
No |
String |
Custom Parameter |
custom_field29 |
No |
String |
Custom Parameter |
custom_field30 |
No |
String |
Custom Parameter |
custom_field31 |
No |
String |
Custom Parameter |
custom_field32 |
No |
String |
Custom Parameter |
custom_field33 |
No |
String |
Custom Field |
custom_field34 |
No |
String |
Custom Parameter |
custom_field35 |
No |
String |
Custom Parameter |
custom_field36 |
No |
String |
Custom Field |
custom_field37 |
No |
String |
Custom Parameter |
custom_field38 |
No |
String |
Custom Parameter |
custom_field39 |
No |
String |
Custom Field |
custom_field40 |
No |
String |
Custom Parameter |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
dividend_value |
String |
Numerator Value |
divisor_value |
String |
Denominator |
metric_name |
String |
Name |
metric_value |
String |
Indicator Value |
project_id |
String |
Project ID |
project_name |
String |
Project |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
Description |
error_code |
String |
Error Codes |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
Description |
error_code |
String |
Error Codes |
Example Requests
Post https://{endpoint}/v1/eace9c0a00574de6878ab580daa9a317/completion-rate/query { "date_range" : "1598457600000,1598544000000", "dividend" : { "custom_field16" : "Indicates the customized field value.", "on_time" : "ontime" }, "divisor" : { }, "metric_type" : "on-time_completion_rate", "sprint_id" : "8883443" }
Example Responses
Status code: 200
OK
{ "dividend_value" : 15, "divisor_value" : 20, "metric_name" : "completion_rate|bug_density|bugs_per_developer", "metric_value" : 0.8945, "project_id" : "eace9c0a00574de6878ab580daa9a317", "project_name" : "" }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
401 |
Unauthorized |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot