Download OpenAPI specification:Download
The Release Datasets API is a RESTful API that allows you to manage your datasets in Release. It provides endpoints for creating, updating, and deleting datasets, as well as checking out databases.
X-Account-ID required | string |
[- {
- "id": 246,
- "name": "AWS Production",
- "type": "aws",
- "credentials_configured": true,
- "created_at": "2023-07-21T13:49:26.721Z",
- "updated_at": "2023-07-21T13:49:26.721Z"
}, - {
- "id": 247,
- "name": "GCP Staging",
- "type": "gcp",
- "credentials_configured": false,
- "created_at": "2023-07-21T13:49:26.733Z",
- "updated_at": "2023-07-21T13:49:26.733Z"
}
]
X-Account-ID required | string |
X-User-Email required | string |
object (cloud_integration_input) |
{- "cloud_integration": {
- "name": "My AWS Integration",
- "type": "aws"
}
}
{- "id": 248,
- "name": "My AWS Integration",
- "type": "aws",
- "credentials_configured": false,
- "created_at": "2023-07-21T13:49:26.798Z",
- "updated_at": "2023-07-21T13:49:26.798Z"
}
This endpoint returns a URL that can be used to launch a cloud integration stack on the provider.
id required | string |
X-Account-ID required | string |
{- "launch_stack_url": "string"
}
id required | string |
X-Account-ID required | string |
object (cloud_integration_update_input) |
{- "cloud_integration": {
- "name": "My AWS Integration"
}
}
{- "id": 251,
- "name": "My AWS Integration",
- "type": "aws",
- "credentials_configured": true,
- "created_at": "2023-07-21T13:49:26.904Z",
- "updated_at": "2023-07-21T13:49:26.910Z"
}
This endpoint deletes a cloud integration. Note that only owners of the account can delete a cloud integration.
id required | string |
X-Account-ID required | string |
X-User-Email required | string |
[- "string"
]
id required | string Dataset ID |
X-Account-ID required | string |
[- {
- "id": 101,
- "state": "available",
- "name": "rds-1",
- "hostname": "rds-1.us-east-1.rds.amazonaws.com",
- "username": "admin",
- "password": "password"
}
]
[- {
- "id": 0,
- "name": "string",
- "type": "rds",
- "state": "created",
- "buffered_item_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "configuration": {
- "base_snapshot_id": "string",
- "instance_type": "string",
- "region": "string",
- "cloud_integration_id": 0
}
}
]
X-Account-ID required | string |
cloud_integration_id | integer |
object (dataset_input) |
{- "cloud_integration_id": 259,
- "dataset": {
- "name": "test-dataset",
- "type": "rds",
- "buffered_item_count": 1,
- "region": "us-east-1",
- "configuration": {
- "password": "test-password",
- "instance_type": "db.t2.micro",
- "base_snapshot_id": "test-snapshot-id"
}
}
}
{- "id": 1234,
- "name": "test-dataset",
- "type": "rds",
- "state": "created",
- "buffered_item_count": 1,
- "created_at": "2023-07-21T13:49:27.220Z",
- "updated_at": "2023-07-21T13:49:27.220Z",
- "configuration": {
- "base_snapshot_id": "test-snapshot-id",
- "instance_type": "db.t2.micro",
- "region": "us-east-1",
- "cloud_integration_id": 259
}
}
Updates a dataset buffer size, instance type and/or password.
Password changes only affect available and new instances. Existing databases that are already in use will not be affected. If there are size/instance type changes as well as password changes, the password changes will be performed after the pool is balanced.
id required | string |
X-Account-ID required | string |
{- "buffered_item_count": 1,
- "instance_type": "db.t2.micro",
- "password": "new-password"
}
{- "id": 170,
- "name": "pool-3e0dccbc5fd6e6818cb22407e22d7adc-5",
- "type": "rds",
- "state": "created",
- "buffered_item_count": 1,
- "created_at": "2023-07-21T13:49:27.301Z",
- "updated_at": "2023-07-21T13:49:27.301Z",
- "configuration": {
- "base_snapshot_id": "base-snapshot-id",
- "instance_type": "db.t2.micro",
- "region": "region",
- "cloud_integration_id": 262
}
}
Checks out an available database from the dataset for the current user.
This will trigger a balance on the dataset to ensure it has enough available databases.
id required | string |
X-User-Email required | string |
{- "id": 103,
- "state": "in_use",
- "name": "rds-3",
- "hostname": "rds-3.us-east-1.rds.amazonaws.com",
- "username": "admin",
- "password": "password"
}
Checks in an the database in use for the current user. This will remove the database.
This will trigger a balance on the dataset to ensure it has enough available databases.
id required | string |
X-User-Email required | string |
{- "id": 104,
- "state": "removing",
- "name": "rds-4",
- "hostname": "rds-4.us-east-1.rds.amazonaws.com",
- "username": "admin",
- "password": "password"
}
id required | string Dataset ID |
X-Account-ID required | string |
[- {
- "id": 101,
- "state": "available",
- "name": "rds-1",
- "hostname": "rds-1.us-east-1.rds.amazonaws.com",
- "username": "admin",
- "password": "password"
}
]
id required | string Database ID |
X-Account-ID required | string |
{- "id": 102,
- "state": "available",
- "name": "rds-2",
- "hostname": "rds-2.us-east-1.rds.amazonaws.com",
- "username": "admin",
- "password": "password"
}