I suggest you ...

Response field filtering

As per this example: http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api#limiting-fields

It would be useful to be able to restrict the returned fields provided by the response.

Using a dot notation we could filter any nested properties as well. e.g.

GET /customers/fields=id,name,address,address.postcode,address.line1

13 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Ben Powell shared this idea  ·   ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • AdminDemis J Bellot (Developer, ServiceStack) commented  · 

        Please also include the use-cases as to why features are useful with future suggestions.

        Although this particular feature goes against the contract of the service and thus ServiceStack, it also invalidates caching, etc - therefore unlikely to be considered. The preferred approach is to have an explicit minimal service returning summarized results.

      Feedback and Knowledge Base