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

REST POST .../history #17

Open
Abreums opened this issue Aug 24, 2020 · 3 comments
Open

REST POST .../history #17

Abreums opened this issue Aug 24, 2020 · 3 comments
Assignees
Milestone

Comments

@Abreums
Copy link
Contributor

Abreums commented Aug 24, 2020

REST para chamar Lambda de testar match

@Abreums Abreums self-assigned this Aug 26, 2020
@Abreums Abreums added this to the API REST milestone Aug 31, 2020
@Abreums
Copy link
Contributor Author

Abreums commented Sep 2, 2020

GET busca se o registro existe na base considerando uma proximada de localização e timestamp.

GET coronga.com.br/checkpoint?latitude=LATITUDE&longitude=LONGITUDE&timestamp=TIMESTAMP

@Abreums Abreums changed the title REST testar match REST POST .../history Sep 9, 2020
@Abreums
Copy link
Contributor Author

Abreums commented Sep 9, 2020

PARA TESTAR se o histórico de pontos bate com a base do coronga-Tracker é preciso chamar o serviço:

POST https://hxf2nx257b.execute-api.sa-east-1.amazonaws.com/prod/history
com header:
"Content-Type":"application/json""
e body em JSON:
{
"id":"12345",
"latitude":"-33.1234",
"longitude":"-32.1234",
"timestamp":"1234567890"
}

@adaolima
Copy link
Contributor

adaolima commented Sep 9, 2020

PARA TESTAR se o histórico de pontos bate com a base do coronga-Tracker é preciso chamar o serviço:

POST https://hxf2nx257b.execute-api.sa-east-1.amazonaws.com/prod/history
com header:
"Content-Type":"application/json""
e body em JSON:
{
"id":"12345",
"latitude":"-33.1234",
"longitude":"-32.1234",
"timestamp":"1234567890"
}

@Abreums o body seria um Array, correto?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants