Skip to content

Commit

Permalink
Add docs changes introduced by Plone 5.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tisto committed Aug 17, 2020
1 parent 5906a62 commit 08d4fc7
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/plone/restapi/tests/http-examples/collection.resp
Expand Up @@ -42,7 +42,7 @@ Content-Type: application/json
"token": "Type"
},
{
"title": "ModificationDate",
"title": "Last modified",
"token": "ModificationDate"
}
],
Expand Down
Expand Up @@ -42,7 +42,7 @@ Content-Type: application/json
"token": "Type"
},
{
"title": "ModificationDate",
"title": "Last modified",
"token": "ModificationDate"
}
],
Expand Down
18 changes: 9 additions & 9 deletions src/plone/restapi/tests/http-examples/controlpanels_get.resp
Expand Up @@ -23,20 +23,25 @@ Content-Type: application/json
"title": "Navigation"
},
{
"@id": "http://localhost:55001/plone/@controlpanels/site",
"@id": "http://localhost:55001/plone/@controlpanels/search",
"group": "General",
"title": "Site"
"title": "Search"
},
{
"@id": "http://localhost:55001/plone/@controlpanels/search",
"@id": "http://localhost:55001/plone/@controlpanels/site",
"group": "General",
"title": "Search"
"title": "Site"
},
{
"@id": "http://localhost:55001/plone/@controlpanels/socialmedia",
"group": "General",
"title": "Social Media"
},
{
"@id": "http://localhost:55001/plone/@controlpanels/dexterity-types",
"group": "Content",
"title": "Dexterity Content Types"
},
{
"@id": "http://localhost:55001/plone/@controlpanels/editing",
"group": "Content",
Expand All @@ -52,11 +57,6 @@ Content-Type: application/json
"group": "Content",
"title": "Markup"
},
{
"@id": "http://localhost:55001/plone/@controlpanels/dexterity-types",
"group": "Content",
"title": "Dexterity Content Types"
},
{
"@id": "http://localhost:55001/plone/@controlpanels/security",
"group": "Security",
Expand Down
12 changes: 12 additions & 0 deletions src/plone/restapi/tests/http-examples/querystring_get.resp
Expand Up @@ -799,6 +799,12 @@ Content-Type: application/json
"published": {
"title": "Published with accent \u00e9 [published]"
},
"rejected": {
"title": "Rejected [rejected]"
},
"spam": {
"title": "Spam [spam]"
},
"visible": {
"title": "Public draft [visible]"
}
Expand Down Expand Up @@ -1500,6 +1506,12 @@ Content-Type: application/json
"published": {
"title": "Published with accent \u00e9 [published]"
},
"rejected": {
"title": "Rejected [rejected]"
},
"spam": {
"title": "Spam [spam]"
},
"visible": {
"title": "Public draft [visible]"
}
Expand Down
4 changes: 2 additions & 2 deletions src/plone/restapi/tests/http-examples/registry_get_list.resp
Expand Up @@ -6,7 +6,7 @@ Content-Type: application/json
"batching": {
"@id": "http://localhost:55001/plone/@registry",
"first": "http://localhost:55001/plone/@registry?b_start=0",
"last": "http://localhost:55001/plone/@registry?b_start=1750",
"last": "http://localhost:55001/plone/@registry?b_start=1775",
"next": "http://localhost:55001/plone/@registry?b_start=25"
},
"items": [
Expand Down Expand Up @@ -403,5 +403,5 @@ Content-Type: application/json
"value": false
}
],
"items_total": 1775
"items_total": 1779
}
28 changes: 16 additions & 12 deletions src/plone/restapi/tests/http-examples/vocabularies.resp
Expand Up @@ -2,18 +2,6 @@ HTTP/1.1 200 OK
Content-Type: application/json

[
{
"@id": "http://localhost:55001/plone/@vocabularies/plone.app.content.ValidAddableTypes",
"title": "plone.app.content.ValidAddableTypes"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/plone.contentrules.events",
"title": "plone.contentrules.events"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/Behaviors",
"title": "Behaviors"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/plone.app.vocabularies.AvailableContentLanguages",
"title": "plone.app.vocabularies.AvailableContentLanguages"
Expand Down Expand Up @@ -142,6 +130,22 @@ Content-Type: application/json
"@id": "http://localhost:55001/plone/@vocabularies/plone.app.vocabularies.ImagesScales",
"title": "plone.app.vocabularies.ImagesScales"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/plone.app.vocabularies.MetadataFields",
"title": "plone.app.vocabularies.MetadataFields"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/plone.app.content.ValidAddableTypes",
"title": "plone.app.content.ValidAddableTypes"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/plone.contentrules.events",
"title": "plone.contentrules.events"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/Behaviors",
"title": "Behaviors"
},
{
"@id": "http://localhost:55001/plone/@vocabularies/Fields",
"title": "Fields"
Expand Down

0 comments on commit 08d4fc7

Please sign in to comment.