Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History
DescriptionGet a list of past measures

URL

/api/timemachine

MethodGET

Security

Requires User role on the project

Examples

  1. Get past measures (since Januray 1st, 2012) on metrics lines of code and code coverage on project Sonar (key = org.codehaus.sonar:sonar):

Parameters

Parameter

Description

Required

Default Value

Value

resource

id or key of the resource

Yes

None

org.codehaus.sonar:sonar

metrics

Comma-separated list of metric keys/ids

Yes

None

coverage,violations_density

fromDateTime

ISO-8601 datetime (inclusive)

No

None

2010-12-25T23:59:59+0100

toDateTime

ISO-8601 datetime (inclusive)

No

None

2010-12-25T23:59:59+0100

formatResponse formats: json or csvNojson 
Labels
  • None