Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cog API audit #1342

Open
mpeck opened this issue Feb 3, 2017 · 0 comments
Open

Cog API audit #1342

mpeck opened this issue Feb 3, 2017 · 0 comments

Comments

@mpeck
Copy link
Contributor

mpeck commented Feb 3, 2017

There are a few inconsistencies with Cog's api. For example, when returning an error, some resources return json with an errors key and a list of errors, some return an error key and a single error, and yet others return an errors key with a single error. We also have endpoint that return data inconsistently: POST /v1/groups/<id>/users returns a group, POST /v1/groups/<id>/roles returns the list of roles.

We need to do an audit to clean up the api and discuss potential improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant