Backblaze · Schema

ListBucketsRequest

ListBucketsRequest schema from Backblaze B2 Native API

Cloud StorageObject StorageStorageBackup

Properties

Name Type Description
accountId string The account ID
bucketId string Filter to a specific bucket
bucketName string Filter by bucket name
bucketTypes array Filter by bucket type
View JSON Schema on GitHub

JSON Schema

b2-native-api-list-buckets-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/backblaze/refs/heads/main/json-schema/b2-native-api-list-buckets-request-schema.json",
  "title": "ListBucketsRequest",
  "description": "ListBucketsRequest schema from Backblaze B2 Native API",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "description": "The account ID",
      "example": "abc123def456"
    },
    "bucketId": {
      "type": "string",
      "description": "Filter to a specific bucket"
    },
    "bucketName": {
      "type": "string",
      "description": "Filter by bucket name"
    },
    "bucketTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Filter by bucket type"
    }
  },
  "required": [
    "accountId"
  ]
}