-
Notifications
You must be signed in to change notification settings - Fork 9
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
Create API documentation #124
Comments
Do we know how we want this documentation to be accessed? Would it be deployed with the app? |
Co-authored-by: Phil Herbert <pherbert@thoughtworks.com> Co-authored-by: Marisa Hoenig <marisa.hoenig@thoughtworks.com>
… documentation Co-authored-by: Saman Moshafi <saman.moshafi@thoughtworks.com>
Co-authored-by: Marisa Hoenig <Marisa.Hoenig@thoughtworks.com>
Co-authored-by: Saman Moshafi <saman.moshafi@thoughtworks.com>
Co-authored-by: Saman Moshafi <saman.moshafi@thoughtworks.com>
Reviewed the users endpoints. Found the following issues:
|
Reviewed the services endpoints. Found the following issues:
|
* makes "active" property not required when creating organisation * adds documentation of errors when creating organisation * returns full organisation details when getting single organisation * adds documentation of 404 when getting single organisation
* "Organisation" to "OrganisationSummary" * "OrganisationResponse" to "OrganisationDetails"
…mail_address" is always required
…hat only affects query parameters
… requirement https://swagger.io/docs/specification/basic-structure/#responses "Note that the response HTTP status codes must be enclosed in quotes"
…allows for variable keys in an object the API returns keys that are service IDs, but this spec will currently match any string keys. openapi spec 3.1 will include "patternProperties", which will allow us to specify the format of keys see OAI/OpenAPI-Specification#687
* inbound_api and whitelist are both lists of ids
Reviewed template endpoints:
|
As a internal VA developer
I want to access API documentation for VANotify
to enable integration with VANotify
In scope:
Documentation for endpoints currently in postman collection including:
Organization:
User:
Service:
Template:
API Key:
Other:
send notification
get notification status
how JWT is generated
- we need to make sure there is a way for consumers to interact with the API without knowing the secret
Sync with team to consider if all endpoints listed above should be shared externally to other VA devs. "Process" chat seems to be needed.-> Discuss this during desk check.Notes:
Out of Scope:
The text was updated successfully, but these errors were encountered: