ConnectorApi
- Get API Resource Coverage
- Get API Resource
- List APIs
- Get API
- Get Connector Doc Content
- Get Connector Resource
- List Connectors
- Get Connector
Method: apiResourceCoverageOne
connectorApi.apiResourceCoverageOne(body)
Name | Type | Description | Notes |
---|---|---|---|
id | [string] | ID of the record you are acting upon. | |
resourceId | [string] | ID of the resource you are acting upon. | |
appId | [string] | The ID of your Unify application | (optional) |
GetApiResourceCoverageResponse
Status code | Description |
---|---|
200 | ApiResources |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {
id: 'id_example',
resourceId: 'resource_id_example'
}
try {
const { data } = await apideck.connector.apiResourceCoverageOne(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}
[Back to top] [Back to API list] [Back to README]
Method: apiResourcesOne
connectorApi.apiResourcesOne(body)
Name | Type | Description | Notes |
---|---|---|---|
id | [string] | ID of the record you are acting upon. | |
resourceId | [string] | ID of the resource you are acting upon. | |
appId | [string] | The ID of your Unify application | (optional) |
Status code | Description |
---|---|
200 | ApiResources |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {
id: 'id_example',
resourceId: 'resource_id_example'
}
try {
const { data } = await apideck.connector.apiResourcesOne(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}
[Back to top] [Back to API list] [Back to README]
Method: apisAll
connectorApi.apisAll(body)
Name | Type | Description | Notes |
---|---|---|---|
appId | [string] | The ID of your Unify application | (optional) |
cursor | [string] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) |
limit | [number] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
filter | ApisFilter | Apply filters | (optional) |
Status code | Description |
---|---|
200 | Apis |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {}
try {
const { data } = await apideck.connector.apisAll(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}
[Back to top] [Back to API list] [Back to README]
Method: apisOne
connectorApi.apisOne(body)
Name | Type | Description | Notes |
---|---|---|---|
id | [string] | ID of the record you are acting upon. | |
appId | [string] | The ID of your Unify application | (optional) |
Status code | Description |
---|---|
200 | Apis |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {
id: 'id_example'
}
try {
const { data } = await apideck.connector.apisOne(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}
[Back to top] [Back to API list] [Back to README]
Method: connectorDocsOne
connectorApi.connectorDocsOne(body)
Name | Type | Description | Notes |
---|---|---|---|
id | [string] | ID of the record you are acting upon. | |
docId | [string] | ID of the Doc | |
appId | [string] | The ID of your Unify application | (optional) |
string
Status code | Description |
---|---|
200 | Connectors |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {
id: 'id_example',
docId: 'application_owner+oauth_credentials'
}
try {
const { data } = await apideck.connector.connectorDocsOne(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}
[Back to top] [Back to API list] [Back to README]
Method: connectorResourcesOne
connectorApi.connectorResourcesOne(body)
Name | Type | Description | Notes |
---|---|---|---|
id | [string] | ID of the record you are acting upon. | |
resourceId | [string] | ID of the resource you are acting upon. | |
appId | [string] | The ID of your Unify application | (optional) |
unifiedApi | UnifiedApiId | Specify unified API for the connector resource. This is useful when a resource appears in multiple APIs | (optional) |
Status code | Description |
---|---|
200 | ConnectorResources |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {
id: 'id_example',
resourceId: 'resource_id_example'
}
try {
const { data } = await apideck.connector.connectorResourcesOne(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}
[Back to top] [Back to API list] [Back to README]
Method: connectorsAll
connectorApi.connectorsAll(body)
Name | Type | Description | Notes |
---|---|---|---|
appId | [string] | The ID of your Unify application | (optional) |
cursor | [string] | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | (optional) |
limit | [number] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
filter | ConnectorsFilter | Apply filters | (optional) |
Status code | Description |
---|---|
200 | Connectors |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {}
try {
const { data } = await apideck.connector.connectorsAll(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}
[Back to top] [Back to API list] [Back to README]
Method: connectorsOne
connectorApi.connectorsOne(body)
Name | Type | Description | Notes |
---|---|---|---|
id | [string] | ID of the record you are acting upon. | |
appId | [string] | The ID of your Unify application | (optional) |
Status code | Description |
---|---|
200 | Connectors |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
4/5xx | Unexpected error |
import { Apideck } from '@apideck/node';
const apideck = new Apideck({
apiKey: 'REPLACE_WITH_API_KEY',
appId: 'REPLACE_WITH_APP_ID'
});
const params = {
id: 'id_example'
}
try {
const { data } = await apideck.connector.connectorsOne(params)
console.log('API called successfully', data)
} catch (error) {
console.error(error)
return error.json()
}