{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/api.openbrewerydb.org"
        }
    ],
    "info": {
        "name": "Laravel API Documentation",
        "_postman_id": "1a7b35c2-2fb5-4082-bcb6-b2786e1e069b",
        "description": "Open Brewery DB is a free dataset and API with public information on breweries, cideries, brewpubs, and bottleshops",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Endpoints",
            "description": "",
            "item": [
                {
                    "name": "List breweries.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "v1\/breweries",
                            "query": [],
                            "raw": "{{baseUrl}}\/v1\/breweries"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"per_page\":1,\"page\":22,\"sort\":\"architecto\",\"by_city\":\"n\",\"by_country\":\"g\",\"by_dist\":\"architecto\",\"by_dist_radius\":22,\"by_dist_unit\":\"mi\",\"by_ids\":\"g\",\"by_name\":\"z\",\"by_postal\":\"m\",\"by_state\":\"i\",\"by_type\":\"architecto\",\"exclude_types\":\"architecto\"}"
                        },
                        "description": "Returns a paginated list of breweries based on optional filters and sorting.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "120"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "119"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 422,
                            "body": "{\"message\":\"The by city field must be at least 3 characters. (and 8 more errors)\",\"errors\":{\"by_city\":[\"The by city field must be at least 3 characters.\"],\"by_country\":[\"The by country field must be at least 3 characters.\"],\"by_dist\":[\"The by dist must be a valid coordinate pair (latitude,longitude).\"],\"by_ids\":[\"The by ids field must be at least 3 characters.\"],\"by_name\":[\"The by name field must be at least 3 characters.\"],\"by_postal\":[\"The by postal field must be at least 3 characters.\"],\"by_state\":[\"The by state field must be at least 3 characters.\"],\"by_type\":[\"The by_type contains invalid brewery type: architecto\"],\"exclude_types\":[\"The exclude_types contains invalid brewery type: architecto\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get metadata about the brewery",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "v1\/breweries\/meta",
                            "query": [],
                            "raw": "{{baseUrl}}\/v1\/breweries\/meta"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"per_page\":1,\"page\":22,\"sort\":\"architecto\",\"by_city\":\"n\",\"by_country\":\"g\",\"by_dist\":\"architecto\",\"by_dist_radius\":22,\"by_dist_unit\":\"km\",\"by_ids\":\"g\",\"by_name\":\"z\",\"by_postal\":\"m\",\"by_state\":\"i\",\"by_type\":\"architecto\",\"exclude_types\":\"architecto\"}"
                        },
                        "description": "Takes the same filters as List Breweries.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "120"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "118"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 422,
                            "body": "{\"message\":\"The by city field must be at least 3 characters. (and 8 more errors)\",\"errors\":{\"by_city\":[\"The by city field must be at least 3 characters.\"],\"by_country\":[\"The by country field must be at least 3 characters.\"],\"by_dist\":[\"The by dist must be a valid coordinate pair (latitude,longitude).\"],\"by_ids\":[\"The by ids field must be at least 3 characters.\"],\"by_name\":[\"The by name field must be at least 3 characters.\"],\"by_postal\":[\"The by postal field must be at least 3 characters.\"],\"by_state\":[\"The by state field must be at least 3 characters.\"],\"by_type\":[\"The by_type contains invalid brewery type: architecto\"],\"exclude_types\":[\"The exclude_types contains invalid brewery type: architecto\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a random brewery.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "v1\/breweries\/random",
                            "query": [],
                            "raw": "{{baseUrl}}\/v1\/breweries\/random"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"size\":1}"
                        },
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "120"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "117"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 200,
                            "body": "[{\"id\":\"99526c72-24a9-4027-bad0-a1e42218b60a\",\"name\":\"Side By Each Brewing Co\",\"brewery_type\":\"planning\",\"address_1\":null,\"address_2\":null,\"address_3\":null,\"city\":\"Auburn\",\"state_province\":\"Maine\",\"postal_code\":\"04210-3739\",\"country\":\"United States\",\"longitude\":null,\"latitude\":null,\"phone\":\"2073479920\",\"website_url\":null,\"state\":\"Maine\",\"street\":null}]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Search for breweries.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "v1\/breweries\/search",
                            "query": [],
                            "raw": "{{baseUrl}}\/v1\/breweries\/search"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"per_page\":1,\"query\":\"n\"}"
                        },
                        "description": "The search performs partial, case-insensitive matching against brewery names.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "120"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "116"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 422,
                            "body": "{\"message\":\"The query field must be at least 3 characters.\",\"errors\":{\"query\":[\"The query field must be at least 3 characters.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a single brewery.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "v1\/breweries\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/v1\/breweries\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ae7b3174-8be8-4d53-a3a5-9b8240970eea",
                                    "description": "The ID of the brewery."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "max-age=86400, public"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "x-ratelimit-limit",
                                    "value": "120"
                                },
                                {
                                    "key": "x-ratelimit-remaining",
                                    "value": "115"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 200,
                            "body": "{\"id\":\"ae7b3174-8be8-4d53-a3a5-9b8240970eea\",\"name\":\"'s\",\"brewery_type\":\"brewpub\",\"address_1\":\"1 Friesener Stra\\u00dfe\",\"address_2\":null,\"address_3\":null,\"city\":\"Kronach\",\"state_province\":\"Bayern\",\"postal_code\":\"96317\",\"country\":\"Germany\",\"longitude\":11.327765,\"latitude\":50.241246,\"phone\":\"+49 9261 628000\",\"website_url\":\"http:\\\/\\\/www.antla.de\",\"state\":\"Bayern\",\"street\":\"1 Friesener Stra\\u00dfe\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "noauth"
    }
}