Skip to content

feat: scoped api with token authentication #88

Open
@ghost

Description

Hi,

I would like to have an easy, documented, scoped read-only (?) REST api to access using token authentication.

My primary usecase would be to display my current overtime credits in my statusbar.

So an endpoint like /user/credits with the token as request header and a response like:

[
  "user": {
       "peterm": {
          "credits": 100
        }
    },
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendThis issue or pull request is backend relatedfeatureThis issue or pull request discusses a feature

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions