-
Notifications
You must be signed in to change notification settings - Fork 720
Update Wave docs to use 204 No Content where appropriate
#76
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
Update Wave docs to use 204 No Content where appropriate
#76
Conversation
…e as the expected response.
apradoada
left a comment
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.
This looks good! There's one sentence that gets repeated a few times that felt a little clunky so I added in a potential alternate structure just in case you want to go with that!
| and get this response: | ||
|
|
||
| `200 OK` | ||
| `204 No Content` |
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.
👍
ada-project-docs/wave_03.md
Outdated
|
|
||
| The response should have a mimetype of "application/json" to keep our API response type consistent. | ||
|
|
||
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: |
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.
Wording is just a little confusing here. Maybe something like:
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: | |
| After I have made the 'PATCH' request, I can submit a 'GET' request to 'tasks/1, which will return the response: |
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.
This reads much easier, thanks for the suggestion!
ada-project-docs/wave_03.md
Outdated
|
|
||
| The response should have a mimetype of "application/json" to keep our API response type consistent. | ||
|
|
||
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: |
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.
Same as before,
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: | |
| After I have made the 'PATCH' request, I can submit a 'GET' request to 'tasks/1, which will return the response: |
ada-project-docs/wave_03.md
Outdated
|
|
||
| The response should have a mimetype of "application/json" to keep our API response type consistent. | ||
|
|
||
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: |
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.
Same as before. It's just a really clunky sentence to write!
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: | |
| After I have made the 'PATCH' request, I can submit a 'GET' request to 'tasks/1, which will return the response: |
ada-project-docs/wave_03.md
Outdated
|
|
||
| The response should have a mimetype of "application/json" to keep our API response type consistent. | ||
|
|
||
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: |
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.
No need to take the suggestion, I'm just adding it again so its easier for you to commit the suggestions if you do!
| If after the `PATCH` request I fetch the task by sending a `GET` request to `/tasks/1`, I get this response: | |
| After I have made the 'PATCH' request, I can submit a 'GET' request to 'tasks/1, which will return the response:``` |
Update sentence around checking results after `PATCH` in wave 4 docs
Asana Task
Update Wave docs to reflect that PUT/PATCH/DELETE endpoints should use
204 No Contentas the expected response.This PR addresses the wave documents, the tests for the affected endpoints are being updated in a separate PR that will also update the tests to use the newer DB syntax.