connectors.list(): the project's connectors, newest first
curl --request GET \
--url https://api.paddock.build/v1/connectors \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paddock.build/v1/connectors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.paddock.build/v1/connectors"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paddock.build/v1/connectors"
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))
}{
"data": [
{
"id": "<string>",
"name": "<string>",
"secrets": [
"<string>"
],
"inbound": {
"url": "<string>",
"functionSummary": {
"runtime": "nodejs24.x",
"preset": "<string>",
"presetCode": true,
"version": 2,
"codeSha256": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"outbound": {
"functionSummary": {
"runtime": "nodejs24.x",
"preset": "<string>",
"presetCode": true,
"version": 2,
"codeSha256": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"rateLimit": {
"perMinute": 300
},
"credentialError": {
"reason": "<string>",
"at": "2023-11-07T05:31:56Z"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Connectors
connectors.list(): the project's connectors, newest first
GET
/
connectors
connectors.list(): the project's connectors, newest first
curl --request GET \
--url https://api.paddock.build/v1/connectors \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paddock.build/v1/connectors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.paddock.build/v1/connectors"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paddock.build/v1/connectors"
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))
}{
"data": [
{
"id": "<string>",
"name": "<string>",
"secrets": [
"<string>"
],
"inbound": {
"url": "<string>",
"functionSummary": {
"runtime": "nodejs24.x",
"preset": "<string>",
"presetCode": true,
"version": 2,
"codeSha256": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
},
"outbound": {
"functionSummary": {
"runtime": "nodejs24.x",
"preset": "<string>",
"presetCode": true,
"version": 2,
"codeSha256": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"rateLimit": {
"perMinute": 300
},
"credentialError": {
"reason": "<string>",
"at": "2023-11-07T05:31:56Z"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}