{"info":{"_postman_id":"e6640d2c-3a9c-4b83-9d67-0014f316b060","name":"Test Technique API","description":"<html><head></head><body><p>API Test Technique Ultranoir 2024</p>\n<p>Les requetes nécéssite une authentification en <strong>Basic Auth</strong> dont voici les acces</p>\n<ul>\n<li><p><strong>User</strong>: flowershow</p>\n</li>\n<li><p><strong>Password</strong>: Ych9eUTlXNFB</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"34243021","collectionId":"e6640d2c-3a9c-4b83-9d67-0014f316b060","publishedId":"2sA3BhfaDd","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-04-12T14:31:18.000Z"},"item":[{"name":"http://46.101.133.209/api/filters","id":"40b3e345-2103-4ea8-b28f-c5538db1103b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://46.101.133.209/api/filters","description":"<p>Requête permettant de récupérer les différents filtres (id / label).</p>\n","urlObject":{"protocol":"http","path":["api","filters"],"host":["46","101","133","209"],"query":[],"variable":[]}},"response":[{"id":"63c5fa15-960b-4355-95e3-5a9ec2aec785","name":"http://46.101.133.209/api/filters","originalRequest":{"method":"GET","header":[],"url":"http://46.101.133.209/api/filters"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 12 Apr 2024 14:05:56 GMT"},{"key":"Server","value":"Apache/2.4.52 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"785"},{"key":"ETag","value":"W/\"311-LVPuKj0Adzcm61i2Ig2XG0YhWOs\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Success\",\n    \"data\": {\n        \"categories\": {\n            \"label\": \"Catégorie\",\n            \"items\": [\n                {\n                    \"id\": 1,\n                    \"label\": \"Solid\"\n                },\n                {\n                    \"id\": 2,\n                    \"label\": \"Tube\"\n                },\n                {\n                    \"id\": 3,\n                    \"label\": \"Jar\"\n                },\n                {\n                    \"id\": 4,\n                    \"label\": \"Pump\"\n                },\n                {\n                    \"id\": 5,\n                    \"label\": \"Roll-On\"\n                },\n                {\n                    \"id\": 6,\n                    \"label\": \"Bottle\"\n                },\n                {\n                    \"id\": 7,\n                    \"label\": \"Spray\"\n                }\n            ]\n        },\n        \"collections\": {\n            \"label\": \"Collection\",\n            \"items\": [\n                {\n                    \"id\": 1,\n                    \"label\": \"J'adore\"\n                },\n                {\n                    \"id\": 2,\n                    \"label\": \"Miss Dior\"\n                },\n                {\n                    \"id\": 3,\n                    \"label\": \"JOY by Dior\"\n                },\n                {\n                    \"id\": 4,\n                    \"label\": \"Poison\"\n                },\n                {\n                    \"id\": 5,\n                    \"label\": \"Dior Addict\"\n                },\n                {\n                    \"id\": 6,\n                    \"label\": \"Dune\"\n                },\n                {\n                    \"id\": 7,\n                    \"label\": \"Dolce Vita\"\n                },\n                {\n                    \"id\": 8,\n                    \"label\": \"Les Créations de Monsieur Dior\"\n                },\n                {\n                    \"id\": 9,\n                    \"label\": \"BATH & BODY\"\n                }\n            ]\n        },\n        \"capacities\": {\n            \"label\": \"Capacité\",\n            \"items\": [\n                {\n                    \"id\": 1,\n                    \"label\": \"Small (15-20 mL)\"\n                },\n                {\n                    \"id\": 2,\n                    \"label\": \"Medium (40-50 mL)\"\n                },\n                {\n                    \"id\": 3,\n                    \"label\": \"Large (60-100 mL)\"\n                },\n                {\n                    \"id\": 4,\n                    \"label\": \"X-Large (125-400 mL)\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"40b3e345-2103-4ea8-b28f-c5538db1103b"},{"name":"http://46.101.133.209/api/products","id":"4f3a9eae-a0af-4098-98f9-b1fde7086509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://46.101.133.209/api/products?page=1&category=6&collection=2&capacity=3","description":"<p>Ce endpoint permet la récupération des produits paginés, chaque page contenant <strong>8 produits</strong>. Il peut être enrichi de paramètres supplémentaires pour filtrer les résultats de la requête.</p>\n<p>Par défaut, l'URL de ce endpoint est la suivante :<br /><code>http://46.101.133.209/api/products</code></p>\n<p>Les paramètres optionnels sont les suivants :</p>\n<ul>\n<li><p><code>page</code> (string) : Numéro de la page à récupérer.</p>\n</li>\n<li><p><code>category</code> (string) : ID du filtre \"<strong>category</strong>\" (à récupérer depuis le endpoint <strong>/filters</strong> mentionné ci-dessus).</p>\n</li>\n<li><p><code>collection</code> (string) : ID du filtre \"<strong>collection</strong>\" (à récupérer depuis le endpoint <strong>/filters</strong> mentionné ci-dessus).</p>\n</li>\n<li><p><code>capacity</code> (string) : ID du filtre \"<strong>capacity</strong>\" (à récupérer depuis le endpoint <strong>/filters</strong> mentionné ci-dessus).</p>\n</li>\n</ul>\n","urlObject":{"protocol":"http","path":["api","products"],"host":["46","101","133","209"],"query":[{"key":"page","value":"1"},{"key":"category","value":"6"},{"key":"collection","value":"2"},{"key":"capacity","value":"3"}],"variable":[]}},"response":[{"id":"09630bb7-bb71-40ad-9371-8807916436dd","name":"http://46.101.133.209/api/products","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://46.101.133.209/api/products?page=1&category=6&collection=2&capacity=3","protocol":"http","host":["46","101","133","209"],"path":["api","products"],"query":[{"key":"page","value":"1"},{"key":"category","value":"6"},{"key":"collection","value":"2"},{"key":"capacity","value":"3"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 12 Apr 2024 14:43:07 GMT"},{"key":"Server","value":"Apache/2.4.52 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1307"},{"key":"ETag","value":"W/\"51b-XgBmhZ1VxSCXvVtFL+kAPR1bzKU\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Success\",\n    \"data\": {\n        \"totalItems\": 3,\n        \"totalPages\": 1,\n        \"page\": 1,\n        \"items\": [\n            {\n                \"image\": \"https://www.dior.com/dw/image/v2/BGXS_PRD/on/demandware.static/-/Sites-master_dior/default/dwadfd8700/Y0997067/Y0997067_C099700167_E01_GHC.jpg?sw=800\",\n                \"url\": \"https://www.dior.com/en_us/beauty/products/personalizable-miss-dior-eau-de-parfum-Y0997067.html\",\n                \"name\": \"Personalizable Miss Dior Eau de Parfum\",\n                \"description\": \"Eau de Parfum - Floral and Sensual Notes - Personalizable Bottle\",\n                \"price\": \"$245.00\",\n                \"collection\": 2,\n                \"category\": 6,\n                \"capacity\": 3\n            },\n            {\n                \"image\": \"https://www.dior.com/dw/image/v2/BGXS_PRD/on/demandware.static/-/Sites-master_dior/default/dw0b1cf179/Y0011010/Y0011010_F001101000_E01_GHC.jpg?sw=800\",\n                \"url\": \"https://www.dior.com/en_us/beauty/products/miss-dior-body-creme-Y0011010.html\",\n                \"name\": \"Miss Dior Body Creme\",\n                \"description\": \"Scented Hydrating Cream - Floral Notes\",\n                \"price\": \"$100.00\",\n                \"collection\": 2,\n                \"category\": 6,\n                \"capacity\": 3\n            },\n            {\n                \"image\": \"https://www.dior.com/dw/image/v2/BGXS_PRD/on/demandware.static/-/Sites-master_dior/default/dwa174d7c5/Y0996059/Y0996059_C099600059_E01_GHC.jpg?sw=800\",\n                \"url\": \"https://www.dior.com/en_us/beauty/products/miss-dior-fresh-rose-oil-Y0996059.html\",\n                \"name\": \"Miss Dior Fresh Rose Oil\",\n                \"description\": \"Body Oil\",\n                \"price\": \"$75.00\",\n                \"collection\": 2,\n                \"category\": 6,\n                \"capacity\": 3\n            }\n        ]\n    }\n}"}],"_postman_id":"4f3a9eae-a0af-4098-98f9-b1fde7086509"}]}