iglu icon indicating copy to clipboard operation
iglu copied to clipboard

Change endpoint from /api/auth/keygen to /api/apikeys/keygen

Open BenFradet opened this issue 10 years ago • 3 comments

As a spin off of #60, it'd be nice to change the API key generation service endpoint from:

/api/auth/keygen

to:

/api/apikeys/keygen

In order to be more consistent with the existing schema service endpoint:

/api/schemas

BenFradet avatar Aug 22 '14 09:08 BenFradet

As in, schemas and apikeys are both concrete nouns whereas 'auth' is a more amorphic concept?

alexanderdean avatar Aug 22 '14 10:08 alexanderdean

Yes and the fact that the auth endpoint doesn't really perform authentication but only key administration (generation, deletion, and soon retrieval with #60).

BenFradet avatar Aug 22 '14 10:08 BenFradet

Good call

alexanderdean avatar Aug 22 '14 10:08 alexanderdean