|
4452 | 4452 | "content": {
|
4453 | 4453 | "text/plain": {
|
4454 | 4454 | "schema": {
|
4455 |
| - "$ref": "#/components/schemas/EntityResourceCollectionOutcomeBrandIdSearchResult" |
| 4455 | + "$ref": "#/components/schemas/EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata" |
4456 | 4456 | }
|
4457 | 4457 | },
|
4458 | 4458 | "application/json": {
|
4459 | 4459 | "schema": {
|
4460 |
| - "$ref": "#/components/schemas/EntityResourceCollectionOutcomeBrandIdSearchResult" |
| 4460 | + "$ref": "#/components/schemas/EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata" |
4461 | 4461 | }
|
4462 | 4462 | },
|
4463 | 4463 | "text/json": {
|
4464 | 4464 | "schema": {
|
4465 |
| - "$ref": "#/components/schemas/EntityResourceCollectionOutcomeBrandIdSearchResult" |
| 4465 | + "$ref": "#/components/schemas/EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata" |
4466 | 4466 | }
|
4467 | 4467 | }
|
4468 | 4468 | }
|
|
5219 | 5219 | "description": "The status of the operation.\nThe operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)"
|
5220 | 5220 | },
|
5221 | 5221 | "importRequestTimestamp": {
|
5222 |
| - "type": "integer", |
| 5222 | + "type": "string", |
5223 | 5223 | "description": "The date when the original batch request was sent.",
|
5224 | 5224 | "format": "int64",
|
5225 | 5225 | "nullable": true,
|
5226 | 5226 | "x-nullable": true
|
5227 | 5227 | },
|
5228 | 5228 | "numberOfProductsInTheBatch": {
|
5229 |
| - "type": "integer", |
| 5229 | + "type": "string", |
5230 | 5230 | "description": "The number of products present in the batch.",
|
5231 | 5231 | "format": "int32",
|
5232 | 5232 | "nullable": true,
|
5233 | 5233 | "x-nullable": true
|
5234 | 5234 | },
|
5235 | 5235 | "numberOfProductsUpserted": {
|
5236 |
| - "type": "integer", |
| 5236 | + "type": "string", |
5237 | 5237 | "description": "The number of products upserted.",
|
5238 | 5238 | "format": "int32",
|
5239 | 5239 | "nullable": true,
|
5240 | 5240 | "x-nullable": true
|
5241 | 5241 | },
|
5242 | 5242 | "numberOfProductsDeleted": {
|
5243 |
| - "type": "integer", |
| 5243 | + "type": "string", |
5244 | 5244 | "description": "The number of products deleted.",
|
5245 | 5245 | "format": "int32",
|
5246 | 5246 | "nullable": true,
|
5247 | 5247 | "x-nullable": true
|
5248 | 5248 | },
|
5249 | 5249 | "numberOfProductsWithErrors": {
|
5250 |
| - "type": "integer", |
| 5250 | + "type": "string", |
5251 | 5251 | "description": "The number of products with errors.",
|
5252 | 5252 | "format": "int32",
|
5253 | 5253 | "nullable": true,
|
|
5261 | 5261 | "description": "The list of errors with details."
|
5262 | 5262 | },
|
5263 | 5263 | "numberOfProductsWithWarnings": {
|
5264 |
| - "type": "integer", |
| 5264 | + "type": "string", |
5265 | 5265 | "description": "The number of products with Warnings.",
|
5266 | 5266 | "format": "int32",
|
5267 | 5267 | "nullable": true,
|
|
7464 | 7464 | "nullable": true,
|
7465 | 7465 | "readOnly": true
|
7466 | 7466 | },
|
7467 |
| - "metadata": { |
| 7467 | + "meta": { |
7468 | 7468 | "$ref": "#/components/schemas/ProductMetadata"
|
7469 | 7469 | },
|
7470 | 7470 | "data": {
|
|
13122 | 13122 | "description": "Category information for a preferred line item page",
|
13123 | 13123 | "x-nullable": false
|
13124 | 13124 | },
|
13125 |
| - "EntityResourceCollectionOutcomeBrandIdSearchResult": { |
| 13125 | + "EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata": { |
13126 | 13126 | "type": "object",
|
13127 | 13127 | "properties": {
|
| 13128 | + "metadata": { |
| 13129 | + "$ref": "#/components/schemas/PagingOffsetLimitMetadata" |
| 13130 | + }, |
13128 | 13131 | "data": {
|
13129 | 13132 | "type": "array",
|
13130 | 13133 | "items": {
|
|
13152 | 13155 | }
|
13153 | 13156 | },
|
13154 | 13157 | "additionalProperties": false,
|
13155 |
| - "description": "A top-level object that encapsulates a Criteo API response for several entities." |
| 13158 | + "description": "A top-level object that encapsulates a Criteo API response for several entities and metadata." |
13156 | 13159 | },
|
13157 | 13160 | "ValueResourceInputBrandIdSearchRequest": {
|
13158 | 13161 | "type": "object",
|
|
13164 | 13167 | "additionalProperties": false,
|
13165 | 13168 | "description": "A top-level object that encapsulates a Criteo API request for a single value objects."
|
13166 | 13169 | },
|
| 13170 | + "PagingOffsetLimitMetadata": { |
| 13171 | + "required": [ |
| 13172 | + "limit", |
| 13173 | + "offset" |
| 13174 | + ], |
| 13175 | + "type": "object", |
| 13176 | + "properties": { |
| 13177 | + "count": { |
| 13178 | + "type": "integer", |
| 13179 | + "format": "int64", |
| 13180 | + "nullable": true |
| 13181 | + }, |
| 13182 | + "offset": { |
| 13183 | + "type": "integer", |
| 13184 | + "description": "The (zero-based) starting offset in the collection.", |
| 13185 | + "format": "int32" |
| 13186 | + }, |
| 13187 | + "limit": { |
| 13188 | + "type": "integer", |
| 13189 | + "description": "The number of elements to be returned.", |
| 13190 | + "format": "int32" |
| 13191 | + } |
| 13192 | + }, |
| 13193 | + "additionalProperties": false, |
| 13194 | + "description": "Metadata for paging data." |
| 13195 | + }, |
13167 | 13196 | "EntityResourceBrandIdSearchResult": {
|
13168 | 13197 | "type": "object",
|
13169 | 13198 | "properties": {
|
@@ -13233,16 +13262,19 @@
|
13233 | 13262 | "description": "An object that represents the result from a brand ID search."
|
13234 | 13263 | },
|
13235 | 13264 | "BrandIdSearchRequest": {
|
| 13265 | + "required": [ |
| 13266 | + "retailerIds" |
| 13267 | + ], |
13236 | 13268 | "type": "object",
|
13237 | 13269 | "properties": {
|
13238 | 13270 | "retailerIds": {
|
| 13271 | + "minItems": 1, |
13239 | 13272 | "type": "array",
|
13240 | 13273 | "items": {
|
13241 | 13274 | "type": "integer",
|
13242 | 13275 | "format": "int32"
|
13243 | 13276 | },
|
13244 |
| - "description": "IDs of the retailers we want to limit the search to", |
13245 |
| - "nullable": true |
| 13277 | + "description": "IDs of the retailers we want to limit the search to" |
13246 | 13278 | },
|
13247 | 13279 | "name": {
|
13248 | 13280 | "type": "string",
|
|
0 commit comments