near / docs

NEAR Protocol Documentation
https://docs.near.org
Apache License 2.0
148 stars 358 forks source link

docs: added info about new status codes #2195

Closed frolvanya closed 1 month ago

frolvanya commented 1 month ago

This PR is adding an information about new possible status codes that can be returned by jsonrpc

From now on, jsonrpc will start returning other HTTP codes than 200 OK for some errors:

Changes were introduced in https://github.com/near/nearcore/pull/11806 and https://github.com/near/nearcore/pull/11822

frolvanya commented 1 month ago

@race-of-sloths please, include my PR in the Race

race-of-sloths commented 1 month ago

@frolvanya Thank you for your contribution! Your pull request is now a part of the Race of Sloths! Weekly streak is on the road, smart strategy! Secure your streak with another PR!

[

<source media="(prefers-color-scheme: light)" srcset="https://badge.race-of-sloths.com/frolvanya?type=bot&theme=light">
<img alt="Shows profile picture for the author of the PR" src="https://badge.race-of-sloths.com/frolvanya?type=bot&theme=white">

](https://race-of-sloths.com/profile/frolvanya)

Current status: executed | Reviewer | Score | |--------|--------| | @khorolets | 1 | Your contribution is much appreciated with a final score of 1! You have received 25 (10 base + 15 weekly bonus) Sloth points for this contribution Another weekly streak completed, well done @frolvanya! To keep your weekly streak and get another bonus make pull request next week! Looking forward to see you in race-of-sloths
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors: - Tag @race-of-sloths inside your pull requests - Wait for the maintainer to review and score your pull request - Check out your position in the [Leaderboard](https://race-of-sloths.com/leaderboard) - Keep weekly and monthly streaks to reach higher positions - Boast your contributions with a dynamic picture of your [Profile](https://race-of-sloths.com/profile/frolvanya) For maintainers: - Score pull requests that participate in the Race of Sloths - Engage contributors with fair scoring and fast responses so they keep their streaks - Promote the Race to the point where the Race starts promoting you - Grow the community of your contributors Feel free to check [our website](https://race-of-sloths.com) for additional details!

Bot commands - For contributors - **Include a PR:** `@race-of-sloths include` to enter the Race with your PR - For maintainers: - **Assign points:** `@race-of-sloths score [1/2/3/5/8/13]` to award points based on your assessment. - **Reject this PR:** `@race-of-sloths exclude` to send this PR back to the drawing board. - **Exclude repo:** `@race-of-sloths pause` to stop bot activity in this repo until `@race-of-sloths unpause` command is called