Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DescriptionGet a list of manual measures

URL

/api/manual_measures

HTTP MethodGET
Response Formatsjson

Security

Requires User role Browse permission on the project

Examples

Use CaseExample Request
Get all the manual measures on project 'myProject'

GET http://localhost:9000/api/manual_measures?resource=myProject&format=json

Get the manual measure on metric 'business_value' on project 'myProject'

GET http://localhost:9000/api/manual_measures?resource=myProject&metric=business_value&format=json

...

DescriptionCreate a manual measure

URL

/api/manual_measures

HTTP MethodPOST
Security

Requires Project Administrator role Administer permission on the project

Examples

Use CaseExample Request
Create a manual measure on project 'myProject' being logged in as user 'admin/admin':
  • Manual metric: business_value
  • Value: 5000

  • Description: myDescription

curl -u admin:admin -d "resource=myProject&metric=business_value&val=5000&desc=myDescription" http://localhost:9000/api/manual_measures

...

DescriptionDelete a manual measure

URL

/api/manual_measures

HTTP MethodDELETE
Security

Requires Project Administrator role Administer permission on the project

Examples

Use CaseExample Request
Delete manual measure 'business_value' on project 'myProject'

curl -u admin:admin -X DELETE "http://localhost:9000/api/manual_measures?resource=myProject&metric=business_value"

...