Created
June 2, 2016 15:12
-
-
Save juampynr/799eec8512a871ed0c59ce33ce30ad37 to your computer and use it in GitHub Desktop.
Custom XML Response
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
<?xml version="1.0" encoding="UTF-8"?> | |
<response> | |
<nid> | |
<value>2</value> | |
</nid> | |
<uuid> | |
<value>a626d6e5-84a6-41ec-98e5-480a7c210295</value> | |
</uuid> | |
<langcode> | |
<value>en</value> | |
</langcode> | |
<type> | |
<target_id>article</target_id> | |
<target_type>node_type</target_type> | |
<target_uuid>098bbcc4-c762-4ec1-b232-cef4ee9a208a</target_uuid> | |
</type> | |
<title> | |
<value>some article</value> | |
</title> | |
<uid> | |
<target_id>1</target_id> | |
<target_type>user</target_type> | |
<target_uuid>9b632c84-3dc1-41d9-9780-1a0dd93ad689</target_uuid> | |
<url>/user/1</url> | |
</uid> | |
<status> | |
<value>1</value> | |
</status> | |
<created> | |
<value>1463580706</value> | |
</created> | |
<changed> | |
<value>1464868320</value> | |
</changed> | |
<promote> | |
<value>1</value> | |
</promote> | |
<sticky> | |
<value>0</value> | |
</sticky> | |
<revision_timestamp> | |
<value>1463580765</value> | |
</revision_timestamp> | |
<revision_uid> | |
<target_id>1</target_id> | |
<target_type>user</target_type> | |
<target_uuid>9b632c84-3dc1-41d9-9780-1a0dd93ad689</target_uuid> | |
<url>/user/1</url> | |
</revision_uid> | |
<revision_log /> | |
<revision_translation_affected> | |
<value>1</value> | |
</revision_translation_affected> | |
<default_langcode> | |
<value>1</value> | |
</default_langcode> | |
<path /> | |
<body> | |
<value><![CDATA[<p>afdafd</p>]]></value> | |
<format>basic_html</format> | |
<summary /> | |
</body> | |
<comment> | |
<status>2</status> | |
<cid>0</cid> | |
<last_comment_timestamp>1463580765</last_comment_timestamp> | |
<last_comment_name /> | |
<last_comment_uid>1</last_comment_uid> | |
<comment_count>0</comment_count> | |
</comment> | |
<field_image /> | |
<field_page_ad_target> | |
<target_id>2</target_id> | |
<target_type>taxonomy_term</target_type> | |
<target_uuid>f083a8fd-99e4-4bf3-a7cc-a652998b5097</target_uuid> | |
<url>/taxonomy/term/2</url> | |
</field_page_ad_target> | |
<custom_data>Foo</custom_data> | |
<author> | |
<uid> | |
<value>1</value> | |
</uid> | |
<uuid> | |
<value>9b632c84-3dc1-41d9-9780-1a0dd93ad689</value> | |
</uuid> | |
<langcode> | |
<value>en</value> | |
</langcode> | |
<preferred_langcode> | |
<value>en</value> | |
</preferred_langcode> | |
<preferred_admin_langcode /> | |
<name> | |
<value>admin</value> | |
</name> | |
<mail> | |
<value>admin@example.com</value> | |
</mail> | |
<timezone> | |
<value>Europe/Madrid</value> | |
</timezone> | |
<status> | |
<value>1</value> | |
</status> | |
<created> | |
<value>1461691822</value> | |
</created> | |
<changed> | |
<value>1461692094</value> | |
</changed> | |
<access> | |
<value>1464876710</value> | |
</access> | |
<login> | |
<value>1463746652</value> | |
</login> | |
<init> | |
<value>admin@example.com</value> | |
</init> | |
<roles> | |
<target_id>administrator</target_id> | |
<target_type>user_role</target_type> | |
<target_uuid>d3f2d268-2c5e-4398-bdfd-2a317bdaed24</target_uuid> | |
</roles> | |
<default_langcode> | |
<value>1</value> | |
</default_langcode> | |
<path /> | |
<user_picture /> | |
</author> | |
<tags> | |
<target_id>1</target_id> | |
<target_type>taxonomy_term</target_type> | |
<target_uuid>9e33a824-f66c-435c-bbbe-04d1b52db380</target_uuid> | |
<url>/taxonomy/term/1</url> | |
</tags> | |
<tags> | |
<target_id>3</target_id> | |
<target_type>taxonomy_term</target_type> | |
<target_uuid>f76b7ff3-8253-4a2e-a79f-2cda5f8d3090</target_uuid> | |
<url>/taxonomy/term/3</url> | |
</tags> | |
<tags> | |
<target_id>4</target_id> | |
<target_type>taxonomy_term</target_type> | |
<target_uuid>ff1b373e-c047-4cd0-be2d-186602180fad</target_uuid> | |
<url>/taxonomy/term/4</url> | |
</tags> | |
<author_custom> | |
<name>admin</name> | |
</author_custom> | |
</response> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment