Skip to content

Commit

Permalink
Update expanded _json output.
Browse files Browse the repository at this point in the history
  • Loading branch information
tisto authored and buchi committed Jul 25, 2017
1 parent 5261ed0 commit 35f5da9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/source/_json/expansion_expanded.req
@@ -1,3 +1,3 @@
GET /plone/front-page?expand=breadcrumbs,workflow HTTP/1.1
GET /plone/front-page?expand=breadcrumbs HTTP/1.1
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
21 changes: 1 addition & 20 deletions docs/source/_json/expansion_expanded.resp
Expand Up @@ -16,26 +16,7 @@ Content-Type: application/json
"@id": "http://localhost:55001/plone/front-page",
"@type": "Document",
"@workflow": {
"history": [
{
"action": null,
"actor": "test_user_1_",
"comments": "",
"review_state": "private",
"time": "2016-10-21T19:00:00+00:00",
"title": "Private"
}
],
"transitions": [
{
"@id": "http://localhost:55001/plone/front-page/@workflow/publish",
"title": "Publish"
},
{
"@id": "http://localhost:55001/plone/front-page/@workflow/submit",
"title": "Submit for publication"
}
]
"@id": "http://localhost:55001/plone/front-page/@workflow"
},
"UID": "SomeUUID000000000000000000000001",
"allow_discussion": null,
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/expansion_expanded_full.req
@@ -1,3 +1,3 @@
GET /plone/front-page?expand=breadcrumbs,navigation,workflow HTTP/1.1
GET /plone/front-page?expand=breadcrumbs,navigation,schema,workflow HTTP/1.1
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0

0 comments on commit 35f5da9

Please sign in to comment.