Skip to content

Instantly share code, notes, and snippets.

@bdunogier
Last active August 29, 2015 14:02
Show Gist options
  • Save bdunogier/e91dbcfa5e62a3bf3418 to your computer and use it in GitHub Desktop.
Save bdunogier/e91dbcfa5e62a3bf3418 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<Content media-type="application/vnd.ez.api.Content+xml" href="/api/ezp/v2/content/objects/276" remoteId="2f7b3d4c6137721b88bd5c931efad513" id="276">
<ContentType media-type="application/vnd.ez.api.ContentType+xml" href="/api/ezp/v2/content/types/48"/>
<Name>EZP-23000</Name>
<Versions media-type="application/vnd.ez.api.VersionList+xml" href="/api/ezp/v2/content/objects/276/versions"/>
<CurrentVersion media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/276/currentversion">
<Version media-type="application/vnd.ez.api.Version+xml" href="/api/ezp/v2/content/objects/276/versions/2">
<VersionInfo>
<id>863</id>
<versionNo>2</versionNo>
<status>PUBLISHED</status>
<modificationDate>2014-06-19T15:00:03+02:00</modificationDate>
<Creator media-type="application/vnd.ez.api.User+xml" href="/api/ezp/v2/user/users/14"/>
<creationDate>2014-06-19T14:59:37+02:00</creationDate>
<initialLanguageCode>eng-GB</initialLanguageCode>
<languageCodes>eng-GB</languageCodes>
<names>
<value languageCode="eng-GB">EZP-23000</value>
</names>
<Content media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/276"/>
</VersionInfo>
<Fields>
<field>
<id>1712</id>
<fieldDefinitionIdentifier>name</fieldDefinitionIdentifier>
<languageCode>eng-GB</languageCode>
<fieldValue>EZP-23000</fieldValue>
</field>
<field>
<id>1713</id>
<fieldDefinitionIdentifier>object_relation</fieldDefinitionIdentifier>
<languageCode>eng-GB</languageCode>
<fieldValue>
<value key="destinationContentId">59</value>
<value key="destinationContent">
<value key="href">/content/objects/59</value>
<value key="media-type">Application/vnd.ez.api.Content+xml</value>
</value>
</fieldValue>
</field>
<field>
<id>1714</id>
<fieldDefinitionIdentifier>object_relations</fieldDefinitionIdentifier>
<languageCode>eng-GB</languageCode>
<fieldValue>
<value key="destinationContentIds">
<value>59</value>
<value>72</value>
<value>84</value>
<value>88</value>
</value>
</fieldValue>
</field>
</Fields>
<Relations media-type="application/vnd.ez.api.RelationList+xml" href="/api/ezp/v2/content/objects/276/versions/2/relations">
<Relation media-type="application/vnd.ez.api.Relation+xml" href="/api/ezp/v2/content/objects/276/versions/2/relations/588">
<SourceContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/276"/>
<DestinationContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/59"/>
<SourceFieldDefinitionIdentifier>object_relation</SourceFieldDefinitionIdentifier>
<RelationType>ATTRIBUTE</RelationType>
</Relation>
<Relation media-type="application/vnd.ez.api.Relation+xml" href="/api/ezp/v2/content/objects/276/versions/2/relations/593">
<SourceContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/276"/>
<DestinationContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/59"/>
<SourceFieldDefinitionIdentifier>object_relations</SourceFieldDefinitionIdentifier>
<RelationType>ATTRIBUTE</RelationType>
</Relation>
<Relation media-type="application/vnd.ez.api.Relation+xml" href="/api/ezp/v2/content/objects/276/versions/2/relations/594">
<SourceContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/276"/>
<DestinationContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/72"/>
<SourceFieldDefinitionIdentifier>object_relations</SourceFieldDefinitionIdentifier>
<RelationType>ATTRIBUTE</RelationType>
</Relation>
<Relation media-type="application/vnd.ez.api.Relation+xml" href="/api/ezp/v2/content/objects/276/versions/2/relations/595">
<SourceContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/276"/>
<DestinationContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/84"/>
<SourceFieldDefinitionIdentifier>object_relations</SourceFieldDefinitionIdentifier>
<RelationType>ATTRIBUTE</RelationType>
</Relation>
<Relation media-type="application/vnd.ez.api.Relation+xml" href="/api/ezp/v2/content/objects/276/versions/2/relations/596">
<SourceContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/276"/>
<DestinationContent media-type="application/vnd.ez.api.ContentInfo+xml" href="/api/ezp/v2/content/objects/88"/>
<SourceFieldDefinitionIdentifier>object_relations</SourceFieldDefinitionIdentifier>
<RelationType>ATTRIBUTE</RelationType>
</Relation>
</Relations>
</Version>
</CurrentVersion>
<Section media-type="application/vnd.ez.api.Section+xml" href="/api/ezp/v2/content/sections/1"/>
<MainLocation media-type="application/vnd.ez.api.Location+xml" href="/api/ezp/v2/content/locations/1/2/259"/>
<Locations media-type="application/vnd.ez.api.LocationList+xml" href="/api/ezp/v2/content/objects/276/locations"/>
<Owner media-type="application/vnd.ez.api.User+xml" href="/api/ezp/v2/user/users/14"/>
<lastModificationDate>2014-06-19T15:00:03+02:00</lastModificationDate>
<publishedDate>2014-06-14T16:28:29+02:00</publishedDate>
<mainLanguageCode>eng-GB</mainLanguageCode>
<alwaysAvailable>false</alwaysAvailable>
<ObjectStates media-type="application/vnd.ez.api.ContentObjectStates+xml" href="/api/ezp/v2/content/objects/276/objectstates"/>
</Content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment