{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
List
Returns a list of comparisons created by the user. The result can be requested in the format either HTML or JSON.
GET /api/comparison/list
Requests a list of the available comparisons.
REQUEST Parameter | Value | Description |
---|---|---|
format |
html | Defines the type of the response. |
json (Default) |
Example Request
# REQUEST # Use user:password for authorization GET /api/comparison/list HTTP/1.1 Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u # RESPONSE HTTP/1.1 200 OK Content-Type: application/json [ "8mzp5899ayao3f9tgvssh6byu", "49ihi0e2k6dtinf59w0wb2qky" ]
Application Example
# Browser access: use the following URL http://127.0.0.1:9900/api/comparison/list # Shell access using curl curl -Lsu <USERNAME>:<PASSWORD> 'http://127.0.0.1:9900/api/comparison/list'