plone.restapi/plone-only-login: Update expanded _json output.
Thomas Buchberger <jenkins-z4DKO/[email protected]> Wed, 26 Jul 2017 07:45:50 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plone.restapi Branch: refs/heads/plone-only-login Date: 2017-07-25T11:48:32+02:00 Author: Timo Stollenwerk (tisto) <tisto-z4DKO/[email protected]> Commit: https://github.com/plone/plone.restapi/commit/35f5da98e3eaf995c10f43c790024bfaa2399c39 Update expanded _json output. Files changed: M docs/source/_json/expansion_expanded.req M docs/source/_json/expansion_expanded.resp M docs/source/_json/expansion_expanded_full.req diff --git a/docs/source/_json/expansion_expanded.req b/docs/source/_json/expansion_expanded.req index f9df6e4c..26879912 100644 --- a/docs/source/_json/expansion_expanded.req +++ b/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 diff --git a/docs/source/_json/expansion_expanded.resp b/docs/source/_json/expansion_expanded.resp index e0589029..afe45d4b 100644 --- a/docs/source/_json/expansion_expanded.resp +++ b/docs/source/_json/expansion_expanded.resp @@ -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, diff --git a/docs/source/_json/expansion_expanded_full.req b/docs/source/_json/expansion_expanded_full.req index 14718682..258f6104 100644 --- a/docs/source/_json/expansion_expanded_full.req +++ b/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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot