Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-24 | Add new position | Santo Cariotti | |
``` curl -X POST http://localhost:8000/graphql \ -H "Content-Type: application/json" \ -H "Authorization: Bearer TOKEN" \ -d '{ "query": "mutation NewPosition($input: PositionInput!) { newPosition(input: $input) { id userId createdAt latitude longitude movingActivity } }", "variables": { "input": { "latitude": 44.502952, "longitude": 11.3114988, "movingActivity": "IN_VEHICLE" } } }' ``` | |||
2024-08-23 | Add doc | Santo Cariotti | |
2024-08-21 | Add login | Santo Cariotti | |
Fields sent are ``` { "query": "mutation Login($input: LoginCredentials!) { login(input: $input) { accessToken tokenType } }", "variables": { "input": { "email": "....", "password": "..." } } } ``` |