{
	"info": {
		"_postman_id": "7eedea8e-e8a4-4e4b-af7f-3e4c95650c26",
		"name": "Near Space Labs API Collection",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Tile Service",
			"item": [
				{
					"name": "/tile/{survey}/coverage",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"url": {
							"raw": "https://api.nearspacelabs.net/tile/2024Q2-NV-LAS/coverage?zoom=14&wkt=POINT (-115.268641 36.173426)&overlap=intersects",
							"protocol": "https",
							"host": [
								"api",
								"nearspacelabs",
								"net"
							],
							"path": [
								"tile",
								"2024Q2-NV-LAS",
								"coverage"
							],
							"query": [
								{
									"key": "zoom",
									"value": "14"
								},
								{
									"key": "wkt",
									"value": "POINT (-115.268641 36.173426)"
								},
								{
									"key": "overlap",
									"value": "intersects"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "/tile/surveys",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"url": {
							"raw": "https://api.nearspacelabs.net/tile/surveys",
							"protocol": "https",
							"host": [
								"api",
								"nearspacelabs",
								"net"
							],
							"path": [
								"tile",
								"surveys"
							]
						}
					},
					"response": []
				},
				{
					"name": "/tile/surveys/coverage",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"url": {
							"raw": "https://api.nearspacelabs.net/tile/surveys/coverage?zoom=14&overlap=intersects&wkt=POINT (-82.135849 27.014784)",
							"protocol": "https",
							"host": [
								"api",
								"nearspacelabs",
								"net"
							],
							"path": [
								"tile",
								"surveys",
								"coverage"
							],
							"query": [
								{
									"key": "zoom",
									"value": "14"
								},
								{
									"key": "overlap",
									"value": "intersects"
								},
								{
									"key": "wkt",
									"value": "POINT (-82.135849 27.014784)"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "/tile/{mosaic_id}/{z}/{x}/{y}",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"url": {
							"raw": "https://api.nearspacelabs.net/tile/2024Q4-FL-PTCH/20/285130/442535",
							"protocol": "https",
							"host": [
								"api",
								"nearspacelabs",
								"net"
							],
							"path": [
								"tile",
								"2024Q4-FL-PTCH",
								"20",
								"285130",
								"442535"
							],
							"query": [
								{
									"key": "metadata",
									"value": null
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "/tile/{mosaic_id}/mosaic_updates",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{access_token}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"url": {
							"raw": "https://api.nearspacelabs.net/tile/2024Q4-FL-PTCH/mosaic_updates?since=2024-11-13 17:55:10&include_percent_covered=1&until=2024-11-13 17:55:12",
							"protocol": "https",
							"host": [
								"api",
								"nearspacelabs",
								"net"
							],
							"path": [
								"tile",
								"2024Q4-FL-PTCH",
								"mosaic_updates"
							],
							"query": [
								{
									"key": "since",
									"value": "2024-11-13 17:55:10"
								},
								{
									"key": "include_percent_covered",
									"value": "1"
								},
								{
									"key": "until",
									"value": "2024-11-13 17:55:12"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "OAuth",
			"item": [
				{
					"name": "/oauth/token",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n                \"client_id\": \"{{NSL_ID}}\",\n                \"client_secret\": \"{{NSL_SECRET}}\",\n                \"grant_type\": \"client_credentials\",\n                \"audience\": \"https://api.nearspacelabs.com\"\n            }",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://api.nearspacelabs.net/oauth/token",
							"protocol": "https",
							"host": [
								"api",
								"nearspacelabs",
								"net"
							],
							"path": [
								"oauth",
								"token"
							]
						},
						"description": "Generated from cURL: curl --location --request POST \"https://sandbox.nearspacelabs.net/oauth/token\" \
            --header 'Content-Type: application/json' \
            --data-raw \"{\n                \"client_id\": \"$NSL_ID\",\n                \"client_secret\": \"$NSL_SECRET\",\n                \"grant_type\": \"client_credentials\",\n                \"audience\": \"https://api.nearspacelabs.com\"\n            }\""
					},
					"response": []
				}
			]
		}
	],
	"event": [],
	"variable": [
		{
			"key": "NSL_ID",
			"value": ""
		},
		{
			"key": "NSL_SECRET",
			"value": ""
		}
	]
}
