Path Parameters
Response
OK
The response is of type object
.
const url = 'https://api.runmorph.dev/v1/connectors/{connectorId}';
const options = {
method: 'GET',
headers: {'x-api-key': '<api-key>', 'x-api-secret': '<api-key>'},
body: undefined
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
{
"object": "connector",
"id": "<string>",
"name": "<string>",
"operations": [
"<string>"
],
"settings": [
{
"key": "<string>",
"type": "text",
"name": "<string>",
"required": true,
"description": "<string>",
"default": "<string>"
}
],
"cloud": {
"hasCustomCredential": true
}
}
const url = 'https://api.runmorph.dev/v1/connectors/{connectorId}';
const options = {
method: 'GET',
headers: {'x-api-key': '<api-key>', 'x-api-secret': '<api-key>'},
body: undefined
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
{
"object": "connector",
"id": "<string>",
"name": "<string>",
"operations": [
"<string>"
],
"settings": [
{
"key": "<string>",
"type": "text",
"name": "<string>",
"required": true,
"description": "<string>",
"default": "<string>"
}
],
"cloud": {
"hasCustomCredential": true
}
}
OK
The response is of type object
.