Skip to content

Commit 04a7124

Browse files
committed
Fix the record format (#257)
1 parent 6cdddc9 commit 04a7124

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

content/rest-api/resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,14 +1291,14 @@ Below is the JSON standard format representing a reference entity record.
12911291
{
12921292
"code": "kartell",
12931293
"values": {
1294-
"labels": [
1294+
"label": [
12951295
{
12961296
"locale": "en_US",
12971297
"channel": null,
12981298
"data": "Kartell"
12991299
}
13001300
],
1301-
"main_image": [
1301+
"image": [
13021302
{
13031303
"locale": null,
13041304
"channel": null,

content/swagger/resources/reference_entity_records/definitions/reference_entity_record.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ example: {
3434
"data": "Kartell"
3535
}
3636
],
37-
"main_image": [
37+
"image": [
3838
{
3939
"locale": null,
4040
"channel": null,

content/swagger/resources/reference_entity_records/definitions/reference_entity_records.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ example: [
1212
"data": "Kartell"
1313
}
1414
],
15-
"main_image": [
15+
"image": [
1616
{
1717
"locale": null,
1818
"channel": null,
@@ -57,7 +57,7 @@ example: [
5757
"data": "Ligne Roset"
5858
}
5959
],
60-
"main_image": [
60+
"image": [
6161
{
6262
"locale": null,
6363
"channel": null,
@@ -95,7 +95,7 @@ example: [
9595
"data": "USM"
9696
}
9797
],
98-
"main_image": [
98+
"image": [
9999
{
100100
"locale": null,
101101
"channel": null,

0 commit comments

Comments
 (0)