forked from orbcorp/orb-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtop-level.ts
26 lines (22 loc) · 896 Bytes
/
top-level.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../resource';
import * as Core from '../core';
export class TopLevel extends APIResource {
/**
* This endpoint allows you to test your connection to the Orb API and check the
* validity of your API key, passed in the Authorization header. This is
* particularly useful for checking that your environment is set up properly, and
* is a great choice for connectors and integrations.
*
* This API does not have any side-effects or return any Orb resources.
*/
ping(options?: Core.RequestOptions): Core.APIPromise<TopLevelPingResponse> {
return this._client.get('/ping', options);
}
}
export interface TopLevelPingResponse {
response: string;
}
export declare namespace TopLevel {
export { type TopLevelPingResponse as TopLevelPingResponse };
}