-
Notifications
You must be signed in to change notification settings - Fork 73
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 anerror
key and a single error, and yet others return anerrors
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.
The text was updated successfully, but these errors were encountered: