Created
April 19, 2018 13:27
-
-
Save tedbow/bc2b5823e1805fb765b20c9e27b92726 to your computer and use it in GitHub Desktop.
/json/node result
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
| { | |
| "data": [ | |
| { | |
| "type": "node--article", | |
| "id": "799bf41c-5f5d-403f-8c51-b929dd649794", | |
| "attributes": { | |
| "nid": 1, | |
| "uuid": "799bf41c-5f5d-403f-8c51-b929dd649794", | |
| "vid": 1, | |
| "langcode": "en", | |
| "revision_timestamp": 1524075919, | |
| "revision_log": null, | |
| "status": true, | |
| "title": "Article 2 - updated", | |
| "created": 1524075910, | |
| "changed": 1524075919, | |
| "promote": true, | |
| "sticky": false, | |
| "default_langcode": true, | |
| "revision_translation_affected": true, | |
| "path": { | |
| "alias": null, | |
| "pid": null, | |
| "langcode": "en" | |
| }, | |
| "body": { | |
| "value": "<p>asdf</p>\r\n", | |
| "format": "basic_html", | |
| "processed": "<p>asdf</p>", | |
| "summary": "" | |
| }, | |
| "comment": { | |
| "status": 2, | |
| "cid": 0, | |
| "last_comment_timestamp": 1524075919, | |
| "last_comment_name": null, | |
| "last_comment_uid": 1, | |
| "comment_count": 0 | |
| } | |
| }, | |
| "relationships": { | |
| "type": { | |
| "data": { | |
| "type": "node_type--node_type", | |
| "id": "87b6eb68-f51b-49ed-898d-f0942059678f" | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/relationships/type", | |
| "related": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/type" | |
| } | |
| }, | |
| "revision_uid": { | |
| "data": { | |
| "type": "user--user", | |
| "id": "da55683a-4fc9-4481-af88-0d11f3a035e3" | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/relationships/revision_uid", | |
| "related": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/revision_uid" | |
| } | |
| }, | |
| "uid": { | |
| "data": { | |
| "type": "user--user", | |
| "id": "da55683a-4fc9-4481-af88-0d11f3a035e3" | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/relationships/uid", | |
| "related": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/uid" | |
| } | |
| }, | |
| "field_image": { | |
| "data": null, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/relationships/field_image", | |
| "related": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/field_image" | |
| } | |
| }, | |
| "field_tags": { | |
| "data": [], | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/relationships/field_tags", | |
| "related": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794/field_tags" | |
| } | |
| } | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/article/799bf41c-5f5d-403f-8c51-b929dd649794" | |
| } | |
| }, | |
| { | |
| "type": "node--page", | |
| "id": "49defdf8-2f5c-4c0f-a114-b2af3a479ee2", | |
| "attributes": { | |
| "nid": 2, | |
| "uuid": "49defdf8-2f5c-4c0f-a114-b2af3a479ee2", | |
| "vid": 2, | |
| "langcode": "en", | |
| "revision_timestamp": 1524075936, | |
| "revision_log": null, | |
| "status": true, | |
| "title": "page 1", | |
| "created": 1524075930, | |
| "changed": 1524075936, | |
| "promote": false, | |
| "sticky": false, | |
| "default_langcode": true, | |
| "revision_translation_affected": true, | |
| "path": { | |
| "alias": null, | |
| "pid": null, | |
| "langcode": "en" | |
| }, | |
| "body": { | |
| "value": "<p>asdfadsf</p>\r\n", | |
| "format": "basic_html", | |
| "processed": "<p>asdfadsf</p>", | |
| "summary": "" | |
| } | |
| }, | |
| "relationships": { | |
| "type": { | |
| "data": { | |
| "type": "node_type--node_type", | |
| "id": "9378238e-2423-462d-9697-e2c7184b3c9f" | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/page/49defdf8-2f5c-4c0f-a114-b2af3a479ee2/relationships/type", | |
| "related": "http://jsdrupal/jsonapi/node/page/49defdf8-2f5c-4c0f-a114-b2af3a479ee2/type" | |
| } | |
| }, | |
| "revision_uid": { | |
| "data": { | |
| "type": "user--user", | |
| "id": "da55683a-4fc9-4481-af88-0d11f3a035e3" | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/page/49defdf8-2f5c-4c0f-a114-b2af3a479ee2/relationships/revision_uid", | |
| "related": "http://jsdrupal/jsonapi/node/page/49defdf8-2f5c-4c0f-a114-b2af3a479ee2/revision_uid" | |
| } | |
| }, | |
| "uid": { | |
| "data": { | |
| "type": "user--user", | |
| "id": "da55683a-4fc9-4481-af88-0d11f3a035e3" | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/page/49defdf8-2f5c-4c0f-a114-b2af3a479ee2/relationships/uid", | |
| "related": "http://jsdrupal/jsonapi/node/page/49defdf8-2f5c-4c0f-a114-b2af3a479ee2/uid" | |
| } | |
| } | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node/page/49defdf8-2f5c-4c0f-a114-b2af3a479ee2" | |
| } | |
| } | |
| ], | |
| "jsonapi": { | |
| "version": "1.0", | |
| "meta": { | |
| "links": { | |
| "self": "http://jsonapi.org/format/1.0/" | |
| } | |
| } | |
| }, | |
| "links": { | |
| "self": "http://jsdrupal/jsonapi/node" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment