Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Zones #45

Open
DomiiBunn opened this issue Mar 2, 2022 · 0 comments
Open

API: Zones #45

DomiiBunn opened this issue Mar 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@DomiiBunn
Copy link
Collaborator

Create a GET API serving /api/zonesproviding a response containing all currently available markers.

Expected response

[
    {
        "positions": [
            [
                50.36429316995319,
                30.228621662109
            ],
            [
                50.51303377189189,
                30.28741424805162
            ],
            [
                50.60122461757218,
                30.787151228563896
            ],
            [
                50.44548234821721,
                30.77081995469095
            ]
        ],
        "color": "green",
        "title": "Safe Zone",
        "content": "Some safe zone over here"
    }
]
@DomiiBunn DomiiBunn added the enhancement New feature or request label Mar 2, 2022
@DomiiBunn DomiiBunn added this to the Migrate to an API milestone Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant