Response
OK
The response is of type object
.
const url = 'https://api.runmorph.dev/v1/s/connection';
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": "connection",
"connectorId": "<string>",
"ownerId": "<string>",
"operations": [
"<string>"
],
"status": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
const url = 'https://api.runmorph.dev/v1/s/connection';
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": "connection",
"connectorId": "<string>",
"ownerId": "<string>",
"operations": [
"<string>"
],
"status": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
OK
The response is of type object
.