Skip to content

Commit

Permalink
Fix RM catalog output in python SDK
Browse files Browse the repository at this point in the history
Update retail media swagger to make retail-media/catalogs/{catalogId}/output actually download the catalog instead of returning None with the python SDK
  • Loading branch information
ttembou committed Jun 18, 2024
1 parent 2380cc9 commit 9eee89c
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
7 changes: 6 additions & 1 deletion api-specifications/retailmedia_2023-04.json
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,12 @@
"200": {
"description": "Catalog download initiated.",
"content": {
"application/x-json-stream": { },
"application/x-json-stream": {
"schema": {
"type": "string",
"format": "binary"
}
},
"application/json": { }
}
},
Expand Down
7 changes: 6 additions & 1 deletion api-specifications/retailmedia_2023-07.json
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,12 @@
"200": {
"description": "Catalog download initiated.",
"content": {
"application/x-json-stream": { },
"application/x-json-stream": {
"schema": {
"type": "string",
"format": "binary"
}
},
"application/json": { }
}
},
Expand Down
7 changes: 6 additions & 1 deletion api-specifications/retailmedia_2023-10.json
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,12 @@
"200": {
"description": "Catalog download initiated.",
"content": {
"application/x-json-stream": { },
"application/x-json-stream": {
"schema": {
"type": "string",
"format": "binary"
}
},
"application/json": { }
}
},
Expand Down
9 changes: 7 additions & 2 deletions api-specifications/retailmedia_2024-01.json
Original file line number Diff line number Diff line change
Expand Up @@ -1242,8 +1242,13 @@
"200": {
"description": "Catalog download initiated.",
"content": {
"application/x-json-stream": { },
"application/json": { }
"application/x-json-stream": {
"schema": {
"type": "string",
"format": "binary"
}
},
"application/json": {}
}
},
"400": {
Expand Down
7 changes: 6 additions & 1 deletion api-specifications/retailmedia_2024-04.json
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,12 @@
"200": {
"description": "Catalog download initiated.",
"content": {
"application/x-json-stream": { },
"application/x-json-stream": {
"schema": {
"type": "string",
"format": "binary"
}
},
"application/json": { }
}
},
Expand Down

0 comments on commit 9eee89c

Please sign in to comment.