-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobj.json
More file actions
197 lines (197 loc) · 7.86 KB
/
obj.json
File metadata and controls
197 lines (197 loc) · 7.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"id": 1,
"date": "2019-09-17T11:02:04",
"date_gmt": "2019-09-17T11:02:04",
"guid": {
"rendered": "http://headless.local/?p=1"
},
"modified": "2019-09-17T11:43:15",
"modified_gmt": "2019-09-17T11:43:15",
"slug": "hello-world",
"status": "publish",
"type": "post",
"link": "http://headless.local/hello-world/",
"title": {
"rendered": "Hello world!"
},
"content": {
"rendered": "\n<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing!</p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"http://headless.local/wp-content/uploads/2019/09/DSC00071-138-1024x683.jpg\" alt=\"\" class=\"wp-image-6\" srcset=\"http://headless.local/wp-content/uploads/2019/09/DSC00071-138-1024x683.jpg 1024w, http://headless.local/wp-content/uploads/2019/09/DSC00071-138-300x200.jpg 300w, http://headless.local/wp-content/uploads/2019/09/DSC00071-138-768x512.jpg 768w, http://headless.local/wp-content/uploads/2019/09/DSC00071-138-1568x1046.jpg 1568w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" /></figure>\n\n\n\n<div class=\"wp-block-columns has-2-columns\">\n<div class=\"wp-block-column\">\n<ul><li>omar</li><li>khatib</li><li>test</li></ul>\n</div>\n\n\n\n<div class=\"wp-block-column\">\n<div class=\"wp-block-button aligncenter is-style-default\"><a class=\"wp-block-button__link\" href=\"https://gooogle.com\">GO for it</a></div>\n</div>\n</div>\n",
"protected": false
},
"excerpt": {
"rendered": "<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing! omar khatib test</p>\n",
"protected": false
},
"author": 1,
"featured_media": 0,
"comment_status": "open",
"ping_status": "open",
"sticky": false,
"template": "",
"format": "standard",
"meta": [],
"categories": [
1
],
"tags": [],
"has_blocks": true,
"blocks": [
{
"blockName": "core/paragraph",
"attrs": {
"text": "Welcome to WordPress. This is your first post. Edit or delete it, then start writing!"
},
"innerBlocks": [],
"innerHTML": "\n<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing!</p>\n",
"innerContent": [
"\n<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing!</p>\n"
],
"rendered": "\n<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing!</p>\n"
},
{
"blockName": "core/image",
"attrs": {
"id": 6,
"url": "http://headless.local/wp-content/uploads/2019/09/DSC00071-138-1024x683.jpg",
"alt": ""
},
"innerBlocks": [],
"innerHTML": "\n<figure class=\"wp-block-image\"><img src=\"http://headless.local/wp-content/uploads/2019/09/DSC00071-138-1024x683.jpg\" alt=\"\" class=\"wp-image-6\"/></figure>\n",
"innerContent": [
"\n<figure class=\"wp-block-image\"><img src=\"http://headless.local/wp-content/uploads/2019/09/DSC00071-138-1024x683.jpg\" alt=\"\" class=\"wp-image-6\"/></figure>\n"
],
"rendered": "\n<figure class=\"wp-block-image\"><img src=\"http://headless.local/wp-content/uploads/2019/09/DSC00071-138-1024x683.jpg\" alt=\"\" class=\"wp-image-6\"/></figure>\n"
},
{
"blockName": "core/columns",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/list",
"attrs": [],
"innerBlocks": [],
"innerHTML": "\n<ul><li>omar</li><li>khatib</li><li>test</li></ul>\n",
"innerContent": [
"\n<ul><li>omar</li><li>khatib</li><li>test</li></ul>\n"
],
"rendered": "\n<ul><li>omar</li><li>khatib</li><li>test</li></ul>\n"
}
],
"innerHTML": "\n<div class=\"wp-block-column\"></div>\n",
"innerContent": [
"\n<div class=\"wp-block-column\">",
null,
"</div>\n"
],
"rendered": "\n<div class=\"wp-block-column\">\n<ul><li>omar</li><li>khatib</li><li>test</li></ul>\n</div>\n"
},
{
"blockName": "core/column",
"attrs": [],
"innerBlocks": [
{
"blockName": "core/button",
"attrs": {
"align": "center",
"className": "is-style-default",
"url": "https://gooogle.com",
"text": "GO for it"
},
"innerBlocks": [],
"innerHTML": "\n<div class=\"wp-block-button aligncenter is-style-default\"><a class=\"wp-block-button__link\" href=\"https://gooogle.com\">GO for it</a></div>\n",
"innerContent": [
"\n<div class=\"wp-block-button aligncenter is-style-default\"><a class=\"wp-block-button__link\" href=\"https://gooogle.com\">GO for it</a></div>\n"
],
"rendered": "\n<div class=\"wp-block-button aligncenter is-style-default\"><a class=\"wp-block-button__link\" href=\"https://gooogle.com\">GO for it</a></div>\n"
}
],
"innerHTML": "\n<div class=\"wp-block-column\"></div>\n",
"innerContent": [
"\n<div class=\"wp-block-column\">",
null,
"</div>\n"
],
"rendered": "\n<div class=\"wp-block-column\">\n<div class=\"wp-block-button aligncenter is-style-default\"><a class=\"wp-block-button__link\" href=\"https://gooogle.com\">GO for it</a></div>\n</div>\n"
}
],
"innerHTML": "\n<div class=\"wp-block-columns has-2-columns\">\n\n</div>\n",
"innerContent": [
"\n<div class=\"wp-block-columns has-2-columns\">",
null,
"\n\n",
null,
"</div>\n"
],
"rendered": "\n<div class=\"wp-block-columns has-2-columns\">\n<div class=\"wp-block-column\">\n<ul><li>omar</li><li>khatib</li><li>test</li></ul>\n</div>\n\n\n\n<div class=\"wp-block-column\">\n<div class=\"wp-block-button aligncenter is-style-default\"><a class=\"wp-block-button__link\" href=\"https://gooogle.com\">GO for it</a></div>\n</div>\n</div>\n"
}
],
"_links": {
"self": [
{
"href": "http://headless.local/wp-json/wp/v2/posts/1"
}
],
"collection": [
{
"href": "http://headless.local/wp-json/wp/v2/posts"
}
],
"about": [
{
"href": "http://headless.local/wp-json/wp/v2/types/post"
}
],
"author": [
{
"embeddable": true,
"href": "http://headless.local/wp-json/wp/v2/users/1"
}
],
"replies": [
{
"embeddable": true,
"href": "http://headless.local/wp-json/wp/v2/comments?post=1"
}
],
"version-history": [
{
"count": 2,
"href": "http://headless.local/wp-json/wp/v2/posts/1/revisions"
}
],
"predecessor-version": [
{
"id": 8,
"href": "http://headless.local/wp-json/wp/v2/posts/1/revisions/8"
}
],
"wp:attachment": [
{
"href": "http://headless.local/wp-json/wp/v2/media?parent=1"
}
],
"wp:term": [
{
"taxonomy": "category",
"embeddable": true,
"href": "http://headless.local/wp-json/wp/v2/categories?post=1"
},
{
"taxonomy": "post_tag",
"embeddable": true,
"href": "http://headless.local/wp-json/wp/v2/tags?post=1"
}
],
"curies": [
{
"name": "wp",
"href": "https://api.w.org/{rel}",
"templated": true
}
]
}
}