{
	"info": {
		"_postman_id": "d271058d-9428-4653-abf5-e5781566e727",
		"name": "Crawler API",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Create a new job",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "default"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"url\": \"https://ip.oxylabs.io\",\n  \"filters\": {\n    \"crawl\": [\".*\"],\n    \"process\": [\".*\"],\n    \"max_depth\": 1\n  },\n  \"scrape_params\": {\n    \"source\": \"universal\",\n    \"user_agent_type\": \"desktop\"\n  },\n  \"output\": {\n    \"type_\": \"sitemap\"\n  },\n  \"upload\": {}\n}"
				},
				"url": {
					"raw": "https://ect.oxylabs.io/v1/jobs",
					"protocol": "https",
					"host": [
						"ect",
						"oxylabs",
						"io"
					],
					"path": [
						"v1",
						"jobs"
					]
				}
			},
			"response": []
		},
		{
			"name": "Stop a job",
			"request": {
				"method": "POST",
				"header": [],
				"url": {
					"raw": "https://ect.oxylabs.io/v1/jobs/{id}/stop-indexing",
					"protocol": "https",
					"host": [
						"ect",
						"oxylabs",
						"io"
					],
					"path": [
						"v1",
						"jobs",
						"{id}",
						"stop-indexing"
					]
				}
			},
			"response": []
		},
		{
			"name": "Resume a job",
			"request": {
				"method": "POST",
				"header": [],
				"url": {
					"raw": "https://ect.oxylabs.io/v1/jobs/{id}/resume-indexing",
					"protocol": "https",
					"host": [
						"ect",
						"oxylabs",
						"io"
					],
					"path": [
						"v1",
						"jobs",
						"{id}",
						"resume-indexing"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get job info",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://ect.oxylabs.io/v1/jobs/{id}",
					"protocol": "https",
					"host": [
						"ect",
						"oxylabs",
						"io"
					],
					"path": [
						"v1",
						"jobs",
						"{id}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get sitemap",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://ect.oxylabs.io/v1/jobs/{id}/sitemap",
					"protocol": "https",
					"host": [
						"ect",
						"oxylabs",
						"io"
					],
					"path": [
						"v1",
						"jobs",
						"{id}",
						"sitemap"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get aggregate result",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://ect.oxylabs.io/v1/jobs/{id}/aggregate",
					"protocol": "https",
					"host": [
						"ect",
						"oxylabs",
						"io"
					],
					"path": [
						"v1",
						"jobs",
						"{id}",
						"aggregate"
					]
				}
			},
			"response": []
		}
	],
	"auth": {
		"type": "basic",
		"basic": [
			{
				"key": "password",
				"value": "ENTER_YOUR_PASSWORD",
				"type": "string"
			},
			{
				"key": "username",
				"value": "ENTER_YOUR_USERNAME",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	]
}