Minerva API v2

Printer-friendly version

This is the basic developer documentation for the Minerva API v2. This API has very limited functionality and uses the UGent OAuth2 infrastructure. For access to this API please send your motivated request to minerva@ugent.be

Request uri(s):

GET /notification_count
Requires a valid access token and a registration for following scope(s):
  • MINERVA_NOTIFICATION_COUNT

Output on success (response code 200)

{
  user: "ugentusername",
  count: 28
}

Output on error(s)

Invalid or missing access token (response code 403)
{
  error: "Not logged in"
}

 

Invalid or missing scope in client registration (response code 403)
{
  error: "Invalid scope"
}
GET /hello

Output on success (response code 200)

{
  hello: "World!"
}

General error(s)

Resource not found (response code 404)

{
  error: "Resource matching URI "/test" not found (404)"
}

 

Identity Provider exeception (response code 503)

{
  error: "<Error received from IDP>"
}

 

Any other error (response code 500)

{
  error: "<Error that was caught>"
}