Viewing Resource Details

Use the GET method and a resource URI to request the resource's complete descriptor.

Method

URL

GET

http://<host>:<port>/jasperserver[-pro]/rest_v2/resources/path/to/resource

Parameter

Type/Value

Description

expanded

true|false

When true, all nested resources will be given as full descriptors. The default behavior, false, has all nested resources given as references. For more information, see Viewing Resource Details.

Options

accept: application/json (default)

accept: application/xml

accept: application/repository.folder+<format> (specifically to view the folder resource)

Return Value on Success

Typical Return Values on Failure

200 OK – The response will indicate the content-type and contain the corresponding descriptor, for example:

application/repository.dataType+json

404 Not Found – The specified resource is not found in the repository.

Feedback