Get a list of report providers - OsiriX-Foundation/KheopsAuthorization GitHub Wiki
Used to get a list of report providers for a given album
URL : /albums/{album_id}/reportproviders
Method : GET
Auth Required : Authorization with a JWT Bearer token with the user as the sub claim.
Headers
Accept
: If present, require that this value beapplication/json
URL Parameters
limit={limit}
(Optionnal)offset={offset}
(Optionnal)
Success Response
Header X-Total-Count
contains the total number of report providers
[
{
"name": "a name",
"url": "http://myreportprovider/.well-known/kheops-report-configuration",
"client_id": "q9ZTMv3fW7ta0Npg1caGMF",
"user": {
"email": "[email protected]",
"sub": "c2fd0b66-dac4-4b98-9341-d4f3b303bd4e"
},
"created_time": "2019-05-10T08:20:23.038"
},
{...}
]
report provider
are sorted by creation date from most recent to oldest.
Error Response
If the user is not found If the album is not found
- Status :
404 Not Found