From 3758eecc9676ab6a896a7e4f4d4d00d256ebf6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Sun, 13 Feb 2022 11:01:32 +0100 Subject: [PATCH] docs: extend postman collection by get heartbeats compat endpoint (cherry picked from commit e6c6d0eb0d8b4ac6acf68c17002e069b6fe66626) --- postman/Wakapi.postman_collection.json | 37 +++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/postman/Wakapi.postman_collection.json b/postman/Wakapi.postman_collection.json index 1d47844..01e814e 100644 --- a/postman/Wakapi.postman_collection.json +++ b/postman/Wakapi.postman_collection.json @@ -1,6 +1,6 @@ { "info": { - "_postman_id": "728a2979-6cb3-4b46-9be9-3273f3d20a3d", + "_postman_id": "1043ce31-dc5c-4477-a74a-a29a0e1168b0", "name": "Wakapi", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, @@ -245,6 +245,41 @@ }, "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", "request": {