Bandum API (runs on your machine): account
This page is generated from
openapi.yamlbynpm run gen, so do not edit it by hand. Authentication is described on the overview page.
/v1/meCurrent user
Responses
| Code | Description | Type |
|---|---|---|
| 200 | User | application/json · object |
| 401 | Not signed in | application/problem+json · object |
Example response
json
{
"mode": "local",
"login": "string",
"name": "string",
"avatarUrl": "string",
"via": "session",
"canReview": false
}Call with curl
bash
curl "http://localhost:8070/v1/me" \
-H "Authorization: Bearer $BANDUM_LOCAL_KEY"