4b3471151a8b

latestOpenAPI 3.1.02026-08-1084336455.2 KB
Data Flows Metadata

Get Target Types

Authorization scope: data flow:list

Get all target type entities as a paginated list.

get/v1/target_types

Query parameters

items_per_pageinteger

The number of items per page in the paginated list.

The number of items per page in the paginated list.

pageinteger

The current page number in the paginated list.

The current page number in the paginated list.

Response

Successful Response

next_pagestring nullable

The next page URL

previous_pagestring nullable

The previous page URL

pageinteger

The page number

current_page_sizeinteger required

The current page size

total_itemsinteger

The total number of entities fetched

Example response

{
  "items": [
    {
      "name": "Snowflake",
      "target_type": "snowflake",
      "datasource_type_id": "snowflake",
      "connection_type": "snowflake",
      "target_task_type_id": "fz2snowflake",
      "logic_step_type": "snowflake",
      "target_settings": {
        "dataframe_as_source": true,
        "dataframe_as_target": true,
        "enable_sql_results": true
      },
      "segment": [
        "technical"
      ],
      "river_type_id": "src_to_trgt",
      "icon": "https://static-assets.console.rivery.io/amazon-s3.png",
      "file_zone_settings": {
        "target_type_id": "s3",
        "default_connection_definition": {
          "aws_access_key": "ABCD",
          "aws_access_secret": "123456",
          "connection_type": "aws",
          "region": "us-east-1"
        },
        "is_default": true,
        "bucket": "{aws_file_zone}",
        "is_connection": true,
        "fields_mapping": {
          "blob_storage": {
            "account_key": {
              "is_decrypt": true,
              "new_field": "fz_account_key"
            },
            "account_name": {
              "is_decrypt": false,
              "new_field": "fz_account_name"
            }
          }
        },
        "target_type_options": {
          "available_fz_target_types": [
            "s3",
            "blob_storage"
          ]
        }
      },
      "api_name": "bigquery"
    }
  ]
}