Skip to content

Commit d3569b6

Browse files
authored
Merge pull request #147 from idkdataverse/patch-1
Fix simple filters documentation
2 parents b44bc08 + ebf23a3 commit d3569b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/filtering.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ equals to:
149149

150150
.. sourcecode:: http
151151

152-
GET /persons?filter[name]=[{"name":"name","op":"eq","val":"John"}] HTTP/1.1
152+
GET /persons?filter=[{"name":"name","op":"eq","val":"John"}] HTTP/1.1
153153
Accept: application/vnd.api+json
154154

155155

@@ -164,4 +164,4 @@ which equals to:
164164

165165
.. sourcecode:: http
166166

167-
GET /persons?filter[name]=[{"name":"name","op":"eq","val":"John"}, {"name":"gender","op":"eq","val":"male"}] HTTP/1.1
167+
GET /persons?filter=[{"name":"name","op":"eq","val":"John"}, {"name":"gender","op":"eq","val":"male"}] HTTP/1.1

0 commit comments

Comments
 (0)