core-api (0.2.0)

Download OpenAPI specification:

Pawnshop operations for staff.

system

Health and version, the same in every service

Liveness and database check

Responses

Response samples

Content type
application/json
{
  • "status": "ok",
  • "database": "up"
}

Code the running image was built from (read by the status page)

Responses

Response samples

Content type
application/json
{
  • "service": "platform-api",
  • "commit": "string",
  • "buildTime": "string",
  • "source": "pawnshop/pawnshopapp/platform-api"
}

users

The signed-in user

Who is signed in

Authorizations:
keycloak

Responses

Response samples

Content type
application/json
{
  • "subject": "string",
  • "username": "staff",
  • "realm": "demo",
  • "roles": [
    ]
}