Connection Pools
Retrieves a paginated list of connection pools.
API key passed in the Authorization header. Format: <api-key>
Filter results by name.
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/connection-pools HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"limit": 1,
"timeout": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"connectors": []
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/connection-pools",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/connection-pools?page=1",
"last": "https://api.example.com/api/v1/connection-pools?page=1",
"prev": null,
"next": null
}
}Creates a new connection pool.
API key passed in the Authorization header. Format: <api-key>
Successful response
Unauthenticated
Unauthorized
Validation Error
Too Many Requests. The rate limit for this user has been reached.
POST /api/v1/connection-pools HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"limit": 1,
"timeout": 1,
"name": "My Example"
}{
"data": {
"id": 1,
"limit": 1,
"timeout": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"connectors": []
}
}Retrieves the details of a specific connection pool.
API key passed in the Authorization header. Format: <api-key>
The connection pool identifier.
Comma-separated list of relationships to include. Available: connectors.system
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/connection-pools/{connection_pool} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"limit": 1,
"timeout": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"connectors": []
}
}Updates an existing connection pool.
API key passed in the Authorization header. Format: <api-key>
The connection pool identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Validation Error
Too Many Requests. The rate limit for this user has been reached.
PUT /api/v1/connection-pools/{connection_pool} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"limit": 1,
"timeout": 1,
"name": "My Example"
}{
"data": {
"id": 1,
"limit": 1,
"timeout": 1,
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"connectors": []
}
}Permanently deletes a specific connection pool.
API key passed in the Authorization header. Format: <api-key>
The connection pool identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
DELETE /api/v1/connection-pools/{connection_pool} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Action completed successfully."
}Removes all pending requests from a specific connection pool.
API key passed in the Authorization header. Format: <api-key>
The connection pool identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Validation Error
Too Many Requests. The rate limit for this user has been reached.
POST /api/v1/connection-pools/{connection_pool}/clear HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Last updated
Was this helpful?