contentstack_utils 1.0.1 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,15 +1,15 @@
1
1
  NO_HTML = 'non html string'
2
2
  SIMPLE_HTML = '<h1>Hello</h1> World'
3
3
 
4
- ENTRY_BLOCK = '<figure class="embedded-entry block-entry" data-redactor-type="embed" type="entry" data-sys-entry-uid="blt55f6d8cbd7e03a1f" data-sys-entry-locale="en-us" data-sys-content-type-uid="article" sys-style-type="block">{{title}}</figure>'
5
- ENTRY_INLINE = '<figure class="embedded-entry inline-entry" data-redactor-type="embed" type="entry" data-sys-entry-uid="blt55f6d8cbd7e03a1f" data-sys-entry-locale="en-us" data-sys-content-type-uid="article" style="display:inline;" sys-style-type="inline">{{title}}
4
+ ENTRY_BLOCK = '<figure class="embedded-entry block-entry" data-redactor-type="embed" type="entry" data-sys-entry-uid="entry_uid_7" data-sys-entry-locale="en-us" data-sys-content-type-uid="article" sys-style-type="block">{{title}}</figure>'
5
+ ENTRY_INLINE = '<figure class="embedded-entry inline-entry" data-redactor-type="embed" type="entry" data-sys-entry-uid="entry_uid_7" data-sys-entry-locale="en-us" data-sys-content-type-uid="article" style="display:inline;" sys-style-type="inline">{{title}}
6
6
  </figure>'
7
- ENTRY_LINK ='<figure class="embedded-entry link-entry" type="entry" data-sys-entry-locale="en-us" data-sys-entry-uid="blt55f6d8cbd7e03a1f" href="/this-is-unique-title" data-sys-content-type-uid="article" style="display:inline;" sys-style-type="link">{{title}}
7
+ ENTRY_LINK ='<figure class="embedded-entry link-entry" type="entry" data-sys-entry-locale="en-us" data-sys-entry-uid="entry_uid_7" href="/this-is-unique-title" data-sys-content-type-uid="article" style="display:inline;" sys-style-type="link">{{title}}
8
8
  </figure>'
9
9
 
10
- ASSET_DISPLAY = '<figure class="embedded-asset" alt="{{object.title}}" data-redactor-type="embed" data-sys-asset-filelink="{{url}}" data-sys-asset-filename="Cuvier-67_Autruche_d_Afrique.jpg" data-sys-asset-contenttype="image/png" type="asset" data-sys-asset-uid="blt55f6d8cbd7e03a1f" style="display:inline;" sys-style-type="display">
10
+ ASSET_DISPLAY = '<figure class="embedded-asset" alt="{{object.title}}" data-redactor-type="embed" data-sys-asset-filelink="{{url}}" data-sys-asset-filename="Cuvier-67_Autruche_d_Afrique.jpg" data-sys-asset-contenttype="image/png" type="asset" data-sys-asset-uid="entry_uid_7" style="display:inline;" sys-style-type="display">
11
11
  </figure>'
12
- ASSET_DOWNLOAD = '<figure class="embedded-asset" data-redactor-type="embed" data-sys-asset-filelink="{{url}}" data-sys-asset-uid="blt120a5a04d91c9466" data-sys-asset-filename="iphone-mockup.png" data-sys-asset-contenttype="image/png" data-sys-asset-alt="iphone-mockup.png" data-sys-asset-caption="Caption" data-sys-asset-link="{{link}}" data-sys-asset-position="center" data-sys-asset-isnewtab="true" type="asset" sys-style-type="download"></figure>'
12
+ ASSET_DOWNLOAD = '<figure class="embedded-asset" data-redactor-type="embed" data-sys-asset-filelink="{{url}}" data-sys-asset-uid="entry_uid_8" data-sys-asset-filename="iphone-mockup.png" data-sys-asset-contenttype="image/png" data-sys-asset-alt="iphone-mockup.png" data-sys-asset-caption="Caption" data-sys-asset-link="{{link}}" data-sys-asset-position="center" data-sys-asset-isnewtab="true" type="asset" sys-style-type="download"></figure>'
13
13
 
14
14
  ENTRY_CONTENT_BLANK = {
15
15
  "uid"=> "uid",
@@ -45,11 +45,11 @@ ENTRY_CONTENT_TITLE_URL = {
45
45
  ENTRY_EMBEDDED_ASSET = {
46
46
  "title"=> 'one',
47
47
  "url"=> '/one',
48
- "rich_text_editor"=> '<p></p><figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.asset/v3/assets/dummy.pdf" data-sys-asset-uid="blt44asset" data-sys-asset-filename="dummy.pdf" data-sys-asset-contenttype="application/pdf" type="asset" sys-style-type="display"></figure>\n<img data-image="236uaymkloww" src="https://contentstack.image/v3/assets/blt333/c/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt222" alt="html5.png">\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blt333/blt9844/5f3f6fdbdcb41a4ad11f845f/svg-logo-text.png" data-sys-asset-uid="blt9844" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
48
+ "rich_text_editor"=> '<p></p><figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.asset/v3/dummy.pdf" data-sys-asset-uid="asset_uid_1" data-sys-asset-filename="dummy.pdf" data-sys-asset-contenttype="application/pdf" type="asset" sys-style-type="display"></figure>\n<img data-image="236uaymkloww" src="https://contentstack.image/v3/html5.png" data-sys-asset-uid="entry_uid_9" alt="html5.png">\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/svg-logo-text.png" data-sys-asset-uid="entry_uid_5" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
49
49
  "locale"=> 'en-us',
50
- "uid"=> 'blt88jn',
51
- "created_by"=> 'bltcreate',
52
- "updated_by"=> 'bltcreate',
50
+ "uid"=> 'entry_uid_4',
51
+ "created_by"=> 'created_at_date',
52
+ "updated_by"=> 'created_at_date',
53
53
  "created_at"=> '2020-08-13T06:18:18.989Z',
54
54
  "updated_at"=> '2020-08-31T06:06:31.258Z',
55
55
  "markdown"=> '',
@@ -57,29 +57,29 @@ ENTRY_EMBEDDED_ASSET = {
57
57
  "rich_text_editor"=> [
58
58
  {
59
59
  "_content_type_uid"=> 'sys_assets',
60
- "uid"=> 'blt44asset',
60
+ "uid"=> 'asset_uid_1',
61
61
  "created_at"=> '2020-08-19T09:13:32.785Z',
62
62
  "updated_at"=> '2020-08-19T09:13:32.785Z',
63
- "created_by"=> 'bltcreate',
64
- "updated_by"=> 'bltcreate',
63
+ "created_by"=> 'created_at_date',
64
+ "updated_by"=> 'created_at_date',
65
65
  "content_type"=> 'application/pdf',
66
66
  "file_size"=> '13264',
67
67
  "filename"=> 'dummy.pdf',
68
- "url"=> '/v3/assets/blt333/blt44asset/dummy.pdf',
68
+ "url"=> '/v3/dummy.pdf',
69
69
  "_version"=> 1,
70
70
  "title"=> 'dummy.pdf'
71
71
  },
72
72
  {
73
73
  "_content_type_uid"=> 'sys_assets',
74
- "uid"=> 'blt9844',
74
+ "uid"=> 'entry_uid_5',
75
75
  "created_at"=> '2020-08-19T09:13:05.864Z',
76
76
  "updated_at"=> '2020-09-10T09:35:28.393Z',
77
- "created_by"=> 'bltcreate',
78
- "updated_by"=> 'bltcreate',
77
+ "created_by"=> 'created_at_date',
78
+ "updated_by"=> 'created_at_date',
79
79
  "content_type"=> 'image/png',
80
80
  "file_size"=> '36743',
81
81
  "filename"=> 'svg-logo-text.png',
82
- "url"=> '/v3/assets/blt333/blt9844/5f59f360d33e9a0a3571b707/svg-logo-text.png',
82
+ "url"=> '/v3/svg-logo-text.png',
83
83
  "_version"=> 7,
84
84
  "title"=> 'svg-logo-text.png',
85
85
  "description"=> '',
@@ -91,11 +91,11 @@ ENTRY_EMBEDDED_ASSET = {
91
91
  ENTRY_ASSET_EMBED_BLANK = {
92
92
  "title"=> 'one',
93
93
  "url"=> '/one',
94
- "rich_text_editor"=> '<p>&nbsp;</p><figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.asset/v3/assets/dummy.pdf" data-sys-asset-uid="blt44asset" data-sys-asset-filename="dummy.pdf" data-sys-asset-contenttype="application/pdf" type="asset" sys-style-type="display"></figure>\n<img data-image="236uaymkloww" src="https://contentstack.image/v3/assets/blt333/c/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt222" alt="html5.png">\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blt333/blt9844/5f3f6fdbdcb41a4ad11f845f/svg-logo-text.png" data-sys-asset-uid="blt9844" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
94
+ "rich_text_editor"=> '<p>&nbsp;</p><figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.asset/v3/dummy.pdf" data-sys-asset-uid="asset_uid_1" data-sys-asset-filename="dummy.pdf" data-sys-asset-contenttype="application/pdf" type="asset" sys-style-type="display"></figure>\n<img data-image="236uaymkloww" src="https://contentstack.image/v3/html5.png" data-sys-asset-uid="entry_uid_9" alt="html5.png">\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/svg-logo-text.png" data-sys-asset-uid="entry_uid_5" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
95
95
  "locale"=> 'en-us',
96
- "uid"=> 'blt88jn',
97
- "created_by"=> 'bltcreate',
98
- "updated_by"=> 'bltcreate',
96
+ "uid"=> 'entry_uid_4',
97
+ "created_by"=> 'created_at_date',
98
+ "updated_by"=> 'created_at_date',
99
99
  "created_at"=> '2020-08-13T06:18:18.989Z',
100
100
  "updated_at"=> '2020-08-31T06:06:31.258Z',
101
101
  "markdown"=> '',
@@ -104,18 +104,18 @@ ENTRY_ASSET_EMBED_BLANK = {
104
104
  ENTRY_EMBEDDED_ENTRIES = {
105
105
  "title"=> 'entry and assets',
106
106
  "url"=> '/entry-and-assets',
107
- "rich_text_editor"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="blttitleUpdateUID" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="block" type="entry"></figure>\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetEmbuid/5f57ae45c83b840a87d92910/html5.png" data-sys-asset-uid="bltassetEmbuid" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
107
+ "rich_text_editor"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_3" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="block" type="entry"></figure>\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="entry_uid_6" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
108
108
  "locale"=> 'en-us',
109
109
  "_in_progress"=> false,
110
- "uid"=> 'blt88jn',
111
- "rte"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="bltemmbedEntryUID" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="inline" type="entry"></figure>\n<p></p>',
110
+ "uid"=> 'entry_uid_4',
111
+ "rte"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_2" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="inline" type="entry"></figure>\n<p></p>',
112
112
  "_embedded_items"=> {
113
113
  "rich_text_editor"=> [
114
114
  {
115
115
  "title"=> 'Update this title',
116
116
  "url"=> '',
117
117
  "locale"=> 'en-us',
118
- "uid"=> 'blttitleuid',
118
+ "uid"=> 'entry_uid_1',
119
119
  "_content_type_uid"=> 'content_block',
120
120
  "_version"=> 5,
121
121
  "_in_progress"=> false,
@@ -123,26 +123,26 @@ ENTRY_EMBEDDED_ENTRIES = {
123
123
  "_embedded_items"=> {
124
124
  "rich_text_editor"=> [
125
125
  {
126
- "uid"=> 'blttitleuid',
126
+ "uid"=> 'entry_uid_1',
127
127
  "_content_type_uid"=> 'content_block'
128
128
  }
129
129
  ]
130
130
  },
131
- "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"> asfsaf </figure>',
131
+ "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"> asfsaf </figure>',
132
132
  },
133
133
  {
134
134
  "title"=> 'updated title',
135
135
  "rich_text_editor"=> [
136
- '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetUID/5f4dee15f4b7a40acfb622dc/DIABETICDIET-800x600.jpg" data-sys-asset-uid="bltassetUID" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
136
+ '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/DIABETICDIET-800x600.jpg" data-sys-asset-uid="asset_uid_2" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
137
137
  ],
138
138
  "locale"=> 'en-us',
139
- "uid"=> 'blttitleUpdateUID',
139
+ "uid"=> 'entry_uid_3',
140
140
  "_content_type_uid"=> 'embeddedrte',
141
141
  "_in_progress"=> false,
142
142
  "_embedded_items"=> {
143
143
  "rich_text_editor"=> [
144
144
  {
145
- "uid"=> 'bltassetUID',
145
+ "uid"=> 'asset_uid_2',
146
146
  "_content_type_uid"=> 'sys_assets',
147
147
  }
148
148
  ]
@@ -151,48 +151,48 @@ ENTRY_EMBEDDED_ENTRIES = {
151
151
  {
152
152
  "title"=> 'Entry with embedded entry',
153
153
  "rich_text_editor"=> [
154
- '<figure class="embedded-entry block-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/blt1234AssetUID/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt1234AssetUID" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
154
+ '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="asset_uid_3" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
155
155
  ],
156
156
  "locale"=> 'en-us',
157
- "uid"=> 'bltemmbedEntryUID',
157
+ "uid"=> 'entry_uid_2',
158
158
  "_content_type_uid"=> 'embeddedrte',
159
159
  "_in_progress"=> false,
160
160
  "_embedded_items"=> {
161
161
  "rich_text_editor"=> [
162
162
  {
163
- "uid"=> 'blt1234CtUID',
163
+ "uid"=> 'entry_uid_4',
164
164
  "_content_type_uid"=> '1234'
165
165
  },
166
166
  {
167
- "uid"=> 'blt1234CtUID',
167
+ "uid"=> 'entry_uid_4',
168
168
  "_content_type_uid"=> '1234'
169
169
  },
170
170
  {
171
- "uid"=> 'blt1234AssetUID',
171
+ "uid"=> 'asset_uid_3',
172
172
  "_content_type_uid"=> 'sys_assets'
173
173
  }
174
174
  ]
175
175
  }
176
176
  },
177
177
  {
178
- "uid"=> 'bltassetEmbuid',
178
+ "uid"=> 'entry_uid_6',
179
179
  "_content_type_uid"=> 'sys_assets',
180
180
  "content_type"=> 'image/png',
181
181
  "file_size"=> '36743',
182
182
  "filename"=> 'svg-logo-text.png',
183
- "url"=> '/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png',
183
+ "url"=> '/v3/svg-logo-text.png',
184
184
  "title"=> 'svg-logo-text.png',
185
185
  "description"=> ''
186
186
  }
187
187
  ],
188
188
  "rte"=> [
189
189
  {
190
- "uid"=> 'bltassetEmbuid',
190
+ "uid"=> 'entry_uid_6',
191
191
  "content_type"=> 'image/png',
192
192
  "_content_type_uid"=> 'sys_assets',
193
193
  "file_size"=> '36743',
194
194
  "filename"=> 'svg-logo-text.png',
195
- "url"=> '/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png',
195
+ "url"=> '/v3/svg-logo-text.png',
196
196
  "title"=> 'svg-logo-text.png',
197
197
  "description"=> ''
198
198
  },
@@ -200,7 +200,7 @@ ENTRY_EMBEDDED_ENTRIES = {
200
200
  "title"=> 'Update this title',
201
201
  "url"=> '',
202
202
  "locale"=> 'en-us',
203
- "uid"=> 'blttitleuid',
203
+ "uid"=> 'entry_uid_1',
204
204
  "_content_type_uid"=> 'content_block',
205
205
  "_version"=> 5,
206
206
  "_in_progress"=> false,
@@ -208,27 +208,27 @@ ENTRY_EMBEDDED_ENTRIES = {
208
208
  "_embedded_items"=> {
209
209
  "rich_text_editor"=> [
210
210
  {
211
- "uid"=> 'blttitleuid',
211
+ "uid"=> 'entry_uid_1',
212
212
  "_content_type_uid"=> 'content_block'
213
213
  }
214
214
  ]
215
215
  },
216
- "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"> asfsaf </figure>',
216
+ "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"> asfsaf </figure>',
217
217
  },
218
218
  {
219
219
  "title"=> 'updated title',
220
220
  "rich_text_editor"=> [
221
- '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetUID/5f4dee15f4b7a40acfb622dc/DIABETICDIET-800x600.jpg" data-sys-asset-uid="bltassetUID" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
221
+ '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/DIABETICDIET-800x600.jpg" data-sys-asset-uid="asset_uid_2" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
222
222
  ],
223
223
  "locale"=> 'en-us',
224
- "uid"=> 'blttitleUpdateUID',
224
+ "uid"=> 'entry_uid_3',
225
225
  "_content_type_uid"=> 'embeddedrte',
226
226
  "_in_progress"=> false,
227
227
  "_embedded_items"=> {
228
228
  "rich_text_editor"=>
229
229
  [
230
230
  {
231
- "uid"=> 'bltassetUID',
231
+ "uid"=> 'asset_uid_2',
232
232
  "_content_type_uid"=> 'sys_assets'
233
233
  }
234
234
  ]
@@ -237,24 +237,24 @@ ENTRY_EMBEDDED_ENTRIES = {
237
237
  {
238
238
  "title"=> 'Entry with embedded entry',
239
239
  "rich_text_editor"=> [
240
- '<figure class="embedded-entry block-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/blt1234AssetUID/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt1234AssetUID" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
240
+ '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="asset_uid_3" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
241
241
  ],
242
242
  "locale"=> 'en-us',
243
- "uid"=> 'bltemmbedEntryUID',
243
+ "uid"=> 'entry_uid_2',
244
244
  "_content_type_uid"=> 'embeddedrte',
245
245
  "_in_progress"=> false,
246
246
  "_embedded_items"=> {
247
247
  "rich_text_editor"=>[
248
248
  {
249
- "uid"=> 'blt1234CtUID',
249
+ "uid"=> 'entry_uid_4',
250
250
  "_content_type_uid"=> '1234'
251
251
  },
252
252
  {
253
- "uid"=> 'blt1234CtUID',
253
+ "uid"=> 'entry_uid_4',
254
254
  "_content_type_uid"=> '1234'
255
255
  },
256
256
  {
257
- "uid"=> 'blt1234AssetUID',
257
+ "uid"=> 'asset_uid_3',
258
258
  "_content_type_uid"=> 'sys_assets'
259
259
  }
260
260
  ]
@@ -267,19 +267,19 @@ ENTRY_EMBEDDED_ENTRIES = {
267
267
  ENTRY_EMBEDDED_OBJECTS = {
268
268
  "title"=> 'entry and assets',
269
269
  "url"=> '/entry-and-assets',
270
- "rich_text_editor"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="blttitleUpdateUID" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="block" type="entry"></figure>\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetEmbuid/5f57ae45c83b840a87d92910/html5.png" data-sys-asset-uid="bltassetEmbuid" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
270
+ "rich_text_editor"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_3" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="block" type="entry"></figure>\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="entry_uid_6" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
271
271
  "locale"=> 'en-us',
272
272
  "_in_progress"=> false,
273
- "uid"=> 'blt88jn',
274
- "rte"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="bltemmbedEntryUID" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="inline" type="entry"></figure>\n<p></p>',
273
+ "uid"=> 'entry_uid_4',
274
+ "rte"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_2" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="inline" type="entry"></figure>\n<p></p>',
275
275
  "_embedded_items"=> {
276
276
  "rich_text_editor"=> [
277
277
  {
278
- "uid"=> 'bltassetEmbuid',
278
+ "uid"=> 'entry_uid_6',
279
279
  "content_type"=> 'image/png',
280
280
  "file_size"=> '36743',
281
281
  "filename"=> 'svg-logo-text.png',
282
- "url"=> '/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png',
282
+ "url"=> '/v3/svg-logo-text.png',
283
283
  "title"=> 'svg-logo-text.png',
284
284
  "description"=> '',
285
285
  "_content_type_uid"=> 'sys_assets',
@@ -288,7 +288,7 @@ ENTRY_EMBEDDED_OBJECTS = {
288
288
  "title"=> 'Update this title',
289
289
  "url"=> '',
290
290
  "locale"=> 'en-us',
291
- "uid"=> 'blttitleuid',
291
+ "uid"=> 'entry_uid_1',
292
292
  "_content_type_uid"=> 'content_block',
293
293
  "_version"=> 5,
294
294
  "_in_progress"=> false,
@@ -296,27 +296,27 @@ ENTRY_EMBEDDED_OBJECTS = {
296
296
  "_embedded_items"=> {
297
297
  "rich_text_editor"=> [
298
298
  {
299
- "uid"=> 'blttitleuid',
299
+ "uid"=> 'entry_uid_1',
300
300
  "_content_type_uid"=> 'content_block'
301
301
  }
302
302
  ]
303
303
  },
304
- "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
304
+ "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
305
305
  },
306
306
  {
307
307
  "title"=> 'updated title',
308
308
  "rich_text_editor"=> [
309
- '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetUID/5f4dee15f4b7a40acfb622dc/DIABETICDIET-800x600.jpg" data-sys-asset-uid="bltassetUID" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
309
+ '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/DIABETICDIET-800x600.jpg" data-sys-asset-uid="asset_uid_2" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
310
310
  ],
311
311
  "locale"=> 'en-us',
312
- "uid"=> 'blttitleUpdateUID',
312
+ "uid"=> 'entry_uid_3',
313
313
  "_content_type_uid"=> 'embeddedrte',
314
314
  "_in_progress"=> false,
315
315
  "_embedded_items"=> {
316
316
  "rich_text_editor"=>
317
317
  [
318
318
  {
319
- "uid"=> 'bltassetUID',
319
+ "uid"=> 'asset_uid_2',
320
320
  "_content_type_uid"=> 'sys_assets'
321
321
  }
322
322
  ]
@@ -325,24 +325,24 @@ ENTRY_EMBEDDED_OBJECTS = {
325
325
  {
326
326
  "title"=> 'Entry with embedded entry',
327
327
  "rich_text_editor"=> [
328
- '<figure class="embedded-entry block-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/blt1234AssetUID/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt1234AssetUID" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
328
+ '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="asset_uid_3" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
329
329
  ],
330
330
  "locale"=> 'en-us',
331
- "uid"=> 'bltemmbedEntryUID',
331
+ "uid"=> 'entry_uid_2',
332
332
  "_content_type_uid"=> 'embeddedrte',
333
333
  "_in_progress"=> false,
334
334
  "_embedded_items"=> {
335
335
  "rich_text_editor"=> [
336
336
  {
337
- "uid"=> 'blt1234CtUID',
337
+ "uid"=> 'entry_uid_4',
338
338
  "_content_type_uid"=> '1234'
339
339
  },
340
340
  {
341
- "uid"=> 'blt1234CtUID',
341
+ "uid"=> 'entry_uid_4',
342
342
  "_content_type_uid"=> '1234'
343
343
  },
344
344
  {
345
- "uid"=> 'blt1234AssetUID',
345
+ "uid"=> 'asset_uid_3',
346
346
  "_content_type_uid"=> 'sys_assets'
347
347
  }
348
348
  ]
@@ -354,7 +354,7 @@ ENTRY_EMBEDDED_OBJECTS = {
354
354
  "title"=> 'Update this title',
355
355
  "url"=> '',
356
356
  "locale"=> 'en-us',
357
- "uid"=> 'blttitleuid',
357
+ "uid"=> 'entry_uid_1',
358
358
  "_content_type_uid"=> 'content_block',
359
359
  "_version"=> 5,
360
360
  "_in_progress"=> false,
@@ -362,27 +362,27 @@ ENTRY_EMBEDDED_OBJECTS = {
362
362
  "_embedded_items"=> {
363
363
  "rich_text_editor"=>[
364
364
  {
365
- "uid"=> 'blttitleuid',
365
+ "uid"=> 'entry_uid_1',
366
366
  "_content_type_uid"=> 'content_block'
367
367
  }
368
368
  ]
369
369
  },
370
- "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
370
+ "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
371
371
  },
372
372
  {
373
373
  "title"=> 'updated title',
374
374
  "rich_text_editor"=> [
375
- '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetUID/5f4dee15f4b7a40acfb622dc/DIABETICDIET-800x600.jpg" data-sys-asset-uid="bltassetUID" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
375
+ '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/DIABETICDIET-800x600.jpg" data-sys-asset-uid="asset_uid_2" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
376
376
  ],
377
377
  "locale"=> 'en-us',
378
- "uid"=> 'blttitleUpdateUID',
378
+ "uid"=> 'entry_uid_3',
379
379
  "_content_type_uid"=> 'embeddedrte',
380
380
  "_in_progress"=> false,
381
381
  "_embedded_items"=> {
382
382
  "rich_text_editor"=>
383
383
  [
384
384
  {
385
- "uid"=> 'bltassetUID',
385
+ "uid"=> 'asset_uid_2',
386
386
  "_content_type_uid"=> 'sys_assets',
387
387
  }
388
388
  ]
@@ -391,24 +391,24 @@ ENTRY_EMBEDDED_OBJECTS = {
391
391
  {
392
392
  "title"=> 'Entry with embedded entry',
393
393
  "rich_text_editor"=> [
394
- '<figure class="embedded-entry block-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/blt1234AssetUID/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt1234AssetUID" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
394
+ '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="asset_uid_3" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
395
395
  ],
396
396
  "locale"=> 'en-us',
397
- "uid"=> 'bltemmbedEntryUID',
397
+ "uid"=> 'entry_uid_2',
398
398
  "_content_type_uid"=> 'embeddedrte',
399
399
  "_in_progress"=> false,
400
400
  "_embedded_items"=> {
401
401
  "rich_text_editor"=>[
402
402
  {
403
- "uid"=> 'blt1234CtUID',
403
+ "uid"=> 'entry_uid_4',
404
404
  "_content_type_uid"=> '1234'
405
405
  },
406
406
  {
407
- "uid"=> 'blt1234CtUID',
407
+ "uid"=> 'entry_uid_4',
408
408
  "_content_type_uid"=> '1234'
409
409
  },
410
410
  {
411
- "uid"=> 'blt1234AssetUID',
411
+ "uid"=> 'asset_uid_3',
412
412
  "_content_type_uid"=> 'sys_assets'
413
413
  }
414
414
  ]
@@ -420,19 +420,19 @@ ENTRY_EMBEDDED_OBJECTS = {
420
420
  ENNTRY_MULTIPLE_EMBED = {
421
421
  "title"=> 'entry and assets',
422
422
  "url"=> '/entry-and-assets',
423
- "rich_text_editor"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="blttitleUpdateUID" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="block" type="entry"></figure>\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetEmbuid/5f57ae45c83b840a87d92910/html5.png" data-sys-asset-uid="bltassetEmbuid" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
423
+ "rich_text_editor"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_3" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="block" type="entry"></figure>\n<p></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="entry_uid_6" data-sys-asset-filename="svg-logo-text.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>',
424
424
  "locale"=> 'en-us',
425
425
  "_in_progress"=> false,
426
- "uid"=> 'blt88jn',
427
- "rte"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="bltemmbedEntryUID" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="inline" type="entry"></figure>\n<p></p>',
426
+ "uid"=> 'entry_uid_4',
427
+ "rte"=> '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_2" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="embeddedrte" sys-style-type="inline" type="entry"></figure>\n<p></p>',
428
428
  "_embedded_items"=> {
429
429
  "rich_text_editor"=> [
430
430
  {
431
- "uid"=> 'bltassetEmbuid',
431
+ "uid"=> 'entry_uid_6',
432
432
  "content_type"=> 'image/png',
433
433
  "file_size"=> '36743',
434
434
  "filename"=> 'svg-logo-text.png',
435
- "url"=> '/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png',
435
+ "url"=> '/v3/svg-logo-text.png',
436
436
  "title"=> 'svg-logo-text.png',
437
437
  "description"=> '',
438
438
  "_content_type_uid"=> 'sys_assets',
@@ -441,7 +441,7 @@ ENNTRY_MULTIPLE_EMBED = {
441
441
  "title"=> 'Update this title',
442
442
  "url"=> '',
443
443
  "locale"=> 'en-us',
444
- "uid"=> 'blttitleuid',
444
+ "uid"=> 'entry_uid_1',
445
445
  "_content_type_uid"=> 'content_block',
446
446
  "_version"=> 5,
447
447
  "_in_progress"=> false,
@@ -449,31 +449,31 @@ ENNTRY_MULTIPLE_EMBED = {
449
449
  "_embedded_items"=> {
450
450
  "rich_text_editor"=> [
451
451
  {
452
- "uid"=> 'blttitleuid',
452
+ "uid"=> 'entry_uid_1',
453
453
  "_content_type_uid"=> 'content_block'
454
454
  }
455
455
  ]
456
456
  },
457
- "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
457
+ "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
458
458
  },
459
459
  {
460
460
  "title"=> 'updated title',
461
461
  "rich_text_editor"=> [
462
- '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetUID/5f4dee15f4b7a40acfb622dc/DIABETICDIET-800x600.jpg" data-sys-asset-uid="bltassetUID" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
462
+ '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/DIABETICDIET-800x600.jpg" data-sys-asset-uid="asset_uid_2" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
463
463
  ],
464
464
  "locale"=> 'en-us',
465
- "uid"=> 'blttitleUpdateUID',
465
+ "uid"=> 'entry_uid_3',
466
466
  "_content_type_uid"=> 'embeddedrte',
467
467
  "_in_progress"=> false,
468
468
  "_embedded_items"=> {
469
469
  "rich_text_editor"=>[
470
470
  {
471
471
  "_content_type_uid"=> 'sys_assets',
472
- "uid"=> 'bltassetUID',
472
+ "uid"=> 'asset_uid_2',
473
473
  "content_type"=> 'image/png',
474
474
  "file_size"=> '36743',
475
475
  "filename"=> 'svg-logo-text.png',
476
- "url"=> '/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png',
476
+ "url"=> '/v3/svg-logo-text.png',
477
477
  "title"=> 'svg-logo-text.png',
478
478
  "description"=> ''
479
479
  }
@@ -483,24 +483,24 @@ ENNTRY_MULTIPLE_EMBED = {
483
483
  {
484
484
  "title"=> 'Entry with embedded entry',
485
485
  "rich_text_editor"=> [
486
- '<figure class="embedded-entry block-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/blt1234AssetUID/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt1234AssetUID" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
486
+ '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="asset_uid_3" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
487
487
  ],
488
488
  "locale"=> 'en-us',
489
- "uid"=> 'bltemmbedEntryUID',
489
+ "uid"=> 'entry_uid_2',
490
490
  "_content_type_uid"=> 'embeddedrte',
491
491
  "_in_progress"=> false,
492
492
  "_embedded_items"=> {
493
493
  "rich_text_editor"=>[
494
494
  {
495
- "uid"=> 'blt1234CtUID',
495
+ "uid"=> 'entry_uid_4',
496
496
  "_content_type_uid"=> '1234'
497
497
  },
498
498
  {
499
- "uid"=> 'blt1234CtUID',
499
+ "uid"=> 'entry_uid_4',
500
500
  "_content_type_uid"=> '1234'
501
501
  },
502
502
  {
503
- "uid"=> 'blt1234AssetUID',
503
+ "uid"=> 'asset_uid_3',
504
504
  "_content_type_uid"=> 'sys_assets'
505
505
  }
506
506
  ]
@@ -509,12 +509,12 @@ ENNTRY_MULTIPLE_EMBED = {
509
509
  ],
510
510
  "rte"=> [
511
511
  {
512
- "uid"=> 'bltassetEmbuid',
512
+ "uid"=> 'entry_uid_6',
513
513
  "content_type"=> 'image/png',
514
514
  "_content_type_uid"=> 'sys_assets',
515
515
  "file_size"=> '36743',
516
516
  "filename"=> 'svg-logo-text.png',
517
- "url"=> '/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png',
517
+ "url"=> '/v3/svg-logo-text.png',
518
518
  "title"=> 'svg-logo-text.png',
519
519
  "description"=> ''
520
520
  },
@@ -522,7 +522,7 @@ ENNTRY_MULTIPLE_EMBED = {
522
522
  "title"=> 'Update this title',
523
523
  "url"=> '',
524
524
  "locale"=> 'en-us',
525
- "uid"=> 'blttitleuid',
525
+ "uid"=> 'entry_uid_1',
526
526
  "_content_type_uid"=> 'content_block',
527
527
  "_version"=> 5,
528
528
  "_in_progress"=> false,
@@ -530,30 +530,30 @@ ENNTRY_MULTIPLE_EMBED = {
530
530
  "_embedded_items"=> {
531
531
  "rich_text_editor"=>[
532
532
  {
533
- "uid"=> 'blttitleuid',
533
+ "uid"=> 'entry_uid_1',
534
534
  "_content_type_uid"=> 'content_block'
535
535
  }
536
536
  ]
537
537
  },
538
- "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="blttitleuid" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
538
+ "rich_text_editor"=> '<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_1" data-sys-entry-"locale"="en-us" data-sys-content-type-uid="content_block" sys-style-type="inline" type="entry"></figure>',
539
539
  },
540
540
  {
541
541
  "title"=> 'updated title',
542
542
  "rich_text_editor"=> [
543
- '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/bltassetUID/5f4dee15f4b7a40acfb622dc/DIABETICDIET-800x600.jpg" data-sys-asset-uid="bltassetUID" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
543
+ '<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/DIABETICDIET-800x600.jpg" data-sys-asset-uid="asset_uid_2" data-sys-asset-filename="DIABETICDIET-800x600.jpg" data-sys-asset-contenttype="image/jpeg" type="asset" sys-style-type="display"></figure>'
544
544
  ],
545
545
  "locale"=> 'en-us',
546
- "uid"=> 'blttitleUpdateUID',
546
+ "uid"=> 'entry_uid_3',
547
547
  "_content_type_uid"=> 'embeddedrte',
548
548
  "_in_progress"=> false,
549
549
  "_embedded_items"=> {
550
550
  "rich_text_editor"=>[
551
551
  {
552
- "uid"=> 'bltassetUID',
552
+ "uid"=> 'asset_uid_2',
553
553
  "content_type"=> 'image/png',
554
554
  "file_size"=> '36743',
555
555
  "filename"=> 'svg-logo-text.png',
556
- "url"=> '/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png',
556
+ "url"=> '/v3/svg-logo-text.png',
557
557
  "title"=> 'svg-logo-text.png',
558
558
  "description"=> '',
559
559
  "_content_type_uid"=> 'sys_assets',
@@ -564,24 +564,24 @@ ENNTRY_MULTIPLE_EMBED = {
564
564
  {
565
565
  "title"=> 'Entry with embedded entry',
566
566
  "rich_text_editor"=> [
567
- '<figure class="embedded-entry block-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="blt1234CtUID" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/assets/blturl/blt1234AssetUID/5f47707a1cef380a7a669416/html5.png" data-sys-asset-uid="blt1234AssetUID" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
567
+ '<figure class="embedded-entry block-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="block" type="entry"></figure>\n<figure class="embedded-entry inline-entry" data-sys-entry-uid="entry_uid_4" data-sys-content-type-uid="1234" sys-style-type="inline" type="entry"></figure>\n<p><br><br></p>\n<figure class="embedded-asset" data-sys-asset-filelink="https://contentstack.image/v3/html5.png" data-sys-asset-uid="asset_uid_3" data-sys-asset-filename="html5.png" data-sys-asset-contenttype="image/png" type="asset" sys-style-type="display"></figure>'
568
568
  ],
569
569
  "locale"=> 'en-us',
570
- "uid"=> 'bltemmbedEntryUID',
570
+ "uid"=> 'entry_uid_2',
571
571
  "_content_type_uid"=> 'embeddedrte',
572
572
  "_in_progress"=> false,
573
573
  "_embedded_items"=> {
574
574
  "rich_text_editor"=> [
575
575
  {
576
- "uid"=> 'blt1234CtUID',
576
+ "uid"=> 'entry_uid_4',
577
577
  "_content_type_uid"=> '1234'
578
578
  },
579
579
  {
580
- "uid"=> 'blt1234CtUID',
580
+ "uid"=> 'entry_uid_4',
581
581
  "_content_type_uid"=> '1234'
582
582
  },
583
583
  {
584
- "uid"=> 'blt1234AssetUID',
584
+ "uid"=> 'asset_uid_3',
585
585
  "_content_type_uid"=> 'sys_assets',
586
586
  }
587
587
  ]
@@ -592,12 +592,12 @@ ENNTRY_MULTIPLE_EMBED = {
592
592
  }
593
593
 
594
594
  ENTRY_ASSET_RICH_TEXT = "<p></p>
595
- <img src='/v3/assets/blt333/blt44asset/dummy.pdf' alt='dummy.pdf' />\\n<img data-image=\"236uaymkloww\" src=\"https://contentstack.image/v3/assets/blt333/c/5f47707a1cef380a7a669416/html5.png\" data-sys-asset-uid=\"blt222\" alt=\"html5.png\">\\n<p></p>\\n<img src='/v3/assets/blt333/blt9844/5f59f360d33e9a0a3571b707/svg-logo-text.png' alt='svg-logo-text.png' />"
595
+ <img src='/v3/dummy.pdf' alt='dummy.pdf' />\\n<img data-image=\"236uaymkloww\" src=\"https://contentstack.image/v3/html5.png\" data-sys-asset-uid=\"entry_uid_9\" alt=\"html5.png\">\\n<p></p>\\n<img src='/v3/svg-logo-text.png' alt='svg-logo-text.png' />"
596
596
 
597
597
  ENTRY_ASSET_RICH_TEXT_RENDER_OPTION = "<p></p>
598
- <img src=\"/v3/assets/blt333/blt44asset/dummy.pdf\" alt=\"Alternet Text\" />\\n<img data-image=\"236uaymkloww\" src=\"https://contentstack.image/v3/assets/blt333/c/5f47707a1cef380a7a669416/html5.png\" data-sys-asset-uid=\"blt222\" alt=\"html5.png\">\\n<p></p>\\n<img src=\"/v3/assets/blt333/blt9844/5f59f360d33e9a0a3571b707/svg-logo-text.png\" alt=\"Alternet Text\" />"
598
+ <img src=\"/v3/dummy.pdf\" alt=\"Alternet Text\" />\\n<img data-image=\"236uaymkloww\" src=\"https://contentstack.image/v3/html5.png\" data-sys-asset-uid=\"entry_uid_9\" alt=\"html5.png\">\\n<p></p>\\n<img src=\"/v3/svg-logo-text.png\" alt=\"Alternet Text\" />"
599
599
 
600
- ENTRY_MULTIPLE_RICH_TEXT = "<div><p>updated title</p><p>Content type: <span>embeddedrte</span></p></div>\\n<p></p>\\n<img src='/v3/assets/blturl/bltassetEmbuid/5f59f360d33e9a0a3571b707/svg-logo-text.png' alt='svg-logo-text.png' />"
600
+ ENTRY_MULTIPLE_RICH_TEXT = "<div><p>updated title</p><p>Content type: <span>embeddedrte</span></p></div>\\n<p></p>\\n<img src='/v3/svg-logo-text.png' alt='svg-logo-text.png' />"
601
601
 
602
602
  entrymultipleRTE = "<div><p>Update this title</p><p>Content type=> <span>content_block</span></p></div>
603
603
  <span>Entry with embedded entry</span>
@@ -605,13 +605,13 @@ entrymultipleRTE = "<div><p>Update this title</p><p>Content type=> <span>content
605
605
 
606
606
  entrymultipleRTERenderOption = "<div>
607
607
  <div>Update this title</div>
608
- <div><span>blttitleuid</span>
608
+ <div><span>entry_uid_1</span>
609
609
  </div>
610
610
  <div>
611
- <div>bltemmbedEntryUID</div>
612
- <MYCONTENT><div><p>blt1234CtUID</p><p>Content type=> <span>1234</span></p></div>
613
- <span>blt1234CtUID</span>
611
+ <div>entry_uid_2</div>
612
+ <MYCONTENT><div><p>entry_uid_4</p><p>Content type=> <span>1234</span></p></div>
613
+ <span>entry_uid_4</span>
614
614
  <p><br><br></p>
615
- <img src='undefined' alt='blt1234AssetUID' /></MYCONTENT>
615
+ <img src='undefined' alt='asset_uid_3' /></MYCONTENT>
616
616
  </div>
617
617
  <p></p>"