Skip to content

Commit 2c8c1cd

Browse files
committed
update doc
1 parent f0af1cb commit 2c8c1cd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/include_related_objects.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ Example:
1313

1414
Request:
1515

16+
.. sourcecode:: http
17+
1618
GET /persons/1?include=computers HTTP/1.1
1719
Accept: application/vnd.api+json
1820

1921
Response:
2022

23+
.. sourcecode:: http
24+
2125
HTTP/1.1 200 OK
2226
Content-Type: application/vnd.api+json
2327

@@ -81,11 +85,15 @@ Example:
8185

8286
Request:
8387

88+
.. sourcecode:: http
89+
8490
GET /persons/1?include=computers.owner HTTP/1.1
8591
Accept: application/vnd.api+json
8692

8793
Response:
8894

95+
.. sourcecode:: http
96+
8997
HTTP/1.1 200 OK
9098
Content-Type: application/vnd.api+json
9199

0 commit comments

Comments
 (0)