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: Markers #40

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

API: Markers #40

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

Comments

@DomiiBunn
Copy link
Collaborator

DomiiBunn commented Mar 1, 2022

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

Expected response

{
    "markers": [
        {
            "position": [
                49.038230248475905,
                31.450182690663947
            ],
            "title": "Twit Title with image",
            "content": "",
            "user": "Twitter User",
            "uri": "https://twitter/postUrl",
            "image": "imageURL",
            "timestamp": "unixtimestamp of tweet"
        },
        {
            "position": [
                48.038230248475905,
                31.450182690663947
            ],
            "title": "Twit Title without image",
            "content": "Twit Text",
            "user": "Twitter User",
            "uri": "https://twitter/postUrl",
            "timestamp": "unixtimestamp of tweet"
        }
    ],
    "timestamp": "unixTimeStamp"
}
@DomiiBunn DomiiBunn added the enhancement New feature or request label Mar 1, 2022
@DomiiBunn DomiiBunn added this to the Migrate to an API milestone Mar 1, 2022
@denquinlan
Copy link

I'd like to help work on this

@DomiiBunn
Copy link
Collaborator Author

Currently the project seams dead. I was planning on re-incarnating it using NodeJS but currently don't have the time. If you'd like to pick something up you can give me a poke on discord to discuss things. There is a link to discord in the Readme ^.^

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

2 participants