Send Notification
VSCode and JB plugins poll this endpoint once on startup. Input: headers: {Authorization: Bearer ${JWE_accessToken}}, // Token used to access models body: JSON.stringify({ os: Telemetry.os, extensionVersion: Telemetry.ideInfo?.extensionVersion, ideName: Telemetry.ideInfo?.name, ideType: Telemetry.ideInfo?.ideType, userId: Telemetry.uniqueId, // can match to telemetry events }), Output: status: 200 body: {messages: [ {"level": "info" | "error" | "warning", "text": "Text!", "button": {"text": "Click", "url": "https://example.com"}}, ]}
post/notifications
Response
Successful Response
{"stackTrail":"paths:/notifications:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}