-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add Api Version differences #2023
Conversation
Hi @mDuo13! There was a bunch of PR's that got merged (here, here and here regarding bugs/discrepancies for certain user input calls. In general, all the fix(new behavior) is set for api_version 2, while the old behavior is set for api_version 1. I was wondering how we should document this in the docs? Take a look at my changes as an example. (doubt it will actually be like this though) Thanks for the help 😄 |
For simplicity, I suggest just documenting the latest version (and putting There can be a small note to indicate that older API versions exist, perhaps with a link to https://github.com/XRPLF/rippled/blob/develop/API-CHANGELOG.md for those who want to read about those historical versions. |
"here" is not good anchor text. @thejohnfreeman or @mDuo13 , could you perhaps explain why, and offer an alternative? |
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.
Links to "here" hide the destination and are hostile to screen readers. Prefer linking to nouns at the end of a sentence.
## Api Version 2 | ||
* - Specifying invalid signer_lists value returns invalidParams error | ||
|
||
Older Api versions can be used. Documented [here][api-version-history] |
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.
Older Api versions can be used. Documented [here][api-version-history] | |
Older [API versions][api-version-history] can be used. |
* - Specifying `ledger_index_min`, `ledger_index_max` and `ledger_index` will result in an invalidParams error | ||
* - Specifying `ledger_index_min` or `ledger_index_max` out of a valid range will result in lgrIdxMalformed. | ||
|
||
Older Api versions can be used. Documented [here][api-version-history] |
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.
Older Api versions can be used. Documented [here][api-version-history] | |
Older [API versions][api-version-history] can be used. |
|
||
Older Api versions can be used. Documented [here][api-version-history] |
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.
Older Api versions can be used. Documented [here][api-version-history] | |
Older [API versions][api-version-history] can be used. |
@intelliot @thejohnfreeman Thank you for the feedback, that makes complete sense! 😄 I changed it to what @thejohnfreeman suggested~ |
I think this will need a style review from one of our writers. My thoughts and opinions:
|
Hi, just a heads up, my internship with Ripple will be ending next Friday. I don't know if there will be a style guideline by then for API version 2, so perhaps @mDuo13 can take over or assign my few changes to someone else. Thanks |
I plan to take a different approach to document API v2 differences before it becomes enabled (currently expected in server version 1.13.0) |
Documenting issue 4545