|
| 1 | +{ |
| 2 | + "entry": { |
| 3 | + "uid": "sample_rte_entry_uid", |
| 4 | + "_content_type_uid": "rte_json_comp", |
| 5 | + "title": "Test RTE Entry", |
| 6 | + "locale": "en-us", |
| 7 | + "_version": 1, |
| 8 | + "created_at": "2021-01-01T00:00:00.000Z", |
| 9 | + "updated_at": "2021-01-01T00:00:00.000Z", |
| 10 | + "author_name": "Test Author", |
| 11 | + "category": "Test Category", |
| 12 | + "rte_json": { |
| 13 | + "type": "doc", |
| 14 | + "children": [ |
| 15 | + { |
| 16 | + "type": "p", |
| 17 | + "children": [ |
| 18 | + { "text": "Featured author: " }, |
| 19 | + { |
| 20 | + "type": "reference", |
| 21 | + "attrs": { |
| 22 | + "type": "entry", |
| 23 | + "entry-uid": "sample_author_uid", |
| 24 | + "content-type-uid": "author", |
| 25 | + "locale": "en-us", |
| 26 | + "display-type": "inline" |
| 27 | + }, |
| 28 | + "children": [{ "text": "" }] |
| 29 | + } |
| 30 | + ] |
| 31 | + }, |
| 32 | + { |
| 33 | + "type": "p", |
| 34 | + "children": [{ "text": "Sample image below:" }] |
| 35 | + }, |
| 36 | + { |
| 37 | + "type": "reference", |
| 38 | + "attrs": { |
| 39 | + "type": "asset", |
| 40 | + "asset-uid": "sample_asset_uid", |
| 41 | + "content-type-uid": "sys_assets", |
| 42 | + "display-type": "display" |
| 43 | + }, |
| 44 | + "children": [{ "text": "" }] |
| 45 | + }, |
| 46 | + { |
| 47 | + "type": "reference", |
| 48 | + "attrs": { |
| 49 | + "type": "asset", |
| 50 | + "asset-uid": "sample_asset_uid_2", |
| 51 | + "content-type-uid": "sys_assets", |
| 52 | + "display-type": "display" |
| 53 | + }, |
| 54 | + "children": [{ "text": "" }] |
| 55 | + } |
| 56 | + ] |
| 57 | + }, |
| 58 | + "_embedded_items": { |
| 59 | + "rte_json": [ |
| 60 | + { |
| 61 | + "uid": "sample_author_uid", |
| 62 | + "_content_type_uid": "author", |
| 63 | + "title": "Dummy User", |
| 64 | + "locale": "en-us", |
| 65 | + "_version": 1, |
| 66 | + "bio": "This is a dummy bio used for testing purposes.", |
| 67 | + "email": "dummy.user@example.com", |
| 68 | + "avatar_url": "https://example.com/dummy-avatar.jpg", |
| 69 | + "social": { |
| 70 | + "twitter": "@dummyuser", |
| 71 | + "linkedin": "linkedin.com/in/dummyuser" |
| 72 | + }, |
| 73 | + "tags": ["test", "dummy", "sample"], |
| 74 | + "publish_details": { |
| 75 | + "environment": "test", |
| 76 | + "locale": "en-us", |
| 77 | + "time": "2021-01-01T00:00:00.000Z", |
| 78 | + "user": "sample_user_uid" |
| 79 | + } |
| 80 | + }, |
| 81 | + { |
| 82 | + "uid": "sample_asset_uid", |
| 83 | + "_content_type_uid": "sys_assets", |
| 84 | + "title": "Dummy Image Asset", |
| 85 | + "filename": "dummy-image.jpg", |
| 86 | + "url": "https://example.com/assets/dummy-image.jpg", |
| 87 | + "content_type": "image/jpeg", |
| 88 | + "file_size": "10000", |
| 89 | + "locale": "en-us", |
| 90 | + "is_dir": false, |
| 91 | + "tags": ["test", "dummy"], |
| 92 | + "dimension": { |
| 93 | + "height": 100, |
| 94 | + "width": 100 |
| 95 | + }, |
| 96 | + "publish_details": { |
| 97 | + "environment": "test", |
| 98 | + "locale": "en-us", |
| 99 | + "time": "2021-01-01T00:00:00.000Z", |
| 100 | + "user": "sample_user_uid" |
| 101 | + } |
| 102 | + }, |
| 103 | + { |
| 104 | + "uid": "sample_asset_uid_2", |
| 105 | + "_content_type_uid": "sys_assets", |
| 106 | + "title": "Dummy PNG Asset", |
| 107 | + "filename": "dummy-image.png", |
| 108 | + "url": "https://example.com/assets/dummy-image.png", |
| 109 | + "content_type": "image/png", |
| 110 | + "file_size": "5000", |
| 111 | + "locale": "en-us", |
| 112 | + "is_dir": false, |
| 113 | + "tags": ["test", "dummy"], |
| 114 | + "dimension": { |
| 115 | + "height": 100, |
| 116 | + "width": 100 |
| 117 | + }, |
| 118 | + "publish_details": { |
| 119 | + "environment": "test", |
| 120 | + "locale": "en-us", |
| 121 | + "time": "2021-01-01T00:00:00.000Z", |
| 122 | + "user": "sample_user_uid_2" |
| 123 | + } |
| 124 | + } |
| 125 | + ] |
| 126 | + }, |
| 127 | + "publish_details": { |
| 128 | + "environment": "test", |
| 129 | + "locale": "en-us", |
| 130 | + "time": "2021-01-01T00:00:00.000Z", |
| 131 | + "user": "sample_user_uid" |
| 132 | + } |
| 133 | + } |
| 134 | +} |
0 commit comments