Download OpenAPI specification:Download
DataStax Astra Streaming DevOps API Reference
Gets a list of secrets for the given tenant
format | string the format of the secret including keys |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) |
X-DataStax-Current-Org required | string the Astra Org ID |
Deletes a secret for the given tenant
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) |
X-DataStax-Current-Org required | string the Astra Org ID |
Creates a secret for the given tenant
format | string the format of the secret including keys |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) |
X-DataStax-Current-Org required | string the Astra Org ID |
a secret in string format
Body | string |
{- "Body": "string"
}
Delete CDC configuration for the tenant
tenant required | string Name of the pulsar tenant |
Authorization required | string Pulsar token or Astra token. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
databaseId | string |
databaseName | string |
keyspace | string |
orgId | string |
tableName | string |
topicPartitions | integer <int64> |
{- "databaseId": "string",
- "databaseName": "string",
- "keyspace": "string",
- "orgId": "string",
- "tableName": "string",
- "topicPartitions": 0
}
Lists all CDC configurations for the tenant
tenant required | string Name of the pulsar tenant |
Authorization required | string Pulsar token or Astra token. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
Create new CDC configurations for the tenant
tenant required | string Name of the pulsar tenant |
Authorization required | string Pulsar token or Astra token. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
databaseId | string |
databaseName | string |
keyspace | string |
orgId | string |
tableName | string |
topicPartitions | integer <int64> |
{- "databaseId": "string",
- "databaseName": "string",
- "keyspace": "string",
- "orgId": "string",
- "tableName": "string",
- "topicPartitions": 0
}
Creates a new Sink using the given JSON config
tenant required | string Name of the pulsar tenant |
namespace required | string pulsar namespace |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
sink configuration, see pulsar docs for more details: https://pulsar.apache.org/sink-rest-api/?version=master#operation/registerSink
{ }
Update a Sink using the given JSON config
tenant required | string Name of the pulsar tenant |
namespace required | string pulsar namespace |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
sink configuration, see pulsar docs for more details: https://pulsar.apache.org/sink-rest-api/?version=master#operation/registerSink
{ }
Creates a new Source using the given JSON config
tenant required | string Name of the pulsar tenant |
namespace required | string pulsar namespace |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
source configuration, see pulsar docs for more details: https://pulsar.apache.org/source-rest-api/?version=master#operation/registerSource
{ }
Update a source using the given JSON config
tenant required | string Name of the pulsar tenant |
namespace required | string pulsar namespace |
Authorization required | string Pulsar token or Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
source configuration, see pulsar docs for more details: https://pulsar.apache.org/source-rest-api/?version=master#operation/registerSource
{ }
Gets a list of Pulsar clusters under a Pulsar instance
provider | string Cloud provider, for example, aws, gcp, azure, or digital+ocean |
region | string Cloud provider region, for example, us-east1, us-west1, toronto |
feature | string Query clusters that support the specified feature (i.e. cdc) |
type | string Query dedicated and BYOC clusters. The query param value is dedicated. |
Authorization required |
Creates a tenant, the default namespace, a plan policy, and a Pulsar JWT
topic | string Deprecated, topic management should be handled via the pulsar topic endpoints |
Authorization required | |
X-DataStax-Current-Org required | string Organization GUID |
Request body for tenant creation
cloudProvider | string |
cloudRegion | string |
orgID | string |
orgName | string |
tenantName | string |
userEmail | string |
{- "cloudProvider": "string",
- "cloudRegion": "string",
- "orgID": "string",
- "orgName": "string",
- "tenantName": "string",
- "userEmail": "string"
}
Returns 200 if the tenant is reserved under the specified query parameters
provider | string Cloud provider, for example, aws, gcp, azure; this is required to evaluate whether a tenant has been reserved by its org owner |
region | string Cloud provider region, for example, us-east1, us-west1; this is required to evaluate whether a tenant has been reserved by its org owner |
pulsarinstance | string Pulsar instance is the collection of Pulsar clusters. The default value is prod0, which is all the clusters in Astra Streaming's public cloud. This is required to evaluate whether a tenant has been reserved by the entire Pulsar instance. |
cluster | string This is required to evaluate whether a tenant has been reserved within the specified cluster. It can be used for the dedicated or BYOC cluster. |
Authorization required | |
X-DataStax-Current-Org required | string the Astra Org ID |
Remove replicated namespace within the Pulsar instance
Authorization required | |
X-DataStax-Current-Org required | string the Astra Org ID |
Request body to setup namespace replication
bidirection | boolean |
destCluster | string |
string | |
namespace | string |
originCluster | string |
{- "bidirection": true,
- "destCluster": "string",
- "email": "string",
- "namespace": "string",
- "originCluster": "string"
}
Set up replicated namespace within the Pulsar instance
Authorization required | |
X-DataStax-Current-Org required | string the Astra Org ID |
Request body to setup namespace replication
bidirection | boolean |
destCluster | string |
string | |
namespace | string |
originCluster | string |
{- "bidirection": true,
- "destCluster": "string",
- "email": "string",
- "namespace": "string",
- "originCluster": "string"
}
tenant required | string Name of the pulsar tenant |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
tenant required | string Name of the pulsar tenant |
exp required | string Time to live of token in string format (e.g. 1h, 1d, 1w, 1m, 1y) |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
Delete the given token from the given tenant
tenant required | string Name of the pulsar tenant |
tokenID required | string ID of the token to delete |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
Get the given token from the given tenant
tenant required | string Name of the pulsar tenant |
tokenID required | string ID of the token |
Authorization required | |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
Returns a JSON response instead of the string returned by the v2 endpoint.
tenant required | string Name of the pulsar tenant |
Authorization required | string Astra token (https://docs.datastax.com/en/streaming/astra-streaming/operations/astream-token-gen.html#astra-token) or a Keycloak token. |
X-DataStax-Current-Org required | string Astra Org ID. |
X-DataStax-Pulsar-Cluster required | string Astra Streaming Cluster Name. |
exp | string Time duration before the token expires. Expects a string format with a number and unit. For example, '5m', '2h', '10d', etc. |
role | string |
type | string Type of token to create. Can be 'admin' or 'non-admin' |
{- "exp": "string",
- "role": "string",
- "type": "string"
}
{- "id": "string",
- "rolename": "string",
- "token": "string"
}