Skip to content

Commit

Permalink
Bring req/resp example dumps in sync with changes from #248.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasgraf committed Mar 8, 2017
1 parent f8bb1bf commit ef227dd
Show file tree
Hide file tree
Showing 61 changed files with 63 additions and 63 deletions.
2 changes: 1 addition & 1 deletion docs/source/_json/404_not_found.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/non-existing-resource HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/404_not_found.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 404 Not Found
content-type: application/json
Content-Type: application/json

{
"message": "Resource not found: http://localhost:55001/plone/non-existing-resource",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/batching.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/folder/@search?b_size=5&sort_on=path HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/batching.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/folder/@search",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/breadcrumbs.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/front-page/@components/breadcrumbs HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/breadcrumbs.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/collection.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/collection HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/collection.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/collection",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/copy.json.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/document.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/front-page HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/document.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/front-page",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/event.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/event HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/event.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/event",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/file.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/file HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/file.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/file",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/folder.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/folder HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/folder.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/folder",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/groups.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@groups HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/groups.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
4 changes: 2 additions & 2 deletions docs/source/_json/groups_created.resp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
HTTP/1.1 201 Created
content-type: application/json
location: http://localhost:55001/plone/@groups/fwt
Content-Type: application/json
Location: http://localhost:55001/plone/@groups/fwt

{
"@id": "http://localhost:55001/plone/@groups/fwt",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/groups_filtered_by_groupname.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@groups?query=plo HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/groups_filtered_by_groupname.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/groups_get.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@groups/ploneteam HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/groups_get.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/@groups/ploneteam",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/image.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/image HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/image.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/image",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/link.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/link HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/link.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/link",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/login.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmdWxsbmFtZSI6IiIsInN1YiI6ImFkbWluIn0.SZDnl_baH5M_StJJrzfbj7o-5My30NmSFbMrhpSX5I4"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/login_renew.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmdWxsbmFtZSI6IiIsInN1YiI6ImFkbWluIn0.SZDnl_baH5M_StJJrzfbj7o-5My30NmSFbMrhpSX5I4"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/move.json.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/navigation.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/front-page/@components/navigation HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/navigation.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/newsitem.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/newsitem HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/newsitem.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/newsitem",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/principals.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@principals?search=ploneteam HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/principals.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/registry_get.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@registry/plone.app.querystring.field.path.title HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/registry_get.resp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

"Location"
2 changes: 1 addition & 1 deletion docs/source/_json/search.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@search?sort_on=path HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/search.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/@search",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/siteroot.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/siteroot.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/types.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@types HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/types.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/types_document.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@types/Document HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/types_document.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json+schema
Content-Type: application/json+schema

{
"fieldsets": [
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/users.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@users HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/users.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
4 changes: 2 additions & 2 deletions docs/source/_json/users_created.resp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
HTTP/1.1 201 Created
content-type: application/json
location: http://localhost:55001/plone/@users/noamchomsky
Content-Type: application/json
Location: http://localhost:55001/plone/@users/noamchomsky

{
"@id": "http://localhost:55001/plone/@users/noamchomsky",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/users_filtered_by_username.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@users?query=noa HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/users_filtered_by_username.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/users_get.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@users/noam HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/users_get.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/@users/noam",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/vocabularies.json.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@vocabularies HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/vocabularies.json.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

[
{
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/vocabularies_get.json.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/@vocabularies/plone.app.vocabularies.ReallyUserFriendlyTypes HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/vocabularies_get.json.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"@id": "http://localhost:55001/plone/@vocabularies/plone.app.vocabularies.ReallyUserFriendlyTypes",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/workflow_get.req
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GET /plone/front-page/@workflow HTTP/1.1
Authorization: Basic YWRtaW46c2VjcmV0
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
2 changes: 1 addition & 1 deletion docs/source/_json/workflow_get.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"history": [
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_json/workflow_post.resp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HTTP/1.1 200 OK
content-type: application/json
Content-Type: application/json

{
"action": "publish",
Expand Down

0 comments on commit ef227dd

Please sign in to comment.