mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Update schema.md
This commit is contained in:
parent
14e84640c1
commit
68a751744e
@ -26,7 +26,7 @@ Example supported requests
|
|||||||
- Relationships
|
- Relationships
|
||||||
- GET /articles/1/relationships/comments
|
- GET /articles/1/relationships/comments
|
||||||
- GET /articles/1/relationships/author
|
- GET /articles/1/relationships/author
|
||||||
- Optional: [Inclusion of related resources](http://jsonapi.org/format/#fetching-includes) `ActiveModel::Serializer::Fieldset`
|
- Optional: [Inclusion of related resources](http://jsonapi.org/format/#fetching-includes) `ActiveModel::Serializer::IncludeTree`
|
||||||
- GET /articles/1?`include`=comments
|
- GET /articles/1?`include`=comments
|
||||||
- GET /articles/1?`include`=comments.author
|
- GET /articles/1?`include`=comments.author
|
||||||
- GET /articles/1?`include`=author,comments.author
|
- GET /articles/1?`include`=author,comments.author
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user