Skip to content

Commit a57b85e

Browse files
committed
spellcheck
1 parent 5bbe6fa commit a57b85e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ When a resource is created (with a `POST` request), the response must contain a
8080

8181
### Resource on update and create actions
8282

83-
When a resource is created or modified (e.g., with a POST, PUT or PATCH request), the response must contain the created or updated respresentation of the resource.
83+
When a resource is created or modified (e.g., with a POST, PUT or PATCH request), the response must contain the created or updated representation of the resource.
8484

8585
## 5. Status codes
8686

@@ -102,11 +102,11 @@ The server must respond with the following status codes, according to the situat
102102
| 403 Forbidden | Authenticated user does not have access |
103103
| 404 Not Found | Page or resource not found |
104104
| 405 Method Not Allowed | The request HTTP method is not allowed for the authenticated user |
105-
| 410 Gone | The endpoint is no longer available. Usefull for old API versions |
105+
| 410 Gone | The endpoint is no longer available. Useful for old API versions |
106106
| 415 Unsupported Media Type| POST/PUT/PATCH request occurred without a application/json content type |
107107
| 422 Unprocessable Entry | A request to modify or create a resource failed due to a validation error |
108108
| 429 Too Many Requests | Request rejected due to rate limiting |
109-
| 500 Internal Server Error | An internal server error occured |
109+
| 500 Internal Server Error | An internal server error occurred |
110110
| 502 Bad Gateway | The server was acting as a gateway or proxy and received an invalid response from the upstream server |
111111
| 503 Service Unavailable | The server is currently unable to handle the request. |
112112

@@ -117,7 +117,7 @@ The server must respond with the following status codes, according to the situat
117117

118118
- This code must be human readable, and identical over the same kinds of errors.
119119

120-
- The body should also contain a `message` key, containing a more detailled description of the error.
120+
- The body should also contain a `message` key, containing a more detailed description of the error.
121121

122122
```HTTP
123123
GET /unicorns/4 HTTP/1.1
@@ -192,7 +192,7 @@ For example, for rate limiting, the `X-Rate-Limit-Limit`, `X-Rate-Limit-Remainin
192192

193193
## 9. Versioning
194194

195-
The API must be versioned, and must not have breaking changes whitout version change.
195+
The API must be versioned, and must not have breaking changes without version change.
196196

197197
- The client must be able to set the requested version trough the `Accept` header. (e.g., `Accept: application/vnd.myapp.v2+json`).
198198

@@ -493,7 +493,7 @@ Content-Location: https://api.example.com/movies/jobs/42
493493
{}
494494
```
495495

496-
When the job process is done, the request of the url in the `Content-Location` header should return a `303 See other` status code with the created resource link in `Location` header.
496+
When the job process is done, requesting the link in the `Content-Location` header should return a `303 See other` status code with the created resource link in `Location` header.
497497

498498
```HTTP
499499
GET /movies/jobs/42 HTTP/1.1

0 commit comments

Comments
 (0)