When accessing the endpoint it seems it would be cleaner to continue to use REST style parameters instead of query strings.

When I access a view page, I can pass parameters on the URL
/view #default view, show everything
/view/4 #show just NID=4

For the rest endpoint based on a services_view I cannot do
/api/resource/4
I have to do
/api/resource?nid=4

CommentFileSizeAuthor
#1 services_views-1886600-2.patch1.05 KBb_sharpe

Comments

b_sharpe’s picture

Issue summary: View changes
StatusFileSize
new1.05 KB

I'm sure this can be done a little more elegantly, but this got it working for me. I kept in the args from the query string as well so you can do either (see #1486464: Passing ARGS for context filters?)

You will need to flush caches to make this work

b_sharpe’s picture

Version: 7.x-1.0-beta2 » 7.x-1.1