Panels
A set of Endpoints to discover information about available Panels.
/api/panel/list
Returns a list of Panels, which are accessible for the given user.
Example
$ curl 'http://localhost:8080/api/panel/list' -i -X GET
HTTP/1.1 200 OK
X-Rate-Limit-Remaining: 15
Content-Type: application/json
Content-Length: 368
{
"responseHeader" : {
"httpStatus" : null,
"msg" : "",
"query" : "http://localhost:8080/api/panel/list",
"state" : "OK"
},
"content" : [ {
"name" : "intermediaries",
"description" : null,
"snapshotCount" : 1
} ],
"page" : {
"size" : 2000,
"number" : 0,
"totalElements" : 1,
"totalPages" : 1
},
"links" : { }
}
/api/panel/{name}/list
Returns the set of Snapshots included in the specified Panel.
|
Note
|
The list of returned Snapshots is secured and filtered with your access rules. |
| Parameter | Description |
|---|---|
|
Optional. The number of the requested page. |
|
Optional. The number of objects of the requested page. |
Example
$ curl 'http://localhost:8080/api/panel/intermediaries/list?page=0&size=1' -i -X GET
HTTP/1.1 200 OK
X-Rate-Limit-Remaining: 15
Content-Type: application/json
Content-Length: 428
{
"responseHeader" : {
"httpStatus" : null,
"msg" : "",
"query" : "http://localhost:8080/api/panel/intermediaries/list?page=0&size=1",
"state" : "OK"
},
"content" : [ {
"name" : "20121227_intermediaries",
"description" : null,
"indexed" : true,
"textExtracted" : true
} ],
"page" : {
"size" : 1,
"number" : 0,
"totalElements" : 1,
"totalPages" : 1
},
"links" : { }
}