Remove some remaining pagination stuff, add Regio Vrij details example, add more explanation and example descriptions

This commit is contained in:
Max Martens 2025-02-05 13:48:50 +01:00
parent 158cac33ed
commit 024e14f31c
2 changed files with 1213 additions and 791 deletions

File diff suppressed because it is too large Load Diff

View File

@ -50,8 +50,7 @@ paths:
description: No products
value:
{
"Entries": [],
"href": null
"Entries": []
}
getListOneProductNoSellingPeriodsNoTouchpointId:
summary: List containing one product without any SellingPeriods (no touchpointId in HTTP-headers)
@ -80,8 +79,7 @@ paths:
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina"
}
],
"href": null
]
}
getListOneProductNoTouchpointId:
summary: List containing one product with 4 currently active SellingPeriods (no touchpointId in HTTP-headers)
@ -110,12 +108,11 @@ paths:
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina"
}
],
"href": null
]
}
getListOneProductTouchpointId3:
summary: List containing one product with 4 currently active SellingPeriods (touchpointId 3 in HTTP-headers)
description: Only products that have active sellingPeriods for touchpoint 3 are returned
description: Only products that have active sellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned
value:
{
"Entries": [
@ -138,11 +135,10 @@ paths:
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina"
}
],
"href": null
]
}
getListMultipleProductsWithPaginationNoTouchpointId:
summary: List containing multiple products with pagination (no touchpointId in HTTP-headers)
getListMultipleProductsNoTouchpointId:
summary: List containing multiple products (no touchpointId in HTTP-headers)
description: All products are returned, even if they have no active SellingPeriods
value:
{
@ -237,12 +233,11 @@ paths:
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina"
}
],
"href": "https://api.htm.nl/products?pageNumber=2"
]
}
getListMultipleProductsWithPaginationTuchpointId1:
summary: List containing multiple products with pagination (touchpointId 3 in HTTP-headers)
description: Only products that have active SellingPeriods for touchpoint 3 are returned
getListMultipleProductsTuchpointId1:
summary: List containing multiple products (touchpointId 3 in HTTP-headers)
description: Only products that have active SellingPeriods for touchpoint 3 and/or 4 (part of same retailer) are returned
value:
{
"Entries": [
@ -289,8 +284,7 @@ paths:
"imageReference": "https://www.htm.nl/media/leif2leu/htm-logo-mobile.svg",
"productPageUrl": "https://www.htm.nl/nog-onbekende-product-pagina"
}
],
"href": "https://api.htm.nl/products?pageNumber=2"
]
}
'400':
description: '400'
@ -2147,10 +2141,6 @@ components:
type: string
format: uri
example: https://www.htm.nl/nog-onbekende-product-pagina
href:
type: string
format: uri
example: https://api.htm.nl/products?page=2
ProductPayloadResponse:
type: object
required: