Skip to content

GET requests for the API keygen service #60

Open
@BenFradet

Description

@BenFradet

It'd be cool to set up an endpoint where you could get the owner given an uuid or uuids given an owner like so:

/api/auth/apikeys/keys/some-uuid

You would get back:

{
  "vendorPrefix": "some.vendor.pref",
  "permission": "read/write"
}

And:

/api/auth/apikeys/vendorprefixes/some.vendor.prefix

To get back:

[
  {
    "some-uuid": {
      "permission": "read/write"
    }
  },
  //some other uuids
]

I'm also thinking of moving all API keys related route from:

/api/auth/keygen

To:

/api/apikeys/keygen
/api/apikeys

It would be more consistent with the /api/schemas endpoint.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions