Open
Description
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.
Activity