Versions Compared

Key

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

...

Parameter

Description

Required

Default ValueExample Value

resource

id or key of the resourcefile

Yes

Noneorg.codehaus.sonar:sonar

from

First line to display

No

None10

to

Last line to display (inclusive)

No

None20

color

Highlights code syntax if true.
Possible values: true | false 

No

falsetrue
format

Response format can be set through:

  • Parameter format: xml | json | txt
  • Or the 'Accept' property in the HTTP header:
    • Accept:text/xml
    • Accept:application/json
If nothing is set, json is used.
NoNonejson