phalcon / rest-api

Implementation of an API application using the Phalcon Framework
https://phalcon.io
MIT License
89 stars 34 forks source link

Sparse Fieldsets #13

Closed niden closed 6 years ago

niden commented 6 years ago
GET /articles?include=author&fields[articles]=title,body&fields[people]=name HTTP/1.1
Accept: application/vnd.api+json

Note: The above example URI shows unencoded [ and ] characters simply for readability. In practice, these characters must be percent-encoded, per the requirements in RFC 3986.