Institution

Get the current user's own institution

Changed on

Returns the institution the currently authenticated user belongs to.

get/admin-api/v1/institution/self

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/admin-api/v1/institution/self
  • Auth: oauth (defined in the document in a form this page cannot read)

Response

The current user's institution.

idinteger

Institution identifier. Omit for creation; assigned by the server.

namestring required

Institution name.

logoImagestring

Base64-encoded institution logo image.

themeNamestring

Name of the visual theme applied for this institution.

activeboolean

Whether the institution is active.

Example response

{
  "name": "ETH Zurich",
  "active": true
}

Changes

    • warning

      removed the optional property from the response with the status

    • breaking

      removed the media type */* for the response with the status

    • info

      api operation id getOwn removed and replaced with getInstitutionSelf

    • info

      api tag Institution added

    • info

      api tag institution-controller removed

    • info

      added the media type application/json for the response with the status