Download OpenAPI specification:
The Astra DB Serverless Data API modifies and queries data stored as unstructured JSON documents in collections. See the documentation site for additional information.
Executes a single general command.
name | string Required name of the new Keyspace |
object (CreateKeyspace.Options) Options for creating a new keyspace. |
"{\n \"createKeyspace\": {\n \"name\": \"cycling\"\n }\n}\n"
"{\n \"status\": {\n \"ok\": 1\n }\n}\n"
Executes a single command against a collection.
keyspace required | string <= 48 characters [a-zA-Z][a-zA-Z0-9_]* Example: cycling The keyspace where the collection is located. |
name | string Required name of the new Collection |
object Configuration options for the collection |
"{\n \"createCollection\": {\n \"name\": \"events\"\n }\n}\n"
"{\n \"status\": {\n \"ok\": 1\n }\n}\n"
Executes a single command against a collection.
keyspace required | string <= 48 characters [a-zA-Z][a-zA-Z0-9_]* Example: cycling The keyspace where the collection is located. |
collection required | string <= 48 characters [a-zA-Z][a-zA-Z0-9_]* Example: events The name of the collection. |
object (JsonNode) | |
object (FilterDefinition) |
" {\n \"countDocuments\": {\n \"filter\": {\"location\": \"London\", \"race.competitors\" : {\"$eq\" : 100}}\n }\n }\n"
"{\n \"status\": {\n \"count\": 2\n }\n}\n"