Closed nbiton closed 5 years ago
The example request relevant to the new endpoint is named "Get accessible units' meta data for a given user with api key" on our Postman account
The new attribute returned from the "CREATE_USER" internal API is named mefeApiKey
. It is a 24-character long string.
Functional changes
GET /api/units
has been made available. It expectsapiKey
as a query param. It checks if the apiKey is valid, associated with a user and not revoked, before returning a JSON array of object of the following form:This PR should resolve #773