# List all sources.

Endpoint: GET /sources
Version: 3.27.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 Source object entity ID.

  - `items.database_type` (string)
    The type of this source database.

  - `items.name` (string)
    The name of this source database.

  - `items.namespace_id` (string)
    The namespace id of this source database.

  - `items.namespace_name` (string)
    The namespace name of this source database.

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

  - `items.database_version` (string)
    The version of this source database.

  - `items.environment_id` (string)
    A reference to the Environment that hosts this source database.

  - `items.environment_name` (string)
    name of environment that hosts this source database.

  - `items.data_uuid` (string)
    A universal ID that uniquely identifies this source database.

  - `items.ip_address` (string)
    The IP address of the source's host.

  - `items.fqdn` (string)
    The FQDN of the source's host.

  - `items.size` (integer)
    The total size of this source database, in bytes.

  - `items.jdbc_connection_string` (string)
    The JDBC connection URL for this source database.

  - `items.plugin_version` (string)
    The version of the plugin associated with this source database.

  - `items.toolkit_id` (string)
    The ID of the toolkit associated with this source database(AppData only).

  - `items.is_dsource` (boolean)

  - `items.repository` (string)
    The repository id for this source

  - `items.recovery_model` (string)
    Recovery model of the source database (MSSql Only).
    Example: FULL

  - `items.mssql_source_type` (string)
    The type of this mssql source database (MSSql Only).
    Example: MSSqlSIConfig

  - `items.appdata_source_type` (string)
    The type of this appdata source database (Appdata Only).

  - `items.is_pdb` (boolean)
    If this source is of PDB type (Oracle Only).

  - `items.mount_base` (string)
    The base mount point for the NFS or iSCSI LUN mounts.

  - `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.instance_name` (string)
    The instance name of this single instance database source.

  - `items.instance_number` (integer)
    The instance number of this single instance database source.

  - `items.instances` (array)

  - `items.instances.instance_name` (string, required)
    The name of this instance. Must contain at least one non-whitespace character.

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

  - `items.instances.node_reference` (string, required)
    The reference to the cluster node which the instance is running on. Must contain at least one non-whitespace character.

  - `items.instances.okv_client_id` (string)
    The id of the OKV client used for TDE keystore access. If provided, it must include at least one non-whitespace character; if omitted, the existing OKV client will be cleared.
    Example: 1-ORACLE_OKV_CLIENT-1

  - `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.user` (string)
    The username of the database user.

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

  - `items.non_sys_user` (string)
    The username of a database user that does not have administrative privileges.

  - `items.discovered` (boolean)
    Whether this source was discovered.

  - `items.linking_enabled` (boolean)
    Whether this source should be used for linking.

  - `items.cdb_type` (string)
    The cdb type for this source. (Oracle only)

  - `items.data_connection_id` (string)
    The ID of the associated DataConnection.

  - `items.database_name` (string)
    The name of this source database.

  - `items.database_unique_name` (string)
    The unique name of the database.

  - `errors` (array)
    Sadly, sometimes requests to the API are not successful. Failures can occur for a wide range of reasons. The Errors object contains information about full or partial failures which might have occurred during the request.

  - `errors.message` (string)
    Message providing more detail about the error that occurred, if available.

  - `errors.object_name` (string)
    Name of the object affected by the error.

  - `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.

