Created
September 23, 2015 12:37
-
-
Save dpobel/a86ede77bd283bc97cf0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "Content": { | |
| "_media-type": "application\/vnd.ez.api.Content+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14", | |
| "_remoteId": "1bb4fe25487f05527efa8bfd394cecc7", | |
| "_id": 14, | |
| "ContentType": { | |
| "_media-type": "application\/vnd.ez.api.ContentType+json", | |
| "_href": "\/api\/ezp\/v2\/content\/types\/4" | |
| }, | |
| "Name": "Administrator User", | |
| "Versions": { | |
| "_media-type": "application\/vnd.ez.api.VersionList+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions" | |
| }, | |
| "CurrentVersion": { | |
| "_media-type": "application\/vnd.ez.api.Version+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/currentversion", | |
| "Version": { | |
| "_media-type": "application\/vnd.ez.api.Version+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4", | |
| "VersionInfo": { | |
| "id": 565, | |
| "versionNo": 4, | |
| "status": "PUBLISHED", | |
| "modificationDate": "2015-03-26T12:02:10+01:00", | |
| "Creator": { | |
| "_media-type": "application\/vnd.ez.api.User+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14" | |
| }, | |
| "creationDate": "2015-03-26T12:02:10+01:00", | |
| "initialLanguageCode": "eng-GB", | |
| "languageCodes": "eng-GB", | |
| "names": { | |
| "value": [ | |
| { | |
| "_languageCode": "eng-GB", | |
| "#text": "Administrator User" | |
| } | |
| ] | |
| }, | |
| "Content": { | |
| "_media-type": "application\/vnd.ez.api.ContentInfo+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14" | |
| } | |
| }, | |
| "Fields": { | |
| "field": [ | |
| { | |
| "id": 28, | |
| "fieldDefinitionIdentifier": "first_name", | |
| "languageCode": "eng-GB", | |
| "fieldValue": "Administrator" | |
| }, | |
| { | |
| "id": 29, | |
| "fieldDefinitionIdentifier": "last_name", | |
| "languageCode": "eng-GB", | |
| "fieldValue": "User" | |
| }, | |
| { | |
| "id": 30, | |
| "fieldDefinitionIdentifier": "user_account", | |
| "languageCode": "eng-GB", | |
| "fieldValue": { | |
| "hasStoredLogin": true, | |
| "contentId": 14, | |
| "login": "admin", | |
| "email": "[email protected]", | |
| "passwordHash": "c78e3b0f3d9244ed8c6d1c29464bdff9", | |
| "passwordHashType": "2", | |
| "enabled": true, | |
| "maxLogin": 10 | |
| } | |
| }, | |
| { | |
| "id": 178, | |
| "fieldDefinitionIdentifier": "signature", | |
| "languageCode": "eng-GB", | |
| "fieldValue": null | |
| }, | |
| { | |
| "id": 180, | |
| "fieldDefinitionIdentifier": "image", | |
| "languageCode": "eng-GB", | |
| "fieldValue": null | |
| } | |
| ] | |
| }, | |
| "Relations": { | |
| "_media-type": "application\/vnd.ez.api.RelationList+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4\/relations", | |
| "Relation": [ | |
| ] | |
| } | |
| } | |
| }, | |
| "Section": { | |
| "_media-type": "application\/vnd.ez.api.Section+json", | |
| "_href": "\/api\/ezp\/v2\/content\/sections\/2" | |
| }, | |
| "MainLocation": { | |
| "_media-type": "application\/vnd.ez.api.Location+json", | |
| "_href": "\/api\/ezp\/v2\/content\/locations\/1\/5\/13\/15" | |
| }, | |
| "Locations": { | |
| "_media-type": "application\/vnd.ez.api.LocationList+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/locations" | |
| }, | |
| "Owner": { | |
| "_media-type": "application\/vnd.ez.api.User+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14" | |
| }, | |
| "lastModificationDate": "2015-03-26T12:02:11+01:00", | |
| "publishedDate": "2002-10-06T18:13:50+02:00", | |
| "mainLanguageCode": "eng-GB", | |
| "alwaysAvailable": true, | |
| "ObjectStates": { | |
| "_media-type": "application\/vnd.ez.api.ContentObjectStates+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/objectstates" | |
| } | |
| } | |
| } |
This file contains hidden or 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
| 2,5c2,4 | |
| < "User": { | |
| < "_media-type": "application\/vnd.ez.api.User+json", | |
| < "_href": "\/api\/ezp\/v2\/user\/users\/14", | |
| < "_id": 14, | |
| --- | |
| > "Content": { | |
| > "_media-type": "application\/vnd.ez.api.Content+json", | |
| > "_href": "\/api\/ezp\/v2\/content\/objects\/14", | |
| 6a6 | |
| > "_id": 14, | |
| 11c11 | |
| < "name": "Administrator User", | |
| --- | |
| > "Name": "Administrator User", | |
| 15a16,98 | |
| > "CurrentVersion": { | |
| > "_media-type": "application\/vnd.ez.api.Version+json", | |
| > "_href": "\/api\/ezp\/v2\/content\/objects\/14\/currentversion", | |
| > "Version": { | |
| > "_media-type": "application\/vnd.ez.api.Version+json", | |
| > "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4", | |
| > "VersionInfo": { | |
| > "id": 565, | |
| > "versionNo": 4, | |
| > "status": "PUBLISHED", | |
| > "modificationDate": "2015-03-26T12:02:10+01:00", | |
| > "Creator": { | |
| > "_media-type": "application\/vnd.ez.api.User+json", | |
| > "_href": "\/api\/ezp\/v2\/user\/users\/14" | |
| > }, | |
| > "creationDate": "2015-03-26T12:02:10+01:00", | |
| > "initialLanguageCode": "eng-GB", | |
| > "languageCodes": "eng-GB", | |
| > "names": { | |
| > "value": [ | |
| > { | |
| > "_languageCode": "eng-GB", | |
| > "#text": "Administrator User" | |
| > } | |
| > ] | |
| > }, | |
| > "Content": { | |
| > "_media-type": "application\/vnd.ez.api.ContentInfo+json", | |
| > "_href": "\/api\/ezp\/v2\/content\/objects\/14" | |
| > } | |
| > }, | |
| > "Fields": { | |
| > "field": [ | |
| > { | |
| > "id": 28, | |
| > "fieldDefinitionIdentifier": "first_name", | |
| > "languageCode": "eng-GB", | |
| > "fieldValue": "Administrator" | |
| > }, | |
| > { | |
| > "id": 29, | |
| > "fieldDefinitionIdentifier": "last_name", | |
| > "languageCode": "eng-GB", | |
| > "fieldValue": "User" | |
| > }, | |
| > { | |
| > "id": 30, | |
| > "fieldDefinitionIdentifier": "user_account", | |
| > "languageCode": "eng-GB", | |
| > "fieldValue": { | |
| > "hasStoredLogin": true, | |
| > "contentId": 14, | |
| > "login": "admin", | |
| > "email": "[email protected]", | |
| > "passwordHash": "c78e3b0f3d9244ed8c6d1c29464bdff9", | |
| > "passwordHashType": "2", | |
| > "enabled": true, | |
| > "maxLogin": 10 | |
| > } | |
| > }, | |
| > { | |
| > "id": 178, | |
| > "fieldDefinitionIdentifier": "signature", | |
| > "languageCode": "eng-GB", | |
| > "fieldValue": null | |
| > }, | |
| > { | |
| > "id": 180, | |
| > "fieldDefinitionIdentifier": "image", | |
| > "languageCode": "eng-GB", | |
| > "fieldValue": null | |
| > } | |
| > ] | |
| > }, | |
| > "Relations": { | |
| > "_media-type": "application\/vnd.ez.api.RelationList+json", | |
| > "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4\/relations", | |
| > "Relation": [ | |
| > | |
| > ] | |
| > } | |
| > } | |
| > }, | |
| 28,31d110 | |
| < "Groups": { | |
| < "_media-type": "application\/vnd.ez.api.UserGroupRefList+json", | |
| < "_href": "\/api\/ezp\/v2\/user\/users\/14\/groups" | |
| < }, | |
| 36d114 | |
| < "publishDate": "2002-10-06T18:13:50+02:00", | |
| 37a116 | |
| > "publishedDate": "2002-10-06T18:13:50+02:00", | |
| 40,128c119,121 | |
| < "Version": { | |
| < "_media-type": "application\/vnd.ez.api.Version+json", | |
| < "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4", | |
| < "VersionInfo": { | |
| < "id": 565, | |
| < "versionNo": 4, | |
| < "status": "PUBLISHED", | |
| < "modificationDate": "2015-03-26T12:02:10+01:00", | |
| < "Creator": { | |
| < "_media-type": "application\/vnd.ez.api.User+json", | |
| < "_href": "\/api\/ezp\/v2\/user\/users\/14" | |
| < }, | |
| < "creationDate": "2015-03-26T12:02:10+01:00", | |
| < "initialLanguageCode": "eng-GB", | |
| < "languageCodes": "eng-GB", | |
| < "names": { | |
| < "value": [ | |
| < { | |
| < "_languageCode": "eng-GB", | |
| < "#text": "Administrator User" | |
| < } | |
| < ] | |
| < }, | |
| < "Content": { | |
| < "_media-type": "application\/vnd.ez.api.ContentInfo+json", | |
| < "_href": "\/api\/ezp\/v2\/content\/objects\/14" | |
| < } | |
| < }, | |
| < "Fields": { | |
| < "field": [ | |
| < { | |
| < "id": 28, | |
| < "fieldDefinitionIdentifier": "first_name", | |
| < "languageCode": "eng-GB", | |
| < "fieldValue": "Administrator" | |
| < }, | |
| < { | |
| < "id": 29, | |
| < "fieldDefinitionIdentifier": "last_name", | |
| < "languageCode": "eng-GB", | |
| < "fieldValue": "User" | |
| < }, | |
| < { | |
| < "id": 30, | |
| < "fieldDefinitionIdentifier": "user_account", | |
| < "languageCode": "eng-GB", | |
| < "fieldValue": { | |
| < "hasStoredLogin": true, | |
| < "contentId": 14, | |
| < "login": "admin", | |
| < "email": "[email protected]", | |
| < "passwordHash": "c78e3b0f3d9244ed8c6d1c29464bdff9", | |
| < "passwordHashType": "2", | |
| < "enabled": true, | |
| < "maxLogin": 10 | |
| < } | |
| < }, | |
| < { | |
| < "id": 178, | |
| < "fieldDefinitionIdentifier": "signature", | |
| < "languageCode": "eng-GB", | |
| < "fieldValue": null | |
| < }, | |
| < { | |
| < "id": 180, | |
| < "fieldDefinitionIdentifier": "image", | |
| < "languageCode": "eng-GB", | |
| < "fieldValue": null | |
| < } | |
| < ] | |
| < }, | |
| < "Relations": { | |
| < "_media-type": "application\/vnd.ez.api.RelationList+json", | |
| < "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4\/relations", | |
| < "Relation": [ | |
| < | |
| < ] | |
| < } | |
| < }, | |
| < "login": "admin", | |
| < "email": "[email protected]", | |
| < "enabled": true, | |
| < "UserGroups": { | |
| < "_media-type": "application\/vnd.ez.api.UserGroupList+json", | |
| < "_href": "\/api\/ezp\/v2\/user\/users\/14\/groups" | |
| < }, | |
| < "Roles": { | |
| < "_media-type": "application\/vnd.ez.api.RoleAssignmentList+json", | |
| < "_href": "\/api\/ezp\/v2\/user\/users\/14\/roles" | |
| --- | |
| > "ObjectStates": { | |
| > "_media-type": "application\/vnd.ez.api.ContentObjectStates+json", | |
| > "_href": "\/api\/ezp\/v2\/content\/objects\/14\/objectstates" |
This file contains hidden or 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
| { | |
| "User": { | |
| "_media-type": "application\/vnd.ez.api.User+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14", | |
| "_id": 14, | |
| "_remoteId": "1bb4fe25487f05527efa8bfd394cecc7", | |
| "ContentType": { | |
| "_media-type": "application\/vnd.ez.api.ContentType+json", | |
| "_href": "\/api\/ezp\/v2\/content\/types\/4" | |
| }, | |
| "name": "Administrator User", | |
| "Versions": { | |
| "_media-type": "application\/vnd.ez.api.VersionList+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions" | |
| }, | |
| "Section": { | |
| "_media-type": "application\/vnd.ez.api.Section+json", | |
| "_href": "\/api\/ezp\/v2\/content\/sections\/2" | |
| }, | |
| "MainLocation": { | |
| "_media-type": "application\/vnd.ez.api.Location+json", | |
| "_href": "\/api\/ezp\/v2\/content\/locations\/1\/5\/13\/15" | |
| }, | |
| "Locations": { | |
| "_media-type": "application\/vnd.ez.api.LocationList+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/locations" | |
| }, | |
| "Groups": { | |
| "_media-type": "application\/vnd.ez.api.UserGroupRefList+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14\/groups" | |
| }, | |
| "Owner": { | |
| "_media-type": "application\/vnd.ez.api.User+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14" | |
| }, | |
| "publishDate": "2002-10-06T18:13:50+02:00", | |
| "lastModificationDate": "2015-03-26T12:02:11+01:00", | |
| "mainLanguageCode": "eng-GB", | |
| "alwaysAvailable": true, | |
| "Version": { | |
| "_media-type": "application\/vnd.ez.api.Version+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4", | |
| "VersionInfo": { | |
| "id": 565, | |
| "versionNo": 4, | |
| "status": "PUBLISHED", | |
| "modificationDate": "2015-03-26T12:02:10+01:00", | |
| "Creator": { | |
| "_media-type": "application\/vnd.ez.api.User+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14" | |
| }, | |
| "creationDate": "2015-03-26T12:02:10+01:00", | |
| "initialLanguageCode": "eng-GB", | |
| "languageCodes": "eng-GB", | |
| "names": { | |
| "value": [ | |
| { | |
| "_languageCode": "eng-GB", | |
| "#text": "Administrator User" | |
| } | |
| ] | |
| }, | |
| "Content": { | |
| "_media-type": "application\/vnd.ez.api.ContentInfo+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14" | |
| } | |
| }, | |
| "Fields": { | |
| "field": [ | |
| { | |
| "id": 28, | |
| "fieldDefinitionIdentifier": "first_name", | |
| "languageCode": "eng-GB", | |
| "fieldValue": "Administrator" | |
| }, | |
| { | |
| "id": 29, | |
| "fieldDefinitionIdentifier": "last_name", | |
| "languageCode": "eng-GB", | |
| "fieldValue": "User" | |
| }, | |
| { | |
| "id": 30, | |
| "fieldDefinitionIdentifier": "user_account", | |
| "languageCode": "eng-GB", | |
| "fieldValue": { | |
| "hasStoredLogin": true, | |
| "contentId": 14, | |
| "login": "admin", | |
| "email": "[email protected]", | |
| "passwordHash": "c78e3b0f3d9244ed8c6d1c29464bdff9", | |
| "passwordHashType": "2", | |
| "enabled": true, | |
| "maxLogin": 10 | |
| } | |
| }, | |
| { | |
| "id": 178, | |
| "fieldDefinitionIdentifier": "signature", | |
| "languageCode": "eng-GB", | |
| "fieldValue": null | |
| }, | |
| { | |
| "id": 180, | |
| "fieldDefinitionIdentifier": "image", | |
| "languageCode": "eng-GB", | |
| "fieldValue": null | |
| } | |
| ] | |
| }, | |
| "Relations": { | |
| "_media-type": "application\/vnd.ez.api.RelationList+json", | |
| "_href": "\/api\/ezp\/v2\/content\/objects\/14\/versions\/4\/relations", | |
| "Relation": [ | |
| ] | |
| } | |
| }, | |
| "login": "admin", | |
| "email": "[email protected]", | |
| "enabled": true, | |
| "UserGroups": { | |
| "_media-type": "application\/vnd.ez.api.UserGroupList+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14\/groups" | |
| }, | |
| "Roles": { | |
| "_media-type": "application\/vnd.ez.api.RoleAssignmentList+json", | |
| "_href": "\/api\/ezp\/v2\/user\/users\/14\/roles" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment