Add basic API
Fizzy should have a simple API that's just authenticated by bearer tokens.
Thanks @dhh for getting this started! I had started working on making boards, users, and tags available via the API to display them in native menus, so this is great.
Mind if I add onto this PR? Internally, we still need index endpoints for /users.json and /tags.json. There currently isn't a top-level tags_controller, but I'm assuming that's ok to add to support apps fetching the list of tags?
Yes, please do add onto this! I've only just started filling out the basics of what we need. Would be great to drive things from what an actual app would want.
would love this!
I was looking for this as I want to import all of our current GitHub issues. A basic API is great, I just want to add our issues as cards.
@dhh I've added API support for users and tags. An additional thing we need is something like an /identity.json endpoint that provides the user and account(s) info, since switching between accounts will be done natively. Are you fine with a new identities_controller to get this data?
Think we need my/identity mapped to IdentitiesController and just flies off Current.identity 👍
I need the endpoint to not be account-slug scoped, since it'll be the stable endpoint to get all identity/account information post-authentication. Is <domain>/my/identity.json still your preference in that case?
Ah, I see. No, then it should probably just live straight on the root with /identity.
Would be great if you could close cards with the API (so we can do this from a GitHub action when we merge something).