Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Jun 10, 2023
1 parent 630aa87 commit 0795482
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ class UserResource extends JsonApiResource

##### Example request and response

The client may now request these relationships via the `include` query parameter.

`GET /users/74812?include=posts,team`

> **Note** Relationships are not exposed in the response unless they are requested by the calling client via the `include` query parameter. This is intended and is part of the `JSON:API` specification.
Expand Down

0 comments on commit 0795482

Please sign in to comment.