# List all Staging CDBs.

Endpoint: GET /staging-cdbs
Version: 3.26.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `limit` (integer)
    Maximum number of objects to return per query. The value must be between 1 and 1000. Default is 100.

  - `cursor` (string)
    Cursor to fetch the next or previous page of results. The value of this property must be extracted from the 'prev_cursor' or 'next_cursor' property of a PaginatedResponseMetadata which is contained in the response of list and search API endpoints.

  - `sort` (string)
    The field to sort results by. A property name with a prepended '-' signifies descending order.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array)

  - `items.id` (string)
    The Staging CDB object entity ID.
    Example: 1-STAGING-CDB-1

  - `items.name` (string)
    The name of this Staging CDB.
    Example: Staging Oracle CDB

  - `items.namespace_id` (string)
    The namespace id of this Staging CDB.
    Example: 1-NAMESPACE-1

  - `items.namespace_name` (string)
    The namespace name of this Staging CDB.
    Example: test-engine-1

  - `items.is_replica` (boolean)
    Is this a replicated object.
    Example: true

  - `items.database_version` (string)
    The version of this Staging CDB.
    Example: 10.2.0.5.0

  - `items.environment_id` (string)
    A reference to the Environment that hosts this Staging CDB.
    Example: 1-ENVIRONMENT-1

  - `items.size` (integer)
    The total size of the data files used by this Staging CDB, in bytes.
    Example: 339292672

  - `items.jdbc_connection_string` (string)
    The JDBC connection URL for this Staging CDB.
    Example: jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.43.47.94)(PORT=1521))(CONNECT_DATA=(UR=A)(SID=staging01)))

  - `items.engine_id` (string)
    A reference to the Engine that this Staging CDB belongs to.
    Example: engine-12

  - `items.tags` (array)

  - `items.tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `items.tags.value` (string, required)
    Value of the tag
    Example: value-1

  - `items.group_name` (string)
    The name of the group containing this Staging CDB.
    Example: Staging Group

  - `items.status` (string)
    The runtime status of the Staging CDB.
    Example: RUNNING

  - `items.enabled` (boolean)
    Whether the Staging CDB is enabled or not.
    Example: true

  - `items.instance_name` (string)
    The instance name of this single instance Staging CDB.
    Example: STAGINGCDBSID

  - `items.instance_number` (integer)
    The instance number of this single instance Staging CDB.

  - `items.instances` (array)

  - `items.instances.instance_name` (string)
    The name of this instance.

  - `items.instances.instance_number` (integer)
    The number of this instance.

  - `items.instances.node_reference` (string)
    The reference to the cluster node which the instance is running on.

  - `items.oracle_services` (array)

  - `items.oracle_services.discovered` (boolean)
    Represents whether this jdbc connection string is auto discovered or not.

  - `items.oracle_services.jdbc_connection_string` (string)
    The jdbc connection string used to connect with the database.
    Example: jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1521))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))

  - `items.repository_id` (string)
    The repository id of this Staging CDB.
    Example: 1-ORACLE_INSTALL-1

  - `items.tde_keystore_config_type` (string)
    Oracle TDE keystore configuration type.
    Enum: "FILE", "OKV", "HSM", "OKV|FILE", "FILE|OKV", "HSM|FILE", "FILE|HSM", "OCI_VAULT"

  - `items.database_name` (string)
    The database name of this Staging CDB.
    Example: staging01

  - `items.database_unique_name` (string)
    The unique name of the Staging CDB.
    Example: STAGINGDBOMSRBBDC6C

  - `items.tde_kms_pkcs11_config_path` (string)
    The path to the TDE KMS PKC11 configuration file.
    Example: /etc/oracle/tde/kms_pkcs11.conf

  - `items.is_tde_keystore_password_set` (boolean)
    True if TDE keystore password is set for this Staging CDB.

  - `items.auto_staging_push_restart` (boolean)
    Whether to automatically restart staging push operations.

  - `items.configure_staging_db_params` (boolean)
    Whether to configure staging database parameters.

  - `items.physical_standby` (boolean)
    Whether this is a physical standby database.

  - `items.validate_snapshot_by_opening_db_in_read_mode` (boolean)
    Whether to validate snapshots by opening the database in read mode.

  - `items.mount_base` (string)
    The base mount point for the NFS mount on the staging environment.
    Example: /mnt/staging/CDOMLOSRB5A3

  - `items.datafile_mount_path` (string)
    The datafile mount point for the NFS mount on the staging environment.
    Example: /mnt/staging/CDOMLOSRB5A3/datafile

  - `items.archive_mount_path` (string)
    The archive mount point for the NFS mount on the staging environment.
    Example: /mnt/staging/CDOMLOSRB5A3/archive

  - `items.custom_env_vars` (array)

  - `items.custom_env_vars.cluster_node` (string)
    The cluster node on which the environment variable is relevant.

  - `items.custom_env_vars.path_parameters` (string)
    A string of whitespace-separated parameters to be passed to the source command. The first parameter must be an absolute path to a file that exists on the target environment. Every subsequent parameter will be treated as an argument interpreted by the environment file.

  - `items.custom_env_vars.var_name` (string)
    The name of the environment variable.

  - `items.custom_env_vars.var_value` (string)
    The value of the environment variable.

  - `items.nfs_version` (integer)
    The NFS version that was last used to mount this source."
    Example: 3

  - `items.nfs_version_reason` (string)
    The reason why the source is being mounted with nfsVersion.
    Enum: "DEFAULT", "OLD_REDHAT", "UNSUPPORTED_OS", "DNFS", "TUNABLE_OVERRIDE", "NO_RECOVER_LOST_LOCKS", "UNSUPPORTED_DATA_PLATFORM", "INCOMPLETE_V4_CONFIG", "DNFS_UNSUPPORTED_ORACLE_VERSIONS_1912_1915", "DNFS_UNSUPPORTED_ORACLE_VERSIONS_211_216", "DNFS_UNSUPPORTED_ORACLE_VERSIONS_LESS_THAN_12C"

  - `items.nfs_encryption_enabled` (boolean)
    Flag indicating whether the data transfer is encrypted or not.
    Example: true

  - `items.logsync_enabled` (boolean)
    Whether logsync is enabled for this Staging CDB.
    Example: true

  - `items.description` (string)
    Description of this Staging CDB.
    Example: Staging CDB for production data

  - `items.config_params` (object)
    Database configuration parameter overrides.
    Example: {"param":"value","param2":"value2"}

  - `items.db_template_id` (string)
    The database template ID for this Staging CDB.
    Example: DB-TEMPLATE-1

  - `items.db_template_name` (string)
    Name of the Database Template.
    Example: template-name

  - `items.environment_user_ref` (string)
    The environment user reference.

  - `response_metadata` (object)

  - `response_metadata.prev_cursor` (string)
    Pointer to the previous page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.next_cursor` (string)
    Pointer to the next page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.total` (integer)
    The total number of results. This value may not be provided.

