8000 avoid kebab-case case usage in example by jelhan · Pull Request #1724 · json-api/json-api · GitHub
[go: up one dir, main page]

Skip to content

avoid kebab-case case usage in example #1724

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

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions recommendations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,17 @@ The request **SHOULD** return a status `202 Accepted` with a link in the `Conten
```http
HTTP/1.1 202 Accepted
Content-Type: application/vnd.api+json
Content-Location: https://example.com/photos/queue-jobs/5234
Content-Location: https://examp 8000 le.com/photos/jobs/5234

{
"data": {
"type": "queue-jobs",
"type": "jobs",
"id": "5234",
"attributes": {
"status": "Pending request, waiting other process"
},
"links": {
"self": "/photos/queue-jobs/5234"
"self": "/photos/jobs/5234"
}
}
}
Expand All @@ -230,7 +230,7 @@ Content-Location: https://example.com/photos/queue-jobs/5234
To check the status of the job process, a client can send a request to the location given earlier.

```http
GET /photos/queue-jobs/5234 HTTP/1.1
GET /photos/jobs/5234 HTTP/1.1
Accept: application/vnd.api+json
```

Expand All @@ -243,13 +243,13 @@ Retry-After: 10

{
"data": {
"type": "queue-jobs",
"type": "jobs",
"id": "5234",
"attributes": {
"status": "Pending request, waiting other process"
},
"links": {
"self": "/photos/queue-jobs/5234"
"self": "/photos/jobs/5234"
}
}
}
Expand Down
0