connectors.get(idOrName)
curl --request GET \
--url https://api.paddock.build/v1/connectors/{idOrName} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paddock.build/v1/connectors/{idOrName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.paddock.build/v1/connectors/{idOrName}"
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/{idOrName}"
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))
}{
"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"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Connectors
connectors.get(idOrName)
GET
/
connectors
/
{idOrName}
connectors.get(idOrName)
curl --request GET \
--url https://api.paddock.build/v1/connectors/{idOrName} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paddock.build/v1/connectors/{idOrName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.paddock.build/v1/connectors/{idOrName}"
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/{idOrName}"
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))
}{
"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"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Response
The connector