-
Notifications
You must be signed in to change notification settings - Fork 333
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
[Meta] Create API reference templates #937
Comments
* Changes font size of <code> in a <term> to 16px. This ensures <code> text matches the size of other text in the <term>. * Removes the blue text color from <term>s in a definition list. Users sometimes mistake this formatting as a link. This bolds <term>s instead. Relates to #937.
Here's my order of preference:
I believe the The I don't feel strongly though. Any of these options are fine with me. |
Going to go ahead and close this. I feel that we've gotten good feedback and incorporated the template into most ongoing work. Feel free to re-open if wanted. |
In the future, all APIs deserve reference material. For customers to effectively use the APIs, they need reference material.
Choose a place for a API reference template to exist, ideally a public location (
Docs
repo,shared
folder)Choose best practices from existing or other content
Good API reference page has:
* Title
* Short description/Intro
* Endpoint/Request
* Description (more detailed)
* Endpoint/Request
* Path parameters
* Query parameters
* Request body
* Response body
Some APIs also require:
* Authorization/security details
* Definition lists
* Examples
* Default values
Draft template for API page
* Something that is useful, helpful to customers
* Can be generated using tools that we have
* Not too much glitter
Draft template for definition page
Tests:
The text was updated successfully, but these errors were encountered: