{
    "info": {
        "_postman_id": "22942bd8-cc5e-5ec3-81d7-5a68b5e780b1",
        "name": "FAMECO Public API V1",
        "description": "Collection Postman de l'API publique V1 FAMECO (22 endpoints, générée depuis routes/api.php par tools/generate_postman.py). Utilise l'environnement FAMECO Local.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "auth": {
        "type": "noauth"
    },
    "event": [
        {
            "listen": "prerequest",
            "script": {
                "type": "text/javascript",
                "exec": [
                    "pm.request.headers.upsert({ key: 'Accept', value: 'application/json' });",
                    "pm.request.headers.upsert({ key: 'Accept-Language', value: pm.environment.get('locale') || 'fr' });"
                ]
            }
        }
    ],
    "variable": [
        {
            "key": "base_url",
            "value": "http://127.0.0.1:8000/api/v1"
        },
        {
            "key": "locale",
            "value": "fr"
        }
    ],
    "item": [
        {
            "name": "Health",
            "item": [
                {
                    "name": "GET health",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/health",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "health"
                            ],
                            "query": []
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Sync",
            "item": [
                {
                    "name": "GET sync",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/sync?page=1&per_page=15",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "sync"
                            ],
                            "query": [
                                {
                                    "key": "since",
                                    "value": "2026-10-10T08:00:00Z",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "1",
                                    "disabled": true
                                },
                                {
                                    "key": "province",
                                    "value": "{{province}}",
                                    "disabled": true
                                },
                                {
                                    "key": "commune",
                                    "value": "{{commune}}",
                                    "disabled": true
                                },
                                {
                                    "key": "quartier",
                                    "value": "{{quartier}}",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "15",
                                    "disabled": false
                                }
                            ]
                        },
                        "description": "FormRequest : PublicSyncRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('sync', rows[0].id);"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Locations",
            "item": [
                {
                    "name": "GET locations/provinces",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/locations/provinces",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "locations",
                                "provinces"
                            ],
                            "query": []
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('province', rows[0].id);"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "GET locations/communes",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/locations/communes",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "locations",
                                "communes"
                            ],
                            "query": [
                                {
                                    "key": "province",
                                    "value": "{{province}}",
                                    "disabled": true
                                },
                                {
                                    "key": "province_code",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "search",
                                    "value": "exemple",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "FormRequest : PublicCommuneFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('commune', rows[0].id);"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "GET locations/quartiers",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/locations/quartiers",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "locations",
                                "quartiers"
                            ],
                            "query": [
                                {
                                    "key": "commune",
                                    "value": "{{commune}}",
                                    "disabled": true
                                },
                                {
                                    "key": "search",
                                    "value": "exemple",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "FormRequest : PublicQuartierFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('quartier', rows[0].id);"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Stores",
            "item": [
                {
                    "name": "GET stores",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/stores?page=1&per_page=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "stores"
                            ],
                            "query": [
                                {
                                    "key": "search",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "province",
                                    "value": "{{province}}",
                                    "disabled": true
                                },
                                {
                                    "key": "province_code",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "commune",
                                    "value": "{{commune}}",
                                    "disabled": true
                                },
                                {
                                    "key": "commune_code",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "quartier",
                                    "value": "{{quartier}}",
                                    "disabled": true
                                },
                                {
                                    "key": "partner",
                                    "value": "{{partner}}",
                                    "disabled": true
                                },
                                {
                                    "key": "featured",
                                    "value": "true",
                                    "disabled": true
                                },
                                {
                                    "key": "latitude",
                                    "value": "-4.325",
                                    "disabled": true
                                },
                                {
                                    "key": "longitude",
                                    "value": "15.322",
                                    "disabled": true
                                },
                                {
                                    "key": "radius",
                                    "value": "1",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "1",
                                    "disabled": false
                                }
                            ]
                        },
                        "description": "FormRequest : PublicStoreFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('store', rows[0].id);"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "GET stores/{store}",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/stores/{{store}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "stores",
                                "{{store}}"
                            ],
                            "query": []
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Products",
            "item": [
                {
                    "name": "GET products",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/products?page=1&per_page=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "products"
                            ],
                            "query": [
                                {
                                    "key": "search",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "standard",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "grade",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "featured",
                                    "value": "true",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "1",
                                    "disabled": false
                                }
                            ]
                        },
                        "description": "FormRequest : PublicProductFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('product', rows[0].id);"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "GET products/{product}",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/products/{{product}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "products",
                                "{{product}}"
                            ],
                            "query": []
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Articles",
            "item": [
                {
                    "name": "GET articles",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/articles?page=1&per_page=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "articles"
                            ],
                            "query": [
                                {
                                    "key": "search",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "type",
                                    "value": "news",
                                    "disabled": true
                                },
                                {
                                    "key": "audience",
                                    "value": "exemple",
                                    "disabled": true
                                },
                                {
                                    "key": "featured",
                                    "value": "true",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "1",
                                    "disabled": false
                                }
                            ]
                        },
                        "description": "FormRequest : PublicArticleFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('article', rows[0].id);"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "GET articles/{article}",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/articles/{{article}}",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "articles",
                                "{{article}}"
                            ],
                            "query": []
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Banners",
            "item": [
                {
                    "name": "GET banners",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/banners?page=1&per_page=15",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "banners"
                            ],
                            "query": [
                                {
                                    "key": "location",
                                    "value": "home_hero",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "15",
                                    "disabled": false
                                }
                            ]
                        },
                        "description": "FormRequest : PublicBannerFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('banner', rows[0].id);"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Config",
            "item": [
                {
                    "name": "GET config",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/config",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "config"
                            ],
                            "query": []
                        }
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Notifications",
            "item": [
                {
                    "name": "GET notifications",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/notifications?page=1&per_page=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "notifications"
                            ],
                            "query": [
                                {
                                    "key": "type",
                                    "value": "general",
                                    "disabled": true
                                },
                                {
                                    "key": "province",
                                    "value": "{{province}}",
                                    "disabled": true
                                },
                                {
                                    "key": "commune",
                                    "value": "{{commune}}",
                                    "disabled": true
                                },
                                {
                                    "key": "quartier",
                                    "value": "{{quartier}}",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "1",
                                    "disabled": false
                                }
                            ]
                        },
                        "description": "FormRequest : PublicNotificationFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });",
                                    "const json = pm.response.json();",
                                    "const rows = Array.isArray(json.data) ? json.data : [];",
                                    "if (rows[0] && rows[0].id) pm.environment.set('notification', rows[0].id);"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "GET notifications/{notification}",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{base_url}}/notifications/{{notification}}?page=1&per_page=1",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "notifications",
                                "{{notification}}"
                            ],
                            "query": [
                                {
                                    "key": "type",
                                    "value": "general",
                                    "disabled": true
                                },
                                {
                                    "key": "province",
                                    "value": "{{province}}",
                                    "disabled": true
                                },
                                {
                                    "key": "commune",
                                    "value": "{{commune}}",
                                    "disabled": true
                                },
                                {
                                    "key": "quartier",
                                    "value": "{{quartier}}",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "1",
                                    "disabled": false
                                }
                            ]
                        },
                        "description": "FormRequest : PublicNotificationFilterRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Contact",
            "item": [
                {
                    "name": "POST contact",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/contact",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "contact"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"name\": \"Jean Ilunga\",\n    \"email\": \"jean.ilunga@example.com\",\n    \"phone\": \"+243810000000\",\n    \"subject\": \"Demande d'information\",\n    \"message\": \"Je souhaite recevoir davantage d'informations concernant les produits FAMECO B500B.\",\n    \"type\": \"information\",\n    \"source\": \"web\",\n    \"website\": \"\",\n    \"context\": {\n        \"client\": \"postman\",\n        \"locale\": \"{{locale}}\"\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "description": "FormRequest : PublicContactRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 201', function () { pm.response.to.have.status(201); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Analytics",
            "item": [
                {
                    "name": "POST analytics/events",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/analytics/events",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "analytics",
                                "events"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"event\": \"store.view\",\n    \"subject_type\": \"store\",\n    \"subject_id\": \"{{store}}\",\n    \"session_id\": \"postman-session\",\n    \"anonymous_id\": \"postman-device\",\n    \"platform\": \"android\",\n    \"locale\": \"fr\",\n    \"province\": \"{{province}}\",\n    \"commune\": \"{{commune}}\",\n    \"metadata\": {\n        \"client\": \"postman\"\n    }\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "description": "FormRequest : PublicAnalyticsEventRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 201', function () { pm.response.to.have.status(201); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "POST analytics/events/batch",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/analytics/events/batch",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "analytics",
                                "events",
                                "batch"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"events\": [\n        {\n            \"event\": \"app.open\",\n            \"platform\": \"android\",\n            \"anonymous_id\": \"postman-device\"\n        },\n        {\n            \"event\": \"store.view\",\n            \"subject_type\": \"store\",\n            \"subject_id\": \"{{store}}\",\n            \"platform\": \"android\",\n            \"anonymous_id\": \"postman-device\"\n        },\n        {\n            \"event\": \"search.perform\",\n            \"platform\": \"android\",\n            \"search_query\": \"barre B500B\"\n        }\n    ]\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "description": "FormRequest : PublicAnalyticsBatchRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 201', function () { pm.response.to.have.status(201); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        },
        {
            "name": "Integrity",
            "item": [
                {
                    "name": "POST integrity/challenge",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrity/challenge",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrity",
                                "challenge"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"platform\": \"android\",\n    \"purpose\": \"verify\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "description": "FormRequest : IntegrityChallengeRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "POST integrity/android/verify",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrity/android/verify",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrity",
                                "android",
                                "verify"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"challenge_id\": \"{{challenge_id}}\",\n    \"token\": \"exemple\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "description": "FormRequest : AndroidIntegrityVerifyRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "POST integrity/ios/attest",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrity/ios/attest",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrity",
                                "ios",
                                "attest"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"challenge_id\": \"{{challenge_id}}\",\n    \"key_id\": \"exemple\",\n    \"attestation\": \"exemple\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "description": "FormRequest : IosIntegrityAttestRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                },
                {
                    "name": "POST integrity/ios/assert",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{base_url}}/integrity/ios/assert",
                            "host": [
                                "{{base_url}}"
                            ],
                            "path": [
                                "integrity",
                                "ios",
                                "assert"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"challenge_id\": \"{{challenge_id}}\",\n    \"key_id\": \"exemple\",\n    \"assertion\": \"exemple\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "description": "FormRequest : IosIntegrityAssertionRequest"
                    },
                    "event": [
                        {
                            "listen": "test",
                            "script": {
                                "type": "text/javascript",
                                "exec": [
                                    "pm.test('Statut 200', function () { pm.response.to.have.status(200); });",
                                    "pm.test('Réponse JSON', function () { pm.response.to.be.json; });"
                                ]
                            }
                        }
                    ]
                }
            ]
        }
    ]
}
