All URIs are relative to https://coda.io/apis/v1
Method | HTTP request | Description |
---|---|---|
whoami | GET /whoami | Get user info |
User whoami()
Get user info
Returns basic info about the current user.
import CodaJsClient from 'coda-js-client';
let defaultClient = CodaJsClient.ApiClient.instance;
let apiInstance = new CodaJsClient.AccountApi();
apiInstance.whoami().then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json