-
Notifications
You must be signed in to change notification settings - Fork 25
[DGR-2399] Update errors section #116
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
[DGR-2399] Update errors section #116
Conversation
- Simplify v1/v2 documentation to unified approach focusing on common patterns - Document real bulk operation differences between API versions - Update OpenAPI schemas to match current controller implementations - V1 bulk: all-or-nothing with ActiveRecord error arrays - V2 bulk: mixed results with structured errors and 207 Multi-Status Fixes documentation accuracy and reduces developer confusion.
Deploying accredible-api-documentation with
|
Latest commit: |
12be98b
|
Status: | ✅ Deploy successful! |
Preview URL: | https://2e20ca7d.accredible-api-documentation.pages.dev |
Branch Preview URL: | https://docs-dgr-2399-update-errors.accredible-api-documentation.pages.dev |
fb387e3
to
43633c1
Compare
43633c1
to
12be98b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandilya91 Our Public API Errors are not standardized. Were you able to verify that these structures are correct?
@abhisheksarka Yeah so went through this document https://accredible.atlassian.net/wiki/x/BYBY8g along with API responses from our accredible-credential-api repo. The context was one of the clients wanted more information on our errors so tried to provide example responses for each HTTP status code as possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
Updated the Public API documentation errors section to accurately reflect the current error response formats found in the codebase and in this documentation https://accredible.atlassian.net/wiki/x/BYBY8g
Current Errors page:
https://docs.api.accredible.com/#section/Errors
New Errors page:
https://2e20ca7d.accredible-api-documentation.pages.dev/#section/Errors
Ordered in ascending order of HTTP status code