1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

docs: extend postman collection by get heartbeats compat endpoint

(cherry picked from commit e6c6d0eb0d8b4ac6acf68c17002e069b6fe66626)
This commit is contained in:
Ferdinand Mütsch 2022-02-13 11:01:32 +01:00
parent e21788b8b5
commit 3758eecc96

View File

@ -1,6 +1,6 @@
{ {
"info": { "info": {
"_postman_id": "728a2979-6cb3-4b46-9be9-3273f3d20a3d", "_postman_id": "1043ce31-dc5c-4477-a74a-a29a0e1168b0",
"name": "Wakapi", "name": "Wakapi",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
}, },
@ -245,6 +245,41 @@
}, },
"response": [] "response": []
}, },
{
"name": "Get heartbeats",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Basic {{TOKEN}}",
"type": "text"
}
],
"url": {
"raw": "{{BASE_URL}}/api/compat/wakatime/v1/users/current/heartbeats?date=2021-02-10",
"host": [
"{{BASE_URL}}"
],
"path": [
"api",
"compat",
"wakatime",
"v1",
"users",
"current",
"heartbeats"
],
"query": [
{
"key": "date",
"value": "2021-02-10"
}
]
}
},
"response": []
},
{ {
"name": "Get stats", "name": "Get stats",
"request": { "request": {