{
	"info": {
		"_postman_id": "c45d95dd-2631-4d19-8c15-872efaccfc26",
		"name": "Fivetran Iceberg REST Catalog",
		"description": "This collection is designed to show the metadata inside of your Fivetran Iceberg REST Catalog (IRC)",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "19195438",
		"_collection_link": "https://dreamteam-5585.postman.co/workspace/dreamteam-Workspace~ad6d4f13-d981-4826-8819-eae00323bad4/collection/19195438-c45d95dd-2631-4d19-8c15-872efaccfc26?action=share&source=collection_link&creator=19195438"
	},
	"item": [
		{
			"name": "List Namespaces",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{auth_url}}",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "fivetrantoken",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "header",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "PRINCIPAL_ROLE:ALL",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "https://polaris.fivetran.com/api/catalog/v1/oauth/tokens",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{base_url}}/{{catalog_id}}/namespaces",
					"host": [
						"{{base_url}}"
					],
					"path": [
						"{{catalog_id}}",
						"namespaces"
					]
				}
			},
			"response": []
		},
		{
			"name": "Show Tables In Namespace",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{base_url}}/{{catalog_id}}/namespaces/{{namespace}}/tables",
					"host": [
						"{{base_url}}"
					],
					"path": [
						"{{catalog_id}}",
						"namespaces",
						"{{namespace}}",
						"tables"
					]
				}
			},
			"response": []
		},
		{
			"name": "Show Table Metadata",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{base_url}}/{{catalog_id}}/namespaces/{{namespace}}/tables/{{table}}",
					"host": [
						"{{base_url}}"
					],
					"path": [
						"{{catalog_id}}",
						"namespaces",
						"{{namespace}}",
						"tables",
						"{{table}}"
					]
				}
			},
			"response": []
		}
	],
	"auth": {
		"type": "oauth2",
		"oauth2": [
			{
				"key": "accessTokenUrl",
				"value": "{{auth_url}}",
				"type": "string"
			},
			{
				"key": "clientSecret",
				"value": "{{client_secret}}",
				"type": "string"
			},
			{
				"key": "clientId",
				"value": "{{client_id}}",
				"type": "string"
			},
			{
				"key": "refreshRequestParams",
				"value": [],
				"type": "any"
			},
			{
				"key": "tokenRequestParams",
				"value": [],
				"type": "any"
			},
			{
				"key": "authRequestParams",
				"value": [],
				"type": "any"
			},
			{
				"key": "tokenName",
				"value": "testingtoken",
				"type": "string"
			},
			{
				"key": "challengeAlgorithm",
				"value": "S256",
				"type": "string"
			},
			{
				"key": "scope",
				"value": "PRINCIPAL_ROLE:ALL",
				"type": "string"
			},
			{
				"key": "grant_type",
				"value": "client_credentials",
				"type": "string"
			},
			{
				"key": "authUrl",
				"value": "https://polaris.fivetran.com/api/catalog/v1/oauth/tokens",
				"type": "string"
			},
			{
				"key": "addTokenTo",
				"value": "header",
				"type": "string"
			},
			{
				"key": "client_authentication",
				"value": "header",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "client_id",
			"value": "",
			"type": "string"
		},
		{
			"key": "client_secret",
			"value": "",
			"type": "string"
		},
		{
			"key": "access_token",
			"value": "",
			"type": "string"
		},
		{
			"key": "catalog_id",
			"value": "",
			"type": "string"
		},
		{
			"key": "base_url",
			"value": "https://polaris.fivetran.com/api/catalog/v1",
			"type": "string"
		},
		{
			"key": "auth_url",
			"value": "https://polaris.fivetran.com/api/catalog/v1/oauth/tokens",
			"type": "string"
		},
		{
			"key": "namespace",
			"value": "",
			"type": "string"
		},
		{
			"key": "table",
			"value": "",
			"type": "string"
		}
	]
}