{
    "openapi": "3.0.0",
    "info": {
        "title": "Hatchery by badge.team",
        "description": "Simple micropython software repository for Badges.",
        "contact": {
            "name": "Hatchery",
            "url": "https://docs.badge.team/hatchery",
            "email": "hatchery@badge.team"
        },
        "license": {
            "name": "MIT",
            "url": "https://opensource.org/licenses/MIT"
        },
        "version": "0.2"
    },
    "paths": {
        "/eggs/get/{project}/json": {
            "get": {
                "tags": [
                    "Egg"
                ],
                "summary": "Get the latest released version of a project.",
                "operationId": "3c2cd894cc5960d48fcd0e1fe8003301",
                "parameters": [
                    {
                        "name": "project",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "slug",
                            "example": "game_of_life"
                        }
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/eggs/list/json": {
            "get": {
                "tags": [
                    "Egg"
                ],
                "summary": "Get the latest released versions.",
                "operationId": "2692345b8332d181a132090db98b6e74",
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/eggs/search/{words}/json": {
            "get": {
                "tags": [
                    "Egg"
                ],
                "summary": "Find the latest released versions.",
                "operationId": "8ecd4693f1f5dac51bb53a07d74b9b10",
                "parameters": [
                    {
                        "name": "words",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "cool"
                        }
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/eggs/category/{category}/json": {
            "get": {
                "tags": [
                    "Egg"
                ],
                "summary": "Get the latest released versions in a category.",
                "operationId": "616df82a18036dba457a6d613456b58c",
                "parameters": [
                    {
                        "name": "category",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "slug",
                            "example": "utility"
                        }
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/eggs/categories/json": {
            "get": {
                "tags": [
                    "Egg"
                ],
                "summary": "Get a list of the categories.",
                "operationId": "a28c87e6012919ea53270bf240c8233d",
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/basket/{badge}/list/json": {
            "get": {
                "tags": [
                    "Basket"
                ],
                "summary": "Get the latest released versions for a badge model.",
                "operationId": "454a729374d83aa5c504dd8c29baf6a4",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/badge"
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/basket/{badge}/search/{words}/json": {
            "get": {
                "tags": [
                    "Basket"
                ],
                "summary": "Find the latest released versions for a badge model.",
                "operationId": "aec38ec39e63c691c4a8d06413a18c80",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/badge"
                    },
                    {
                        "name": "words",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "example": "cool"
                        }
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/basket/{badge}/categories/json": {
            "get": {
                "tags": [
                    "Basket"
                ],
                "summary": "Get a list of the categories for a badge.",
                "operationId": "aff46816faa4c2e55c607631c9d8f552",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/badge"
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/basket/{badge}/category/{category}/json": {
            "get": {
                "tags": [
                    "Basket"
                ],
                "summary": "Get the latest released versions in a category for a specific badge model.",
                "operationId": "6c27965aedfec00e403cfa12aee7b08b",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/badge"
                    },
                    {
                        "name": "category",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "slug",
                            "example": "utility"
                        }
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/weather": {
            "get": {
                "tags": [
                    "External"
                ],
                "summary": "Show weather forecast for today.",
                "operationId": "5fdc069e293e60a57b85ad795ff90c2c",
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        },
        "/weather/{location}": {
            "get": {
                "tags": [
                    "External"
                ],
                "summary": "Show weather forecast for a given location for today.",
                "operationId": "ec045115ab4fb38d47c68b36f46bb858",
                "parameters": [
                    {
                        "name": "location",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "format": "geolocation",
                            "example": "52.2822616,5.5218715"
                        }
                    }
                ],
                "responses": {
                    "default": {
                        "$ref": "#/components/responses/undocumented"
                    }
                }
            }
        }
    },
    "components": {
        "responses": {
            "html": {
                "description": "Undocumented HTML response",
                "content": {
                    "application/xml": {
                        "schema": {}
                    }
                }
            },
            "undocumented": {
                "description": "Undocumented JSON response",
                "content": {
                    "application/json": {
                        "schema": {}
                    }
                }
            }
        },
        "parameters": {
            "badge": {
                "name": "badge",
                "in": "path",
                "description": "Class Kernel.",
                "required": true,
                "schema": {
                    "type": "string",
                    "format": "slug",
                    "example": "sha2017"
                }
            }
        }
    },
    "tags": [
        {
            "name": "Basket",
            "description": "Related to getting Projects for specific Badge models."
        },
        {
            "name": "Egg",
            "description": "Related to getting Eggs / Projects."
        },
        {
            "name": "External",
            "description": "External api proxies for convenience of apps."
        }
    ]
}