summaryrefslogtreecommitdiff
path: root/schema/init.sql
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-08-24 21:42:01 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-08-24 21:42:01 +0200
commit8d36b0b75904812ba8f6b9e38b50660dfbe78d0d (patch)
tree2b9a3b4e0df111b4a6ff94b7d1b7be43c9efdaf8 /schema/init.sql
parentd1160f2aa59db4489aad506aaa063be4966609ce (diff)
Add new position
``` 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" } } }' ```
Diffstat (limited to 'schema/init.sql')
0 files changed, 0 insertions, 0 deletions