You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
API Platform supports JSON:API format but only for request/response body. However the JSON:API specification is not limited to this. It specifies the usage of query parameters for sorting, pagination and filtering too.
Example
Sorting:
GET /people?sort=age HTTP/1.1
Accept: application/vnd.api+json
GET /people?sort=age,name HTTP/1.1
Accept: application/vnd.api+json
GET /articles?sort=-created,title HTTP/1.1
Accept: application/vnd.api+json
Pagination:
GET /?page[offset]=0&page[limit]=10
Filtering:
GET /posts?sort=author.name&filter[author.status]=active
The text was updated successfully, but these errors were encountered:
Description
API Platform supports JSON:API format but only for request/response body. However the JSON:API specification is not limited to this. It specifies the usage of query parameters for sorting, pagination and filtering too.
Example
Sorting:
Pagination:
Filtering:
The text was updated successfully, but these errors were encountered: