Skip to content

Commit dacb74a

Browse files
committed
Changes to the resp objects
1 parent 8629671 commit dacb74a

30 files changed

+99
-0
lines changed

src/plone/restapi/tests/http-examples/collection.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/collection/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/collection/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/collection/@types"
2629
},

src/plone/restapi/tests/http-examples/collection_fullobjects.resp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/collection/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/collection/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/collection/@types"
2629
},
@@ -83,6 +86,9 @@ Content-Type: application/json
8386
"navroot": {
8487
"@id": "http://localhost:55001/plone/front-page/@navroot"
8588
},
89+
"site": {
90+
"@id": "http://localhost:55001/plone/front-page/@site"
91+
},
8692
"types": {
8793
"@id": "http://localhost:55001/plone/front-page/@types"
8894
},
@@ -159,6 +165,9 @@ Content-Type: application/json
159165
"navroot": {
160166
"@id": "http://localhost:55001/plone/doc1/@navroot"
161167
},
168+
"site": {
169+
"@id": "http://localhost:55001/plone/doc1/@site"
170+
},
162171
"types": {
163172
"@id": "http://localhost:55001/plone/doc1/@types"
164173
},
@@ -231,6 +240,9 @@ Content-Type: application/json
231240
"navroot": {
232241
"@id": "http://localhost:55001/plone/doc2/@navroot"
233242
},
243+
"site": {
244+
"@id": "http://localhost:55001/plone/doc2/@site"
245+
},
234246
"types": {
235247
"@id": "http://localhost:55001/plone/doc2/@types"
236248
},

src/plone/restapi/tests/http-examples/content_get.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/folder/my-document/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/folder/my-document/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/folder/my-document/@types"
2629
},

src/plone/restapi/tests/http-examples/content_get_folder.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/folder/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/folder/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/folder/@types"
2629
},

src/plone/restapi/tests/http-examples/content_patch_representation.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/folder/my-document/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/folder/my-document/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/folder/my-document/@types"
2629
},

src/plone/restapi/tests/http-examples/content_post.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Location: http://localhost:55001/plone/folder/my-document
2222
"navroot": {
2323
"@id": "http://localhost:55001/plone/folder/my-document/@navroot"
2424
},
25+
"site": {
26+
"@id": "http://localhost:55001/plone/folder/my-document/@site"
27+
},
2528
"types": {
2629
"@id": "http://localhost:55001/plone/folder/my-document/@types"
2730
},

src/plone/restapi/tests/http-examples/document.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/front-page/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/front-page/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/front-page/@types"
2629
},

src/plone/restapi/tests/http-examples/event.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/event/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/event/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/event/@types"
2629
},

src/plone/restapi/tests/http-examples/expansion.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ Content-Type: application/json
2121
"navroot": {
2222
"@id": "http://localhost:55001/plone/front-page/@navroot"
2323
},
24+
"site": {
25+
"@id": "http://localhost:55001/plone/front-page/@site"
26+
},
2427
"types": {
2528
"@id": "http://localhost:55001/plone/front-page/@types"
2629
},

src/plone/restapi/tests/http-examples/expansion_expanded.resp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Content-Type: application/json
2828
"navroot": {
2929
"@id": "http://localhost:55001/plone/front-page/@navroot"
3030
},
31+
"site": {
32+
"@id": "http://localhost:55001/plone/front-page/@site"
33+
},
3134
"types": {
3235
"@id": "http://localhost:55001/plone/front-page/@types"
3336
},

0 commit comments

Comments
 (0)