Skip to content

Commit ebf23a3

Browse files
authored
Fix simple filters documentation
1 parent ad3f90f commit ebf23a3

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)