curl --request GET \
--url https://api.getmembrane.com/connectors/{key}/versions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getmembrane.com/connectors/{key}/versions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getmembrane.com/connectors/{key}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getmembrane.com/connectors/{key}/versions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getmembrane.com/connectors/{key}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getmembrane.com/connectors/{key}/versions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getmembrane.com/connectors/{key}/versions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"version": "<string>",
"id": "<string>",
"connectorId": "<string>",
"changelog": "<string>",
"baseUri": "<string>",
"revision": "<string>",
"hasTest": true,
"hasAuthTest": true,
"isReadOnly": true,
"credentialsSchema": {},
"type": "integration-app-token",
"customCredentialsSchema": {},
"inputSchema": {},
"parametersSchema": {},
"getCredentialsFromConnectionParameters": {
"type": "mapping",
"description": "<string>"
},
"refreshCredentials": {
"type": "mapping",
"description": "<string>"
},
"makeApiClient": {
"type": "mapping",
"description": "<string>"
},
"getOAuthConfig": {
"type": "mapping",
"description": "<string>"
},
"getTokenData": {
"type": "mapping",
"description": "<string>"
},
"getCredentialsFromAccessTokenResponse": {
"type": "mapping",
"description": "<string>"
},
"getCredentialsFromRefreshTokenResponse": {
"type": "mapping",
"description": "<string>"
},
"test": {
"type": "mapping",
"description": "<string>"
},
"disconnect": {
"type": "mapping",
"description": "<string>"
},
"proxyKey": "<string>",
"oauthClientKey": "<string>",
"ui": {
"schema": {},
"description": "<string>",
"helpUri": "<string>"
},
"options": {}
}
]list-connector-versions
List published versions for a connector.
curl --request GET \
--url https://api.getmembrane.com/connectors/{key}/versions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getmembrane.com/connectors/{key}/versions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getmembrane.com/connectors/{key}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getmembrane.com/connectors/{key}/versions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getmembrane.com/connectors/{key}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getmembrane.com/connectors/{key}/versions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getmembrane.com/connectors/{key}/versions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"version": "<string>",
"id": "<string>",
"connectorId": "<string>",
"changelog": "<string>",
"baseUri": "<string>",
"revision": "<string>",
"hasTest": true,
"hasAuthTest": true,
"isReadOnly": true,
"credentialsSchema": {},
"type": "integration-app-token",
"customCredentialsSchema": {},
"inputSchema": {},
"parametersSchema": {},
"getCredentialsFromConnectionParameters": {
"type": "mapping",
"description": "<string>"
},
"refreshCredentials": {
"type": "mapping",
"description": "<string>"
},
"makeApiClient": {
"type": "mapping",
"description": "<string>"
},
"getOAuthConfig": {
"type": "mapping",
"description": "<string>"
},
"getTokenData": {
"type": "mapping",
"description": "<string>"
},
"getCredentialsFromAccessTokenResponse": {
"type": "mapping",
"description": "<string>"
},
"getCredentialsFromRefreshTokenResponse": {
"type": "mapping",
"description": "<string>"
},
"test": {
"type": "mapping",
"description": "<string>"
},
"disconnect": {
"type": "mapping",
"description": "<string>"
},
"proxyKey": "<string>",
"oauthClientKey": "<string>",
"ui": {
"schema": {},
"description": "<string>",
"helpUri": "<string>"
},
"options": {}
}
]Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Connector id, uuid, or key
Response
List published versions for a connector.
Authentication protocol used by the connector.
integration-app-token, membrane-token, oauth2, oauth1, client-credentials, proxy, oauth-client JSON Schema for workspace-level credential overrides.
JSON Schema for end-user connection input.
Function that derives auth credentials from connection parameters.
Show child attributes
Show child attributes
Function that refreshes expired credentials.
Show child attributes
Show child attributes
Function that configures the authenticated HTTP client used by connector requests and actions.
Show child attributes
Show child attributes
OAuth2 function returning { authorizeUri, tokenUri, scopes, noRefreshToken? }.
Show child attributes
Show child attributes
OAuth2 function that extracts metadata from the raw token response.
Show child attributes
Show child attributes
OAuth2 function that transforms the token endpoint response into the final credentials object.
Show child attributes
Show child attributes
OAuth2 function that transforms the refresh response into refreshed credentials.
Show child attributes
Show child attributes
Function that verifies the connection with a lightweight authenticated API call.
Show child attributes
Show child attributes
Function that revokes provider credentials when the connection is removed.
Show child attributes
Show child attributes
For type: "proxy" — identifies which proxy configuration the workspace should use.
For type: "oauth-client" — identifies the organization OAuth client used for this option.
[INTERNAL] Deprecated: Use inputSchema instead
Show child attributes
Show child attributes
Show child attributes
Show child attributes