Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
261 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Support retrieval of additional metadata fields in summaries in the same way as | ||
in search results. | ||
[buchi] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /plone/folder?metadata_fields=UID&metadata_fields=Creator HTTP/1.1 | ||
Accept: application/json | ||
Authorization: Basic YWRtaW46c2VjcmV0 |
80 changes: 80 additions & 0 deletions
80
src/plone/restapi/tests/http-examples/content_get_folder.resp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
|
||
{ | ||
"@components": { | ||
"actions": { | ||
"@id": "http://localhost:55001/plone/folder/@actions" | ||
}, | ||
"breadcrumbs": { | ||
"@id": "http://localhost:55001/plone/folder/@breadcrumbs" | ||
}, | ||
"navigation": { | ||
"@id": "http://localhost:55001/plone/folder/@navigation" | ||
}, | ||
"workflow": { | ||
"@id": "http://localhost:55001/plone/folder/@workflow" | ||
} | ||
}, | ||
"@id": "http://localhost:55001/plone/folder?metadata_fields=UID&metadata_fields=Creator", | ||
"@type": "Folder", | ||
"UID": "SomeUUID000000000000000000000002", | ||
"allow_discussion": false, | ||
"contributors": [], | ||
"created": "2016-01-21T07:14:48+00:00", | ||
"creators": [ | ||
"test_user_1_" | ||
], | ||
"description": "This is a folder with two documents", | ||
"effective": null, | ||
"exclude_from_nav": false, | ||
"expires": null, | ||
"id": "folder", | ||
"is_folderish": true, | ||
"items": [ | ||
{ | ||
"@id": "http://localhost:55001/plone/folder/doc1", | ||
"@type": "Document", | ||
"Creator": "test_user_1_", | ||
"UID": "SomeUUID000000000000000000000003", | ||
"description": "", | ||
"review_state": "private", | ||
"title": "A document within a folder" | ||
}, | ||
{ | ||
"@id": "http://localhost:55001/plone/folder/doc2", | ||
"@type": "Document", | ||
"Creator": "test_user_1_", | ||
"UID": "SomeUUID000000000000000000000004", | ||
"description": "", | ||
"review_state": "private", | ||
"title": "A document within a folder" | ||
}, | ||
{ | ||
"@id": "http://localhost:55001/plone/folder/my-document", | ||
"@type": "Document", | ||
"Creator": "admin", | ||
"UID": "SomeUUID000000000000000000000005", | ||
"description": "", | ||
"review_state": "private", | ||
"title": "My Document" | ||
} | ||
], | ||
"items_total": 3, | ||
"language": "", | ||
"layout": "listing_view", | ||
"modified": "2016-10-21T19:00:00+00:00", | ||
"nextPreviousEnabled": false, | ||
"parent": { | ||
"@id": "http://localhost:55001/plone", | ||
"@type": "Plone Site", | ||
"description": "", | ||
"title": "Plone site" | ||
}, | ||
"relatedItems": [], | ||
"review_state": "private", | ||
"rights": "", | ||
"subjects": [], | ||
"title": "My Folder", | ||
"version": "current" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.