diff --git a/BUILD.bazel b/BUILD.bazel index d9c2e351..3207b429 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -173,7 +173,7 @@ bundle_external_specs( name = "run_redocly_join", config = "redocly/redocly-merged-config.yaml", main_spec = "//:woosmap-openapi3.json", - plugins = glob(["redocly/**/*.js"]), + plugins = glob(["redocly/**/*.js"]) + ["redocly/inject-code-samples-mappings.yaml"], specs = [ "maps", "what3words", diff --git a/dist/merged-woosmap-openapi3.json b/dist/merged-woosmap-openapi3.json index b13a8705..019e5b12 100755 --- a/dist/merged-woosmap-openapi3.json +++ b/dist/merged-woosmap-openapi3.json @@ -62,14 +62,14 @@ }, { "name": "Static Map API", - "description": "The Woosmap Static Maps API lets you generate customizable, embeddable map images using simple HTTP requests. It’s a lightweight alternative to interactive maps—ideal for emails, reports, or websites where dynamic JavaScript maps aren't needed. \n\nYou provide parameters such as location, zoom level, size, and markers, and the API returns a map image that can be embedded directly into any webpage or application.\n", + "description": "The Woosmap Static Maps API lets you generate customizable, embeddable map images using simple HTTP requests. It’s a lightweight alternative to interactive maps—ideal for emails, reports, or websites where dynamic JavaScript maps aren't needed.\n\nYou provide parameters such as location, zoom level, size, and markers, and the API returns a map image that can be embedded directly into any webpage or application.\n", "externalDocs": { "url": "https://developers.woosmap.com/products/map-static-api/get-started/" } }, { "name": "Woosmap for what3words API", - "description": "The Woosmap for what3words integration enhances location search capabilities by incorporating what3words' unique\n3-word addressing system. \n\nThis API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of \n[Localities API](#tag/Woosmap_Platform_API_Reference_Localities-API) to convert a what3words address into a street address, bringing address level accuracy to what3words.\n", + "description": "The Woosmap for what3words integration enhances location search capabilities by incorporating what3words' unique\n3-word addressing system.\n\nThis API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of\n[Localities API](#tag/Woosmap_Platform_API_Reference_Localities-API) to convert a what3words address into a street address, bringing address level accuracy to what3words.\n", "externalDocs": { "url": "https://developers.woosmap.com/products/w3w-api/get-started/" } @@ -81,16 +81,23 @@ "url": "https://developers.woosmap.com/products/indoor-api/get-started/" } }, + { + "name": "Distance Async API", + "description": "The Woosmap Distance Async API suite provides tools for large or difficult distance calculations.\n\n* **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations.\n\nRequests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management.\n", + "externalDocs": { + "url": "https://developers.woosmap.com/products/distance-api/get-started/" + } + }, { "name": "Transit API", - "description": "The Transit API delivers comprehensive public transportation routing information by calculating optimal travel paths between \norigins and destinations. It provides detailed route data including distance, duration, polyline visualization, \nand complete step-by-step transit instructions with transfer points and transportation modes. The API is ideal for \napplications requiring accurate public transit navigation and trip planning capabilities.\n", + "description": "The Transit API delivers comprehensive public transportation routing information by calculating optimal travel paths between\norigins and destinations. It provides detailed route data including distance, duration, polyline visualization,\nand complete step-by-step transit instructions with transfer points and transportation modes. The API is ideal for\napplications requiring accurate public transit navigation and trip planning capabilities.\n", "externalDocs": { "url": "https://developers.woosmap.com/products/transit-api/route-endpoint/" } }, { "name": "Datasets API", - "description": "Manage the full lifecycle of your geospatial data alongside powerful analysis and retrieval.\n\n* **Management:** Programmatically create datasets, import features in bulk (CSV/GeoJSON), and handle updates or deletions.\n* **Search:** Execute **Nearby**, **Contains**, **Intersects**, and **Within** queries using SQL-like `WHERE` filters.\n* **Features:** Direct access to individual geographic features by unique ID with field masking. \n\nIdeal for applications that require precise location analysis, spatial queries and geographic data management.\n", + "description": "Manage the full lifecycle of your geospatial data alongside powerful analysis and retrieval.\n\n* **Management:** Programmatically create datasets, import features in bulk (CSV/GeoJSON), and handle updates or deletions.\n* **Search:** Execute **Nearby**, **Contains**, **Intersects**, and **Within** queries using SQL-like `WHERE` filters.\n* **Features:** Direct access to individual geographic features by unique ID with field masking.\n\nIdeal for applications that require precise location analysis, spatial queries and geographic data management.\n", "externalDocs": { "url": "https://developers.woosmap.com/products/datasets-api/get-started/" } @@ -1834,6 +1841,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "dataset" }, "delete": { @@ -1947,6 +1971,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L -X DELETE 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"DELETE\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "dataset" }, "put": { @@ -2058,6 +2099,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L -X PUT 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n});\n\nconst requestOptions = {\n method: \"PUT\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "dataset" } }, @@ -2168,6 +2226,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "dataset" }, "post": { @@ -2257,6 +2332,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "dataset" } }, @@ -2360,6 +2452,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "dataset" } }, @@ -2463,6 +2572,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "dataset" } }, @@ -2537,6 +2663,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "security": [], "x-original-tag": "dataset" } @@ -2695,6 +2838,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"where\": \"cost_col:>32.3\"\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"where\": \"cost_col:>32.3\"\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"where\": \"cost_col:>32.3\"\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "search" } }, @@ -2938,6 +3098,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "search" } }, @@ -3181,6 +3358,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "search" } }, @@ -3424,6 +3618,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "search" } }, @@ -3617,6 +3828,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "search" } }, @@ -3763,6 +3991,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "features" } }, @@ -4032,6 +4277,185 @@ "application/json": { "schema": { "$ref": "#/components/schemas/Distance_RouteResponse" + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "status": "OK", + "routes": [ + { + "overview_polyline": { + "points": "a_~kHgrhXu@yAe@y@c@q@e@q@c@o@e@m@y@eAa@g@a@c@Y[UUQQYUQOSOQKSKOKQISIWKSEUEMCQAa@CeA@[E}@EUAOEOGKKIOM[I]Ea@A[?QBIBU?WFWDOLUP[P]j@y@^g@`@i@NUNONMJKJIFELCJBJAHGFIDMBSASBKDILURa@LWt@eAHO" + }, + "bounds": { + "northeast": { + "lat": 49.315678, + "lng": 4.152915 + }, + "southwest": { + "lat": 49.31073, + "lng": 4.145162 + } + }, + "notice": "", + "legs": [ + { + "distance": { + "text": "1 km", + "value": 1038 + }, + "duration": { + "text": "1 min", + "value": 75 + }, + "start_location": { + "lat": 49.31067, + "lng": 4.14525 + }, + "end_location": { + "lat": 49.31344, + "lng": 4.15293 + }, + "start_waypoint": 0, + "end_waypoint": 1, + "end_address": "D 30", + "start_address": "D 151", + "steps": [ + { + "distance": "676 m", + "duration": "1 min", + "polyline": "a_~kHgrhXu@yAe@y@c@q@e@q@c@o@e@m@y@eAa@g@a@c@Y[UUQQYUQOSOQKSKOKQISIWKSEUEMCQAa@CeA@[E}@EUAOEOGKKIOM[I]Ea@A[?Q", + "start_location": { + "lat": 49.31073, + "lng": 4.145163 + }, + "end_location": { + "lat": 49.315679, + "lng": 4.149621 + }, + "travel_mode": "DRIVING", + "instructions": { + "action": 2, + "summary": "Drive northeast on D 151.", + "verbal_succint": "Drive northeast. Then Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_before": "Drive northeast on D 151. Then Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_after": "Continue for 700 meters." + } + }, + { + "distance": "22 m", + "duration": "1 min", + "polyline": "}}~kHcniXBIBU?W", + "start_location": { + "lat": 49.315679, + "lng": 4.149621 + }, + "end_location": { + "lat": 49.31563, + "lng": 4.149905 + }, + "travel_mode": "DRIVING", + "instructions": { + "action": 26, + "summary": "Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_alert": "Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_succint": "Enter the roundabout and take the 2nd exit.", + "verbal_before": "Enter the roundabout and take the 2nd exit onto D 30." + } + }, + { + "distance": "198 m", + "duration": "1 min", + "polyline": "u}~kH{oiXFWDOLUP[P]j@y@^g@`@i@NUNONMJKJIFELC", + "start_location": { + "lat": 49.31563, + "lng": 4.149905 + }, + "end_location": { + "lat": 49.314292, + "lng": 4.151623 + }, + "travel_mode": "DRIVING", + "instructions": { + "action": 27, + "summary": "Exit the roundabout onto D 30.", + "verbal_succint": "Exit the roundabout.", + "verbal_before": "Exit the roundabout onto D 30.", + "verbal_after": "Continue for 200 meters." + } + }, + { + "distance": "46 m", + "duration": "1 min", + "polyline": "iu~kHsziXJBJAHGFIDMBSAS", + "start_location": { + "lat": 49.314292, + "lng": 4.151623 + }, + "end_location": { + "lat": 49.314041, + "lng": 4.151976 + }, + "travel_mode": "DRIVING", + "instructions": { + "action": 26, + "summary": "Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_alert": "Enter the roundabout and take the 2nd exit onto D 30.", + "verbal_succint": "Enter the roundabout and take the 2nd exit.", + "verbal_before": "Enter the roundabout and take the 2nd exit onto D 30." + } + }, + { + "distance": "96 m", + "duration": "1 min", + "polyline": "ws~kHy|iXBKDILURa@LWt@eAHO", + "start_location": { + "lat": 49.314041, + "lng": 4.151976 + }, + "end_location": { + "lat": 49.313431, + "lng": 4.152916 + }, + "travel_mode": "DRIVING", + "instructions": { + "action": 27, + "summary": "Exit the roundabout onto D 30.", + "verbal_succint": "Exit the roundabout. Then, in 100 meters, You will arrive at your destination.", + "verbal_before": "Exit the roundabout onto D 30. Then, in 100 meters, You will arrive at your destination.", + "verbal_after": "Continue for 100 meters." + } + }, + { + "distance": "1 m", + "duration": "1 min", + "polyline": "}o~kHubjX", + "start_location": { + "lat": 49.313431, + "lng": 4.152916 + }, + "end_location": { + "lat": 49.313431, + "lng": 4.152916 + }, + "travel_mode": "DRIVING", + "instructions": { + "action": 4, + "summary": "You have arrived at your destination.", + "verbal_alert": "You will arrive at your destination.", + "verbal_before": "You have arrived at your destination." + } + } + ] + } + ], + "main_route_name": "D 151", + "recommended": true + } + ] + } + } } } } @@ -4087,6 +4511,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/route/json?origin=49.31067%2C4.14525&destination=49.31344%2C4.15293&mode=driving&language=en&alternatives=true&method=distance&details=full&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/route/json?origin=49.31067%2C4.14525&destination=49.31344%2C4.15293&mode=driving&language=en&alternatives=true&method=distance&details=full&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/route/json?origin=49.31067%2C4.14525&destination=49.31344%2C4.15293&mode=driving&language=en&alternatives=true&method=distance&details=full&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "route" } }, @@ -4325,7 +4766,43 @@ "application/json": { "schema": { "$ref": "#/components/schemas/Distance_MatrixResponse" - } + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "status": "OK", + "rows": [ + { + "elements": [ + { + "status": "OK", + "duration": { + "value": 978, + "text": "16 mins" + }, + "distance": { + "value": 10796, + "text": "10.8 km" + } + }, + { + "status": "OK", + "duration": { + "value": 942, + "text": "16 mins" + }, + "distance": { + "value": 10322, + "text": "10.3 km" + } + } + ] + } + ] + } + } + } } } }, @@ -4380,6 +4857,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/distancematrix/json?origins=48.709%2C2.403&destinations=48.709%2C2.303%7C48.768%2C2.338&mode=driving&language=en&elements=duration_distance&method=distance&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/distancematrix/json?origins=48.709%2C2.403&destinations=48.709%2C2.303%7C48.768%2C2.338&mode=driving&language=en&elements=duration_distance&method=distance&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/distancematrix/json?origins=48.709%2C2.403&destinations=48.709%2C2.303%7C48.768%2C2.338&mode=driving&language=en&elements=duration_distance&method=distance&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "distancematrix" }, "post": { @@ -4424,6 +4918,14 @@ "application/json": { "schema": { "$ref": "#/components/schemas/Distance_MatrixRequest" + }, + "example": { + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "units": "imperial", + "elements": "duration_distance", + "method": "distance", + "departure_time": "now" } } } @@ -4435,6 +4937,46 @@ "application/json": { "schema": { "$ref": "#/components/schemas/Distance_MatrixResponse" + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "status": "OK", + "rows": [ + { + "elements": [ + { + "status": "OK", + "duration": { + "value": 2406, + "text": "40 mins" + }, + "distance": { + "value": 12210, + "text": "7.6 miles" + } + } + ] + }, + { + "elements": [ + { + "status": "OK", + "duration": { + "value": 2406, + "text": "40 mins" + }, + "distance": { + "value": 12210, + "text": "7.6 miles" + } + } + ] + } + ] + } + } } } } @@ -4490,6 +5032,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/distancematrix/json?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"units\": \"imperial\",\n \"elements\": \"duration_distance\",\n \"method\": \"distance\",\n \"departure_time\": \"now\"\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"units\": \"imperial\",\n \"elements\": \"duration_distance\",\n \"method\": \"distance\",\n \"departure_time\": \"now\"\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/distancematrix/json?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/distance/distancematrix/json?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"units\": \"imperial\",\n \"elements\": \"duration_distance\",\n \"method\": \"distance\",\n \"departure_time\": \"now\"\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "distancematrix" } }, @@ -4664,6 +5223,25 @@ "application/json": { "schema": { "$ref": "#/components/schemas/Distance_IsochroneResponse" + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "status": "OK", + "isoline": { + "origin": { + "lat": 48.709, + "lng": 2.403 + }, + "distance": { + "value": 1, + "text": "1 km" + }, + "geometry": "s|ihHouuMZ`GdClCsA~QhCnQmBhEpCfF|HxGpBtFfEnBnHqJpH}ADaEcCaB@sBnEiEYiGmVyFaG{G[eFoCw@gAiIkDYg@_DwA@" + } + } + } } } } @@ -4719,6 +5297,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/isochrone/json?origin=48.709%2C2.403&value=1&mode=driving&language=en&method=distance&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/isochrone/json?origin=48.709%2C2.403&value=1&mode=driving&language=en&method=distance&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/isochrone/json?origin=48.709%2C2.403&value=1&mode=driving&language=en&method=distance&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "isochrone" }, "post": { @@ -4774,6 +5369,25 @@ "application/json": { "schema": { "$ref": "#/components/schemas/Distance_IsochroneResponse" + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "status": "OK", + "isoline": { + "origin": { + "lat": 48.709, + "lng": 2.403 + }, + "distance": { + "value": 1, + "text": "1 km" + }, + "geometry": "s|ihHouuMZ`GdClCsA~QhCnQmBhEpCfF|HxGpBtFfEnBnHqJpH}ADaEcCaB@sBnEiEYiGmVyFaG{G[eFoCw@gAiIkDYg@_DwA@" + } + } + } } } } @@ -4829,6 +5443,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/isochrone/json?origin=48.709%2C2.403&value=1&mode=driving&language=en&method=distance&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/isochrone/json?origin=48.709%2C2.403&value=1&mode=driving&language=en&method=distance&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/isochrone/json?origin=48.709%2C2.403&value=1&mode=driving&language=en&method=distance&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "isochrone" } }, @@ -5055,6 +5686,152 @@ "application/json": { "schema": { "$ref": "#/components/schemas/Distance_TollsResponse" + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "status": "OK", + "routes": [ + { + "legs": [ + { + "distance": { + "value": 272304, + "text": "272 km" + }, + "duration": { + "value": 8834, + "text": "2 hours 27 mins" + }, + "start_location": { + "lat": 43.7037562, + "lng": 4.1217688 + }, + "end_location": { + "lat": 45.7196995, + "lng": 4.848819 + }, + "tolls": [ + { + "countryCode": "FRA", + "tollSystemRef": 0, + "tollSystem": "ASF", + "tollSystems": [ + 0 + ], + "fares": [ + { + "id": "e4626716-1e29-4f9a-905a-19f0376cfb38", + "name": "ASF", + "price": { + "type": "value", + "currency": "EUR", + "value": 28.9 + }, + "reason": "toll", + "paymentMethods": [ + "cash", + "bankCard", + "creditCard", + "transponder", + "travelCard" + ], + "transponders": [ + { + "system": "BipandGo" + }, + { + "system": "BipandGo" + }, + { + "system": "BipandGo IDVROOM carpoorling" + }, + { + "system": "Cito30" + }, + { + "system": "Easytrip pass" + }, + { + "system": "Liane 30" + }, + { + "system": "Liber-t" + }, + { + "system": "Liber-t mobilitis" + }, + { + "system": "Pass Pont-Pont" + }, + { + "system": "Progressivi'T Maurienne" + }, + { + "system": "TopEurop" + }, + { + "system": "Tunnel Pass+" + }, + { + "system": "Ulys" + }, + { + "system": "Ulys Europe" + }, + { + "system": "VIA-T" + }, + { + "system": "Viaduc-t 30" + } + ] + } + ], + "tollCollectionLocations": [ + { + "name": "MONTPELLIER (M.EST)", + "location": { + "lat": 43.70291, + "lng": 4.11982 + } + }, + { + "name": "VIENNE", + "location": { + "lat": 45.4761, + "lng": 4.83378 + } + } + ] + } + ], + "tollSystems": [ + { + "id": 7607, + "name": "ASF" + } + ] + } + ], + "bounds": { + "northeast": { + "lat": 45.7197, + "lng": 4.89669 + }, + "southwest": { + "lat": 43.7022, + "lng": 4.11696 + } + }, + "overview_polyline": { + "points": "m{viG_`dXDGLUDU@a@C]GUGMOOOEQCQDMFMPGPGf@@\\H\\HPJHNF\\@N?RFTNNTVh@Rh@Nl@^zBXlAb@|A\\~@\\t@Rx@RhADl@?VCd@EZGTKRUZUL]FM?MCQISOcAaA]WwF{HcDoEgA}AkBoCeCyDuE_IqEkIoEiI_@s@gBiDmCkFkC_FmRw^sB_Ea@w@c@y@sDcHuH{NyDwH}AeD{AoDy@uBmBuFiAuDeA{DiAcFOq@w@eEk@cDs@iFo@}Fo@iI[oGSaHGmFCyEGaXGmHG}DKkEKmDWqG_@qHa@wGi@aHMsAMsAk@mGK}@i@yEKu@_@uCAKWgBU}ASoAUwAWaBgAkGm@iDWoAy@cDaAkDiAeDcAgCeAaCoAcCmAuBaCqDsAcB}@eA_BaBq@m@aCoBgBoAgBeAaAg@iBy@w@[}Bu@sM}D_Cy@gEiBmCuAaBaAwDcCs@i@sBcByAsAiBeBwB_CiBwBqCwDoAiBoCsEgAqBoBgEqAyCmA_DiAcDgAeDc@{Aq@aCu@}CQw@_AwEc@gCy@oFi@{EUgCUyCWsEOkDO{GAkHBsEB_BFoBLiDNsCf@{Hx@qLTsCdI{iAj@}INeEFcGAkDGyCUiFSqCk@cFQqA]uBw@}Dq@mCoAoEa@mAi@wAyAkDm@qAWe@}AmCw@iAgBcCoA{A_C_CwKyJaEkDiL_KsHwGwC_CsE_D_DkBmBcAmEcCeBkAwBcByAqAq@o@}AgB}AoBuAsBk@_AyAmCaAqBuAiDq@sB{@{CeDmL{@sCmB{FuBwF{BaFuAqC{@_BuBmDaBeCqBqCw@cAwAeBgAmA{CyCgD_D_BsAoC_CyG{FyByBuB_CmCaDcByBgCuDoBcDcIsNk@_A_BgCu@eAcByBmB{BaEmE_GiG_DcDwD}DmBmBsAuAcB}AoCcCcA}@s@k@}CcCgDeC{FcEuAeAmAiAmAiAuAyAiAsAe@o@sAoB}@{Au@uAw@_Bq@}AoAgDa@oAiAeEm@sCa@wB]yBUiBi@wEYuCg@{EEe@K_AGk@y@uHYeCGe@}AcMi@qDOaAeBoK{AcIwDiQwC}LqD}NkAaF}@_EuAmGo@sC_ByIWaBq@oD]oB[yBw@cFo@oDi@uDcBiKkB_LSqAw@yEc@_CcAyFo@iDiA{Fm@aDmA_GsDuPGYoCeL_CcJqAwEw@sC_DuKoC}ImCmIgAcDmAiDyDmKaDqIeDiI_@{@Ui@eAkCeEwJuSoe@iFyLmCsGkDwI}FsOSk@kE_MoHoTgDsJSi@]}@gBgEyA_Ds@uA_BsCq@gAaCkD{BqCe@k@cDeDaB{AgA_AyBcBoAy@mBgAsBiAiEyBm@YsB{@aD}As@[eFaC_Bw@gCuA{B{AqCuBwBgByLsKmC_C_EoDgB_B_Ay@qO_NyFkFoAiAyE_E{I_IOMkSsQyDoDi@g@s@s@qCuCyBgCaDcEcCkDuBeDqBmDeC{EsAuCkBsEWq@{@}BgA{CmAqDcLg^wDuLiBaGe@wAuAmEwAsEwAwEgAyDgBgHw@uDq@wDqA{JW_CUaC_@iFc@}JQiH_@}RMeEWuGI}AWuD}@mK[_DeA{Im@qEeAmH}@sFs@cEeAsFkCaM_@cB{B_J_AmDiC_JcAcDuCuIwCcImAcDmCmG}BgFcCiFyCcGwCmFiB_DcDiFsEcHuHgLwC}EwAkCiBwDuBeF{AmEe@yAoAmE_BwG_AsEy@wEc@qCIk@w@iG{@_Ji@kHa@gG}@uOm@qJ_@cH]eGGoAi@qJGaAg@kIqAyUIuAEs@e@wHiAuO_@sEUyBi@_Fk@iEgAcHy@uEs@sDEQwAiGkAsEiA_Eu@cCwDaL{AaEuCmHeEwIkCkFiCuEcBuCkAmBsFoIgNyRiCqDeD_F_A}AkGaLuAcCy@{AcEsH}AsC[k@_Tc`@{@yAyFiKkDiGmCqE}A_CcDsEuBkCuBcC{BcCaAeA}BcCa@c@c@e@s@w@yAaBsD}EgBkC}AgC}C_GgA{BqBiE}AoD}BcF}BaFiA}B{Pg[aD}Fu@oAmIcOmB{CoAcByAeBuCwC_Aw@uAcAeBeAqDsBgFmCoCyAeC{AkCgBy@o@q@g@}AqA_EuDsCuC}CeDmEcF_D{D}CaEuEsGsCkEwDiGwD{G_@o@u@yAmA}BuAgCgBoDcAmBuAqCqBuDy@}A_BuC{CaFoBcDuFqIgK}NuB_DeA_BwBkDaAeBmCeF{AaDaCqF{ByFwBwFyBgGoAcD_C{FyAcD_AqByA_DcDyGaDaHwCaH{BaGsB{FiBuFmA_E}GmUqC{IaD_JoBcFqCuGaAyBmEiJoCmF_ByCcEmHyC_FcEqGkBuC_AsAsAoBm@y@eEwFeBcCqC_EiAeBkCiEm@eAm@gAuBgEkAyB_BiDmAuCyGuPeBiEm@yA]w@aCaFg@eA}AqCgB}CgCaEwCgEeEoFkByBqFcGwHkIsCkDmBgCcCiDeBoCw@mAcDmFyCqFsB}D}AcD_AuBy@wB}@mCq@_C_AcEe@gC[oB_@kCeAiIy@kFkAyFi@qBc@sAkBaFe@eAsAmCmAuBoBwCu@cAwCyDoFmHiBgCgAaBgDmFqBeDgB_DmCeFoB}D}B}E}AoDaA_CeEyKkAcDqBeGoBsGkBsG_E_OiBsGiBuFoAiDk@sAuAyC}AsCeBiCmCqDoAwAqBqBaA{@kCoBkBmAcCqAcAe@cAa@cA[gA[gAWkCe@kAOkCOmAEeA?oCHmAHkCViCZgFh@qBLaBFkBD}@CaAEeAK{@KiASmAYy@Y{Bw@aAc@c@QiCqAmE{BeEiBo@SqCm@cAO{AMw@Iu@C{A?yBD_AF}BVaCh@gAZeCx@cAb@uDzAgC`AeA\\eCp@cARyC`@w@FmADmC@}@CmCQqAQ{@OcAUiCs@oDsA{@]cBq@o@WsAm@iGgC_IcDi@S{@a@kQsH_FcCuBeA_CsAqD_CeCeB}BgB_CmB{BuBMMoBiBe@c@mAyAaBiB_AgAyEgG}KgO{BwCaCwC_@e@qCcDwBaCwA{A_DoCiCqBiBoAyA_A}BoAiAi@aBw@wCiAgCy@QGy@SwCs@}Cm@sB[iH}@cAIkBQ{D[}He@sCMo@?uE?aCDkF^u@HqBXkDn@iAViCn@mAb@y@PqBd@cDr@gC^cBR}ADmBB}BAeBKo@E}@MyAUuA[oBk@yAi@qCkA}DmBgG{CmB_AoBy@q@WgE}AqBm@sCs@{Be@mASiDa@oAIwAE_A?eBFuARiBd@k@RiB~@]Pu@j@]Tk@f@e@f@gAvAgA~Aa@p@wCxFcEbJkCnFq@rAcAjBs@hA{CzE}@fAgAnAyAxAYXo@j@_BrA}BbB}@l@cBbAsHjEkEbCoKjGoBbA}BbAq@XwChAoCjAm@VgHnCgBp@a@NcBf@c@TiGfCqDpAsLtEuJpDuDxAmAh@aBv@q@^yFlDmAz@eAt@qBnAmBpAmBlAmBpAkD|B{HdF{E~CaLpHeDtBmMxI{DhC[TmGdEuc@xYiAv@{FtDeGlEyBdBwD`DgE|DsDpDiBnBqElFqE|FmBlCiCxDqEjHcBvCaCnEIN{ChGaDhHuElLqBjFk@zAgCxGkBrEqArC}BtEq@nAiCbEkBdCmAvAeAfAkAdAgCpBqBjAmAn@gAf@{Bz@kBh@oB`@gAPiCVyCL_B@kC?yIMkCFyADwBNkAL_ANuB`@q@N{@RmA\\aAZoAf@kBx@{BlAsAx@wCrBwAhAmAfAeC`CmAnAaAbAiBrB}AfBcJzKuCfDsD|DuDnD{@r@uAhAwDrCiBnAiBhAoAr@}Ax@}HrDmJdEiDvA}Ap@kDrAyC`AgAXsCj@sATeBNsCPyDFqBEkCMqBOiSuBiBSiHu@mDg@uAYeBa@wBm@sBs@{CsAkBcAmAu@gMgIkTwN_SoMwDgC_C}Aa_@mVez@mj@yIgGsFcEcG_F{FiFyBuBsIqIwNeOm@m@}@_AkHqH{GaHqFqFwBoB{BeBw@k@aC}AeCuA_CgAaDoAaA[gAYkEaAeAOuBYgBOaFUiAEaGOgACw@Ac@Ac@?iEM_Sa@iCCmC@eBFoBHqALwAPeBZwAVwA^iA\\wAf@eBp@aBt@sDfBwJhF{FtCoFjCmD|AmBt@iBp@mDfAsA^cEdAiB\\mEt@{C`@kBR}@JoDZaDPmQnAaEV_OdAyG^oI`@_FRoDJgGRwGLoDDeJHiC@wX?iGCkMBoAByBFuCDiCFsBFa@BiADiHb@mBLsBN{Iz@iD`@mDd@iGbAcF|@qLbC{M|CgKxBoEv@uDl@uEn@gIz@sE`@gk@vEcCPmDXmD\\i`@`DcCT{Jv@oFd@gIl@gHf@_CNqJf@qELgB@yDD_HEaBCwDKwBKsBGsAKcEYkBQmBQgCYaH_AiEs@kAUk@Ki@Ke@I]ImCi@mEiAaHmBaEoAyHsC_DqAuDaBkAk@{F{CcHeEm@[oBoAyAeAsB{AyHoG}AuA_CuBeIcIiHeIkC{CcBuBk@q@yBiCmBuBqBsBsBsBgD}CgDoCyAiAaBkAgAw@mD{BoBiAeEwB}As@cCcAeE{AiCy@yC{@mCo@mE{@y@UcF_A_F_AkN{CuD{@oGgBcAY_AYUGqDiAwE_BeA]aBk@eEcBeBs@sEoBsDaBkFmCk@[gIkE{SuLqDmByCyAqCoAyEgBuFiB}Bk@mBe@{E_AuB[iEi@aCSaDSqEQwAEwCC}CCoIIeHIsJMoDGaLI{FIuDGaCEkX[mACuHW_Fa@iBSaEk@kASiDq@kAW_EkAiCy@aC{@w@YyAm@yCsAqBcAeFsCwDeC{AeAiFgE}AsAyAuAqCqC}@_Ao@u@oAwAsD{Ek@s@_@k@_AsAyBgDwC_Fs@kAwFiKaIsOgBeDmD_HwB{D}CqFaBmCiCaEyAyBcGeIaCyC{AgBeCqC_DgDeCeC{GiGwFsEqDkCmCkB_DqB_JiFo@]gFeCcCeA_CaAq@YqAg@_C_AsB{@cRyGkPqFu@UoImCQGoBm@uHyBkA]cMiDgHeBqEw@iCc@aEe@cDW{AIgEM_DGeD?wEFmCDgGTeFVwE\\sALwLlAuG|@_BVcKhByE`AsFrAyCt@eGdB{IpCe[rKgQhGWHq@VcLzDuE`B]Jg@PuAh@kAb@mHtC_Ab@aEbBiKvEsAp@sCtAeItDcEfB{DzAiDnAuBr@yDjA{Bl@{EhAeCn@aCd@qIxAsBZqBVsDb@aGj@oDXqDVmGZeFPwDHcEDmIBcHAoNCa@?uMCgQLaNRkJTsJZ_Md@yOx@mIXiCH_@?c@@oGBaCAkEIcFQsE[kHs@_@CwB[iC]{E{@oFiASESC{Bi@iEgAcJsBmGsAkFeAkDm@kEq@yGy@uCYsFc@uCWaJg@s@AsG[iE]q@EYA{@?wC?mCM_S{@s@CcGO}BMcBIkDMgEKmBC}B?yCDgAD_EVeBPkBVqB\\uDv@iCr@_Cv@mBr@gBt@mAj@yAt@cAj@{CfBsSdN}D~BiGfDsEtBwB|@}Aj@wFjBu@VeCr@}Bh@gCj@yDv@oEv@aJxAqHpA_MtBy@LkC\\uGx@kFh@cAHwF\\oDPqHLuDB{GGeEIgGWw@GwCOoSwA{Jw@yDa@gDi@y@MkCm@{Aa@qA[aCu@cEoAeF}AuAc@qFsAmEy@{B]aAKeCUyAKcEOoDC}B?aCFy@D_Kl@gBNmIf@sCJcEFcA?mFIoDQsAKcCWeC]sB[kBa@_B_@{Cw@sBo@qBq@}B_AsF_C_Bo@aGoCw@]qFeCkAg@yBaAeAc@u@[cNkGqAm@eCiAy@[kGqC_DuAm@[gJmEkDgB{CaBq@_@kBeAUMwBsAgFiDoA}@wDuCqF{EoBoBgAiA{@aAmCaD{CeEeBiCgEkH_B_Dy@gBwCeHuAyDQg@cAaDgBiGkB_IyAuHmAgH_Fc\\sA}HcAiF}@{DgA_E]kAaBiFa@kA_AcCu@iBs@_BaAwBkA_CeB_DoAwBoAmBmBmC_CwCY]]a@yB_C_B}AmFwEsD{CiUwQoQ{NuMmKcNsKaGiEoFmDcF{CuDqBqCuAkAi@o@[_EeBsAi@iE}A_IiC}MgE{FcBsEoAwBi@cBc@eDs@gEy@cCe@uQuCoFw@_m@iJs]gFkC]oWqDwFw@qC_@gd@gGgGw@yGw@uEc@iCSeDQeBGaCG{CEkA?{FFkDJwDRYBkE\\eBPg@FcH|@_QfCuDd@cEb@g@BsCRcDL}BB}E?yDKaCK}@G_CScCWuCa@qF_AsCm@YKUGiF{Ae@OsFiBgIuCg@Q{h@aRoE}AmG{ByCcA_A[s@Ww@Y_Cw@cA]mC_AiDaAyAc@oKoCsDo@mB]{AUkDe@qB[aBWmC[oB[wAU{B]oIoAeC]gBUwAQcAK}@KyCWuEUgCKgEEmBBcGHwDL{G^}CLoCHsA?aCCgAE}C[oASwB_@iAWkA[gC{@uAi@u@[yBkAcBeAeCaByBcBiCsBiByAi@_@iG}E]YcIkGcBoAo@i@mDgDs@y@wE_Gm@o@cB}Aw@o@w@k@yEiCeBq@iA]cAWaAQuC[cI]gFUaFYuBWgASwFoAsBa@}@MaAIgACy@?aBHsAL}@Lc@LeBf@aA`@]RcDjBsAn@cBl@wBj@q@LuAP{O~AcAH_BRmBPaBViB\\}LrCkBd@mBh@s@RyAh@aA`@oB|@eBz@wBlAi@TmAd@gAZuAXgAL{AHqB@oCQ_AIiAUkDu@sEaAuA[oAU_B[s@MkB]y@KeAImACu@Ci@?g@@yADeBNaC^qBd@YHoAf@q@Tu@\\yB|@qIlD_DlAsBr@QD[H}@XeB^uB`@aBT_CX_BN_AFuAFaCDeIFqGLaBL_CZoAPyBd@k@LiAZcBf@uBx@mB|@{PlJwDjBuD`Bs@VcA`@}Ah@yEvAyDz@iB\\w@LkDh@eAPsCV{CTqBJo@BaGJyDAmR]iJQoEIsIMgC?uA@kELcBJg@BaY~AyAFmFXmCL}BFsCFmEBuC?o@A{CCiAEoHWkIo@{Eg@yEk@mGeAuN}CuGyAwDs@wB]iAOyEg@uF[mEKuCAiA@mFL{CLoBJeDTkY|AsWzAa@BiBL{BR_D`@uDp@wCn@sDbA{DrAqDzA_ErB}@d@iAn@aCzAyAbAsAbAcDrC}ApAsDhD{@z@{@t@[RiAx@mAr@o@Z]Pq@^y@X{@XiDr@cCV_DLuEM_Dc@iBc@qA_@_A_@]O{Aw@m@]w@g@wB_ByAuAuA{AcBuBqGwI}@oAgD{Dk@m@gDyCoAeAkBsAkAs@{@i@kAo@mAm@{B_AqBq@cBk@yAa@wA[{AWgBUeEa@cCOeCIcCBeBJkD^oARcK`C_BPmANyALyABsBAgBG}AKsDg@qDcAoDuAiDkBwEgDqB{AeL}IgHuFwJsHsJuHyAsAiBgBiAmAqCcDiC_DuCuDiDgEgBuBiAmAsAoAgCyBoCkBeC}AQKSKiDwA{B{@{Cw@wB]_Ca@yE[kBE_DBsEZeFr@sq@rOaOhDyDdA}Af@yAh@_C`AaBv@wEdC_HzDkB|@{B|@kBl@_AVmAXyB`@aCZkAJcBHiCDsB?sCCo@C_BAcDIgLYiHMk@AiGO{BGmBCk@CoFMO?Y?a^s@iJWaEG}BAeE@}AD{BLiBPgCZwAToAVyCv@}Br@yBx@oBx@mB~@{@f@yAz@uDfCiBzA[XUR}ArA}ApAmAbA_BhAsBpAu@^cBv@uAd@mAZsCd@wAPwCd@qAV_AViA^}An@}Av@cAl@sBxAuAjAyEjEgF|EuBdBeAv@y@h@w@d@}Ar@eA^]Lo@Rm@PwAZ{@LsBPoBHwA@yBK_AGu@MgB[mBe@wBs@y@[}Ae@uBi@}AYkBUeCKgBBu@@aBJqBVkAT_Bb@y@Xm@RyBbAiAn@aAn@sAbA{BtBy@~@q@z@qAhBe@r@W`@qAdCm@tAaAbCs@xBaAjDi@dCiA~Es@lC]tAg@xA_BzDe@`As@tAo@dA}AxBk@r@iBnBw@r@w@p@mBrA}BpAgAd@aA^w@VkBh@_Cp@yN~D}CdA_C|@uBz@aDxAgCrAqDtBoAv@eBjAa@VqCrBeCtBmAlA_BfBqA`BwBtCsDbFwAhBgAjAcAdAyArA_Av@kBvAo@b@yCdB}BhAsCnA}VjKeBv@uAr@g@ZQH}AbA_Ar@u@l@u@r@aBjBmA|A_AtAw@pAmA~B_AnBsCnFsAxBcAzA{@fAmCtCkBbBkA`ASLyAdAe@XuCzAoBx@eCx@sCp@}@RiCZeBLkCDwCEqBKcBMcZiCcIs@cCQkCMuAEiCCiA@oDL}DXyDj@qCj@qBh@sC|@wChAk@ViB~@gBbAaB`AgAr@eBrAk@^oB|AwE`EuBjBqAhA{BnBqC~BoNzLwEdEkGjF{F`FiA~@eAr@_@VeAn@q@\\mBx@qBn@iBb@s@LiBRy@FsBF{BEgCSmBYaCi@oBc@kPiEoE_A}@MwAK}@Cs@Cg@?cCFmBNgBVwBd@gBh@iBt@i@VmAp@{AbAmA~@{AxAyA|Aq@x@iA|AsB`D_FlHoBxCmCxD{AjBiApAmDfDy@r@qCpBmAv@sAt@ULsB`AqAd@}Ah@eAZ{A^aBZ_CZ_DXsAFc@?oB?eCE_IYeACoLe@oO]oACyB@qD?aFFcJH}@B_IZS@iCNkEVwJx@{Db@wKtAuHlA_[tFyB^iJdBmJbBk`@bHmB`@]Hk@JgFbA{J|AcCZkAJeAJcEN{C@kBCkCKqAIcCSoBWmRwBqDe@_Eo@qFkAaB]oMsCcGkAaBQkACgBDg@FsARuA\\aBl@}Az@kA|@g@f@oErEsAjAc@ZgAp@cBv@{@V_APaALmAHaA?aAGyAKy@McC]oBW_Fs@sAOwG{@qBQiBIgBIqAAsAAmA@aBDsFXqABgCAcDMoBO_AKyB[aBYyA[aBe@_EkA}@[yB_A}@a@qCwAwBsAqA{@cBmA{AmAo@i@yBuBwZgYuDiDyBqBiG{F_EwDwCoCkEaEaA{@gAgA_A}@sCmCg@e@_FsEaQ_PSQmAcA{CsBk@c@qAo@kAi@cAc@{@[s@UyBm@wBa@{AS_CSiAGoC?kA@u@BuBLiBToB\\aCj@mA`@kBt@mAh@_A`@c@Tk@V_@PmAh@oLfFq@VaDdAkCn@wB`@{C`@wBL}@BiBDgA?iAGqDY_BQoASqEy@eEaAeIcBwIkBgLeCqQsDgCm@_B[oGsA{D}@aCe@aDs@mLcCgDs@kNyCcHwA{GyAiE_AcEy@qCe@qFw@_Ee@}AOuKu@w@EiGU{BIoDA{BAq@@iCB{@BmCH{BF_@@_@@qDKeCMcAKo@KkBa@aAMs@Ko@Ai@Ck@BmALwCf@_AL}APc@@W?oFE_BIaAIs@MyA]iA[qFeBi@QsA]uAYmAMk@Ck@?iADe@DgAPc@JkA`@oAl@mGbDeBx@wAj@g@Pg@He@FkAHkA@qAIgAQeAYe@QcAe@iAs@a@[iAcAiAoAkAyAeFiHq@_AqC{Du@cAy@}@u@s@s@i@k@[eAa@cA[]Im@K[EmAMeAC}ABkBFgERwDHq@BoBDu@AoBKiB]_CeASKm@a@m@e@k@k@oA}Ae@q@]m@c@}@q@}ASi@[_AcAuCg@qAs@}Ak@eAw@oAg@o@}@cAkAkAgAaA_D_DqDcDwAwAu@cA]i@g@_Ac@}@{@wBqAaEoB}G]uA_EaN}@cCy@kBg@_Ai@{@kA{Ak@m@o@q@e@a@_BgA{@c@s@]s@Uy@W}AYuAKgHYoBQeAO_@KyAa@q@UaNkFyBu@eBc@m@M}AY}AOm@EeCCyA@_AF}ANaC`@}A`@qAd@aCdAeBbA{B~AuBbBoBdBuC|BoBnAeB`AaC`AuG|BoC`A{HhCaEvAc@TUJi@Xk@^a@Zu@r@w@`Ak@|@mAbCi@|Aa@~AQx@WfBIz@K|AIbC@tBPpFRjFBrA?fBE|AGdAMrAc@bDc@`Cg@~BqAfFs@hC{@lCu@rBy@zBoA~CKXKR}AtDa@x@qB`E}@bBGHeAjBiBzCiDdF{FzHcEfFoEdFyB`CkClCkDjDsElEuEfEyKtJa@Z{AlA{AlAoDrCyFhEyEfDqCfBqBjAuBdAkE`BkCfAeDdBgBhAm@b@wBbBo@j@yCxCuA|Ao@v@_@d@yAtBm@`Am@bAkAxBaApB{ApDi@tAiA`DeAtCu@fBiAxB_A|Ak@z@}BzCuBrBiA~@kAz@iAr@cAh@qAn@sDjBeHjDsHbDoDxAsEhBa@Rq@Tw@Ze@RwFnBgA`@sDnA}EzAwCr@cFpAqE`AoB^g@JgBVkEp@iEj@{AP_Ed@mAJoCPmCPkCLeC@cBIyBS{@Qy@Q}@WaBo@e@UoAs@_@WkByAwAsA_CcCmC_D{AoB{AuBiHmKyEgGqDiEwCaDcCcCeE{D{DcDeCiBsDeCkBiA_FuCsGmDwGcDeEqBuCoAyFyB}JuD_UmIiEeB_Aa@kIuDgB{@mHuDiBcAs@_@qAw@cEcCkAs@kFqD}CyB{DaDi@c@s@m@WUaCqB}AuAq@o@iBgBmDmDyPaR_EeEw@w@qCwCoJcJiC}BkJgIyGsFiF{DgDaCoCgBaBaAaFgCgEkBeCeAgGuBwHuBsF}AiIiCyK{DeHsCgVmKkBs@mA_@eAWyBi@{Bc@gDi@_AKo@CWEkESi@AmBC{ABu@@}AFcEVs@FwKt@kHf@{BPuE\\c@FmAJy@Js@HqBV_Fr@o@J{PfCcBXu@LQBwAHo@J_AZ_A^g@RoAd@oAZoB`@eANcAHmADkAAsAMq@Mm@Qa@MqE{AcA]q@MuB[eAIqBIyA?_CJuBVmAT[DcAVcAZkG|BeCp@}AVcAH_@DsAFeK`@aHXiCHu@DwDToAHi@DaGRsCDiABoA?WAqAAe@?]KQGQKQOQUUk@I_@MiAKeBIsBKmEOmDE_AKwBUsFEs@MuCMoCSuD@W@sA?cAB]PaAKuBS]OYSQ[MOUc@c@]@_@Fa@V}@L}@HkBLS?gAFFxFLnL@rAB`C@n@BhA?RAl@yA`@QD" + } + } + ] + } + } } } } @@ -5110,9 +5887,412 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/tolls/json?origin=43.70386%2C%204.12200&destination=45.71971%2C%204.84891&mode=driving&private_key=YOUR_PRIVATE_API_KEY'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/tolls/json?origin=43.70386%2C%204.12200&destination=45.71971%2C%204.84891&mode=driving&private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/tolls/json?origin=43.70386%2C%204.12200&destination=45.71971%2C%204.84891&mode=driving&private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "tolls" } }, + "/distance/matrix/async/": { + "post": { + "tags": [ + "Distance Async API" + ], + "summary": "Start Matrix Calculation", + "description": "Start an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`", + "operationId": "start_async_matrix_distance_matrix_async__post", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_MatrixRequest" + }, + "example": { + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "mode": "driving" + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_MatrixResponse" + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "matrix_id": "39585bfc-59cc-478c-9b87-12685c9b880c", + "status": "accepted" + } + } + } + } + } + }, + "401": { + "description": "Unable to locate credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "403": { + "description": "Credentials found, but not matching.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_HTTPErrorModel" + } + } + } + } + }, + "security": [ + { + "External-api-wrapper_PublicAPIKey": [] + }, + { + "External-api-wrapper_PrivateApiKey": [] + }, + { + "External-api-wrapper_PrivateApiKeyHeader": [] + } + ], + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n}'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], + "x-original-tag": "Distance Matrix Async" + } + }, + "/distance/matrix/async/{matrix_id}/status": { + "get": { + "tags": [ + "Distance Async API" + ], + "summary": "Check Matrix Calculation Status", + "description": "Check on the progress of an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`", + "operationId": "async_matrix_status_distance_matrix_async__matrix_id__status_get", + "security": [ + { + "External-api-wrapper_PublicAPIKey": [] + }, + { + "External-api-wrapper_PrivateApiKey": [] + }, + { + "External-api-wrapper_PrivateApiKeyHeader": [] + } + ], + "parameters": [ + { + "name": "matrix_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "description": "The ID of the matrix you want to check the status of.", + "title": "Matrix Id" + }, + "description": "The ID of the matrix you want to check the status of." + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_MatrixCheckResponse" + }, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "status": "completed" + } + } + } + } + } + }, + "401": { + "description": "Unable to locate credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "403": { + "description": "Credentials found, but not matching.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_HTTPErrorModel" + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], + "x-original-tag": "Distance Matrix Async" + } + }, + "/distance/matrix/async/{matrix_id}": { + "get": { + "tags": [ + "Distance Async API" + ], + "summary": "Get Matrix Calculation Result", + "description": "Get the results of an asynchronous matrix calculation.\n\nYou should confirm using the `/matrix/{matrix_id}/status` endpoint that the calculation is `completed` before calling this endpoint.\n\n**Rate limit**: `20/1s`", + "operationId": "async_matrix_distance_matrix_async__matrix_id__get", + "security": [ + { + "External-api-wrapper_PublicAPIKey": [] + }, + { + "External-api-wrapper_PrivateApiKey": [] + }, + { + "External-api-wrapper_PrivateApiKeyHeader": [] + } + ], + "parameters": [ + { + "name": "matrix_id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "description": "The ID of the matrix you want to get the result of", + "title": "Matrix Id" + }, + "description": "The ID of the matrix you want to get the result of" + } + ], + "responses": { + "303": { + "description": "Redirect to the result of the matrix calculation.", + "content": { + "application/json": { + "schema": {}, + "examples": { + "custom": { + "summary": "Example response", + "value": { + "matrixId": "39585bfc-59cc-478c-9b87-12685c9b880c", + "matrix": { + "numOrigins": 2, + "numDestinations": 2, + "travelTimes": [ + 0, + 1001, + 1057, + 0 + ], + "distances": [ + 0, + 15156, + 14345, + 0 + ] + }, + "regionDefinition": { + "type": "world" + } + } + } + } + } + } + }, + "401": { + "description": "Unable to locate credentials.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "402": { + "description": "Out of free quota.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "403": { + "description": "Credentials found, but not matching.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_AuthenticationErrorResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_HTTPValidationError" + } + } + } + }, + "429": { + "description": "Rate limit reached", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/External-api-wrapper_HTTPErrorModel" + } + } + } + } + }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], + "x-original-tag": "Distance Matrix Async" + } + }, "/geolocation/position": { "get": { "summary": "Geolocation from an IP address", @@ -9123,6 +10303,23 @@ } } }, + "x-codeSamples": [ + { + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'" + }, + { + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));" + }, + { + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n" + } + ], "x-original-tag": "static" } }, @@ -21609,6 +22806,7 @@ "name": "Distance", "tags": [ "Distance API", + "Distance Async API", "Transit API" ] } diff --git a/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.go b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.go new file mode 100644 index 00000000..50de9480 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.go @@ -0,0 +1,50 @@ +// [START woosmap_http_datasets_contains_features] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_contains_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.java b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.java new file mode 100644 index 00000000..d460d7df --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_contains_features] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_contains_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.node.js b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.node.js new file mode 100644 index 00000000..d0553cd9 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.node.js @@ -0,0 +1,31 @@ +// [START woosmap_http_datasets_contains_features] +const axios = require('axios'); +let data = JSON.stringify({ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } +}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_contains_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.py b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.py new file mode 100644 index 00000000..57bfc4e2 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.py @@ -0,0 +1,24 @@ +# [START woosmap_http_datasets_contains_features] +import requests +import json + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_contains_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.rb b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.rb new file mode 100644 index 00000000..c3763779 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.rb @@ -0,0 +1,26 @@ +# [START woosmap_http_datasets_contains_features] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_contains_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.sh b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.sh new file mode 100644 index 00000000..c515a781 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.sh @@ -0,0 +1,13 @@ +# [START woosmap_http_datasets_contains_features] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + } +}' +# [END woosmap_http_datasets_contains_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.txt b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.txt new file mode 100644 index 00000000..c63f575d --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_contains_features] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/ + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_contains_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.go b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.go new file mode 100644 index 00000000..c52ff95a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.go @@ -0,0 +1,51 @@ +// [START woosmap_http_datasets_create] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{ + "name": "string", + "url": "http://example.com", + "schema_mapping": [ + { + "schema_key": "title", + "data_key": "string" + } + ] +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_create] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.java b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.java new file mode 100644 index 00000000..2d9fc684 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_create] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_create] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.node.js b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.node.js new file mode 100644 index 00000000..47175d7c --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.node.js @@ -0,0 +1,32 @@ +// [START woosmap_http_datasets_create] +const axios = require('axios'); +let data = JSON.stringify({ + "name": "string", + "url": "http://example.com", + "schema_mapping": [ + { + "schema_key": "title", + "data_key": "string" + } + ] +}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_create] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.py b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.py new file mode 100644 index 00000000..f6cface5 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.py @@ -0,0 +1,25 @@ +# [START woosmap_http_datasets_create] +import requests +import json + +url = "https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "name": "string", + "url": "http://example.com", + "schema_mapping": [ + { + "schema_key": "title", + "data_key": "string" + } + ] +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_create] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.rb b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.rb new file mode 100644 index 00000000..5777c701 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.rb @@ -0,0 +1,27 @@ +# [START woosmap_http_datasets_create] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "name": "string", + "url": "http://example.com", + "schema_mapping": [ + { + "schema_key": "title", + "data_key": "string" + } + ] +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_create] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.sh b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.sh new file mode 100644 index 00000000..58c63ec4 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.sh @@ -0,0 +1,14 @@ +# [START woosmap_http_datasets_create] +curl -L 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "name": "string", + "url": "http://example.com", + "schema_mapping": [ + { + "schema_key": "title", + "data_key": "string" + } + ] +}' +# [END woosmap_http_datasets_create] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.txt b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.txt new file mode 100644 index 00000000..a7217815 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_create] +https://api.woosmap.com/datasets/ + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_create] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.go b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.go new file mode 100644 index 00000000..ecef4a37 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.go @@ -0,0 +1,37 @@ +// [START woosmap_http_datasets_delete] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY" + method := "DELETE" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_delete] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.java b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.java new file mode 100644 index 00000000..390dd5f6 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.java @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_delete] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY") + .method("DELETE", body) + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_delete] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.node.js b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.node.js new file mode 100644 index 00000000..ddaba9f8 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.node.js @@ -0,0 +1,19 @@ +// [START woosmap_http_datasets_delete] +const axios = require('axios'); + +let config = { + method: 'delete', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY', + headers: { } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_delete] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.py b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.py new file mode 100644 index 00000000..442ae22c --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.py @@ -0,0 +1,13 @@ +# [START woosmap_http_datasets_delete] +import requests + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY" + +payload = {} +headers = {} + +response = requests.request("DELETE", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_delete] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.rb b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.rb new file mode 100644 index 00000000..77b72579 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.rb @@ -0,0 +1,15 @@ +# [START woosmap_http_datasets_delete] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Delete.new(url) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_delete] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.sh b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.sh new file mode 100644 index 00000000..4dd28cae --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.sh @@ -0,0 +1,3 @@ +# [START woosmap_http_datasets_delete] +curl -L -X DELETE 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY' +# [END woosmap_http_datasets_delete] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.txt b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.txt new file mode 100644 index 00000000..c8a17e92 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_delete] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0 + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_delete] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.go b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.go new file mode 100644 index 00000000..95910163 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.go @@ -0,0 +1,37 @@ +// [START woosmap_http_datasets_get] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY" + method := "GET" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.java b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.java new file mode 100644 index 00000000..7e29dc83 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.java @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_get] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY") + .method("GET", body) + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.js b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.js new file mode 100644 index 00000000..50e8ed66 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.js @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_get] +const requestOptions = { + method: "GET", + redirect: "follow" +}; + +fetch("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY", requestOptions) + .then((response) => response.text()) + .then((result) => console.log(result)) + .catch((error) => console.error(error)); +// [END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.node.js b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.node.js new file mode 100644 index 00000000..fbd74361 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.node.js @@ -0,0 +1,19 @@ +// [START woosmap_http_datasets_get] +const axios = require('axios'); + +let config = { + method: 'get', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY', + headers: { } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.py b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.py new file mode 100644 index 00000000..9249c71b --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.py @@ -0,0 +1,13 @@ +# [START woosmap_http_datasets_get] +import requests + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY" + +payload = {} +headers = {} + +response = requests.request("GET", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.rb b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.rb new file mode 100644 index 00000000..eeea03ce --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.rb @@ -0,0 +1,15 @@ +# [START woosmap_http_datasets_get] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Get.new(url) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.sh b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.sh new file mode 100644 index 00000000..15887378 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.sh @@ -0,0 +1,3 @@ +# [START woosmap_http_datasets_get] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY' +# [END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.txt b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.txt new file mode 100644 index 00000000..783b363d --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_get] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0 + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_get] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.go b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.go new file mode 100644 index 00000000..da29e57a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.go @@ -0,0 +1,37 @@ +// [START woosmap_http_datasets_get_feature] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY" + method := "GET" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.java b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.java new file mode 100644 index 00000000..f3b64061 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.java @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_get_feature] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY") + .method("GET", body) + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.js b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.js new file mode 100644 index 00000000..a665ca6c --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.js @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_get_feature] +const requestOptions = { + method: "GET", + redirect: "follow" +}; + +fetch("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY", requestOptions) + .then((response) => response.text()) + .then((result) => console.log(result)) + .catch((error) => console.error(error)); +// [END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.node.js b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.node.js new file mode 100644 index 00000000..dea84f8f --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.node.js @@ -0,0 +1,19 @@ +// [START woosmap_http_datasets_get_feature] +const axios = require('axios'); + +let config = { + method: 'get', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY', + headers: { } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.py b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.py new file mode 100644 index 00000000..e2b21b3a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.py @@ -0,0 +1,13 @@ +# [START woosmap_http_datasets_get_feature] +import requests + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY" + +payload = {} +headers = {} + +response = requests.request("GET", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.rb b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.rb new file mode 100644 index 00000000..80c814e2 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.rb @@ -0,0 +1,15 @@ +# [START woosmap_http_datasets_get_feature] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Get.new(url) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.sh b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.sh new file mode 100644 index 00000000..d0d21cdb --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.sh @@ -0,0 +1,3 @@ +# [START woosmap_http_datasets_get_feature] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY' +# [END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.txt b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.txt new file mode 100644 index 00000000..4df31bda --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_get_feature] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08 + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_get_feature] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.go b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.go new file mode 100644 index 00000000..732cf125 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.go @@ -0,0 +1,42 @@ +// [START woosmap_http_datasets_import] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_import] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.java b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.java new file mode 100644 index 00000000..55210792 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_import] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_import] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.node.js b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.node.js new file mode 100644 index 00000000..827e8b16 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.node.js @@ -0,0 +1,23 @@ +// [START woosmap_http_datasets_import] +const axios = require('axios'); +let data = JSON.stringify({}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_import] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.py b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.py new file mode 100644 index 00000000..4946b3af --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.py @@ -0,0 +1,16 @@ +# [START woosmap_http_datasets_import] +import requests +import json + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_import] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.rb b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.rb new file mode 100644 index 00000000..40fadbe0 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.rb @@ -0,0 +1,18 @@ +# [START woosmap_http_datasets_import] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_import] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.sh b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.sh new file mode 100644 index 00000000..4e80860a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.sh @@ -0,0 +1,5 @@ +# [START woosmap_http_datasets_import] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{}' +# [END woosmap_http_datasets_import] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.txt b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.txt new file mode 100644 index 00000000..1af211d3 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_import] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_import] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.go b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.go new file mode 100644 index 00000000..175230d2 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.go @@ -0,0 +1,70 @@ +// [START woosmap_http_datasets_intersect_features] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_intersect_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.java b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.java new file mode 100644 index 00000000..1240f34b --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_intersect_features] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_intersect_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.node.js b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.node.js new file mode 100644 index 00000000..8ffab12c --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.node.js @@ -0,0 +1,51 @@ +// [START woosmap_http_datasets_intersect_features] +const axios = require('axios'); +let data = JSON.stringify({ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_intersect_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.py b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.py new file mode 100644 index 00000000..030ae44c --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.py @@ -0,0 +1,44 @@ +# [START woosmap_http_datasets_intersect_features] +import requests +import json + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_intersect_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.rb b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.rb new file mode 100644 index 00000000..f420a017 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.rb @@ -0,0 +1,46 @@ +# [START woosmap_http_datasets_intersect_features] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_intersect_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.sh b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.sh new file mode 100644 index 00000000..2393103f --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.sh @@ -0,0 +1,33 @@ +# [START woosmap_http_datasets_intersect_features] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}' +# [END woosmap_http_datasets_intersect_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.txt b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.txt new file mode 100644 index 00000000..1a6b0545 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_intersect_features] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/ + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_intersect_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.go b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.go new file mode 100644 index 00000000..c737b4e8 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.go @@ -0,0 +1,37 @@ +// [START woosmap_http_datasets_list] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY" + method := "GET" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.java b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.java new file mode 100644 index 00000000..acd06a33 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.java @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_list] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY") + .method("GET", body) + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.js b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.js new file mode 100644 index 00000000..abfda73a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.js @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_list] +const requestOptions = { + method: "GET", + redirect: "follow" +}; + +fetch("https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY", requestOptions) + .then((response) => response.text()) + .then((result) => console.log(result)) + .catch((error) => console.error(error)); +// [END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.node.js b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.node.js new file mode 100644 index 00000000..0edd1f94 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.node.js @@ -0,0 +1,19 @@ +// [START woosmap_http_datasets_list] +const axios = require('axios'); + +let config = { + method: 'get', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY', + headers: { } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.py b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.py new file mode 100644 index 00000000..2f0de54a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.py @@ -0,0 +1,13 @@ +# [START woosmap_http_datasets_list] +import requests + +url = "https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY" + +payload = {} +headers = {} + +response = requests.request("GET", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.rb b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.rb new file mode 100644 index 00000000..9dd378f6 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.rb @@ -0,0 +1,15 @@ +# [START woosmap_http_datasets_list] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Get.new(url) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.sh b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.sh new file mode 100644 index 00000000..fc233310 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.sh @@ -0,0 +1,3 @@ +# [START woosmap_http_datasets_list] +curl -L 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY' +# [END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.txt b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.txt new file mode 100644 index 00000000..a0798efc --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_list] +https://api.woosmap.com/datasets/ + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_list] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.go b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.go new file mode 100644 index 00000000..48aeee66 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.go @@ -0,0 +1,51 @@ +// [START woosmap_http_datasets_nearby_features] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + }, + "buffer": 5000 +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_nearby_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.java b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.java new file mode 100644 index 00000000..4e24b3a4 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_nearby_features] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_nearby_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.node.js b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.node.js new file mode 100644 index 00000000..89b8236d --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.node.js @@ -0,0 +1,32 @@ +// [START woosmap_http_datasets_nearby_features] +const axios = require('axios'); +let data = JSON.stringify({ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + }, + "buffer": 5000 +}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_nearby_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.py b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.py new file mode 100644 index 00000000..bc8b9f5e --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.py @@ -0,0 +1,25 @@ +# [START woosmap_http_datasets_nearby_features] +import requests +import json + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + }, + "buffer": 5000 +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_nearby_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.rb b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.rb new file mode 100644 index 00000000..c4277b7a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.rb @@ -0,0 +1,27 @@ +# [START woosmap_http_datasets_nearby_features] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + }, + "buffer": 5000 +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_nearby_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.sh b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.sh new file mode 100644 index 00000000..f0497856 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.sh @@ -0,0 +1,14 @@ +# [START woosmap_http_datasets_nearby_features] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "geometry": { + "type": "Point", + "coordinates": [ + 3.883, + 43.6 + ] + }, + "buffer": 5000 +}' +# [END woosmap_http_datasets_nearby_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.txt b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.txt new file mode 100644 index 00000000..86f3d667 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_nearby_features] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/ + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_nearby_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.go b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.go new file mode 100644 index 00000000..80e0d8c5 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.go @@ -0,0 +1,42 @@ +// [START woosmap_http_datasets_reimport_webhook] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_reimport_webhook] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.java b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.java new file mode 100644 index 00000000..bb866331 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_reimport_webhook] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_reimport_webhook] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.node.js b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.node.js new file mode 100644 index 00000000..d1ba387d --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.node.js @@ -0,0 +1,23 @@ +// [START woosmap_http_datasets_reimport_webhook] +const axios = require('axios'); +let data = JSON.stringify({}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_reimport_webhook] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.py b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.py new file mode 100644 index 00000000..a67c8f83 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.py @@ -0,0 +1,16 @@ +# [START woosmap_http_datasets_reimport_webhook] +import requests +import json + +url = "https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_reimport_webhook] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.rb b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.rb new file mode 100644 index 00000000..f93ad519 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.rb @@ -0,0 +1,18 @@ +# [START woosmap_http_datasets_reimport_webhook] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_reimport_webhook] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.sh b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.sh new file mode 100644 index 00000000..6d2424c2 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.sh @@ -0,0 +1,5 @@ +# [START woosmap_http_datasets_reimport_webhook] +curl -L 'https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{}' +# [END woosmap_http_datasets_reimport_webhook] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.txt b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.txt new file mode 100644 index 00000000..62838ec1 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_reimport_webhook] +https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_reimport_webhook] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.go b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.go new file mode 100644 index 00000000..d423e7a1 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.go @@ -0,0 +1,44 @@ +// [START woosmap_http_datasets_search_features] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{ + "where": "cost_col:>32.3" +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_search_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.java b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.java new file mode 100644 index 00000000..65a1a130 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_search_features] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"where\": \"cost_col:>32.3\"\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_search_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.node.js b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.node.js new file mode 100644 index 00000000..bb212950 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.node.js @@ -0,0 +1,25 @@ +// [START woosmap_http_datasets_search_features] +const axios = require('axios'); +let data = JSON.stringify({ + "where": "cost_col:>32.3" +}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_search_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.py b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.py new file mode 100644 index 00000000..8eb97722 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.py @@ -0,0 +1,18 @@ +# [START woosmap_http_datasets_search_features] +import requests +import json + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "where": "cost_col:>32.3" +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_search_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.rb b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.rb new file mode 100644 index 00000000..bf3def82 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.rb @@ -0,0 +1,20 @@ +# [START woosmap_http_datasets_search_features] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "where": "cost_col:>32.3" +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_search_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.sh b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.sh new file mode 100644 index 00000000..8a8f102a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.sh @@ -0,0 +1,7 @@ +# [START woosmap_http_datasets_search_features] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "where": "cost_col:>32.3" +}' +# [END woosmap_http_datasets_search_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.txt b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.txt new file mode 100644 index 00000000..e856ed2a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_search_features] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/ + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_search_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.go b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.go new file mode 100644 index 00000000..615c2d94 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.go @@ -0,0 +1,37 @@ +// [START woosmap_http_datasets_status] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY" + method := "GET" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.java b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.java new file mode 100644 index 00000000..f8c242f6 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.java @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_status] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY") + .method("GET", body) + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.js b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.js new file mode 100644 index 00000000..c3cd92f7 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.js @@ -0,0 +1,11 @@ +// [START woosmap_http_datasets_status] +const requestOptions = { + method: "GET", + redirect: "follow" +}; + +fetch("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY", requestOptions) + .then((response) => response.text()) + .then((result) => console.log(result)) + .catch((error) => console.error(error)); +// [END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.node.js b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.node.js new file mode 100644 index 00000000..371e5e5b --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.node.js @@ -0,0 +1,19 @@ +// [START woosmap_http_datasets_status] +const axios = require('axios'); + +let config = { + method: 'get', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY', + headers: { } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.py b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.py new file mode 100644 index 00000000..405a7d58 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.py @@ -0,0 +1,13 @@ +# [START woosmap_http_datasets_status] +import requests + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY" + +payload = {} +headers = {} + +response = requests.request("GET", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.rb b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.rb new file mode 100644 index 00000000..e0d7aa18 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.rb @@ -0,0 +1,15 @@ +# [START woosmap_http_datasets_status] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Get.new(url) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.sh b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.sh new file mode 100644 index 00000000..d448e66b --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.sh @@ -0,0 +1,3 @@ +# [START woosmap_http_datasets_status] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY' +# [END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.txt b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.txt new file mode 100644 index 00000000..7eda112c --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_status] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.go b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.go new file mode 100644 index 00000000..2d7ccbc1 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.go @@ -0,0 +1,45 @@ +// [START woosmap_http_datasets_update] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY" + method := "PUT" + + payload := strings.NewReader(`{ + "name": "string", + "url": "http://example.com" +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_update] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.java b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.java new file mode 100644 index 00000000..beb89941 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_update] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY") + .method("PUT", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_update] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.node.js b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.node.js new file mode 100644 index 00000000..6dd8ed11 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.node.js @@ -0,0 +1,26 @@ +// [START woosmap_http_datasets_update] +const axios = require('axios'); +let data = JSON.stringify({ + "name": "string", + "url": "http://example.com" +}); + +let config = { + method: 'put', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_update] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.py b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.py new file mode 100644 index 00000000..da9390b7 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.py @@ -0,0 +1,19 @@ +# [START woosmap_http_datasets_update] +import requests +import json + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "name": "string", + "url": "http://example.com" +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("PUT", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_update] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.rb b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.rb new file mode 100644 index 00000000..2e463aaf --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.rb @@ -0,0 +1,21 @@ +# [START woosmap_http_datasets_update] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Put.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "name": "string", + "url": "http://example.com" +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_update] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.sh b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.sh new file mode 100644 index 00000000..8ac470c3 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.sh @@ -0,0 +1,8 @@ +# [START woosmap_http_datasets_update] +curl -L -X PUT 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "name": "string", + "url": "http://example.com" +}' +# [END woosmap_http_datasets_update] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.txt b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.txt new file mode 100644 index 00000000..d73e1b56 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_update] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0 + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_update] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.go b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.go new file mode 100644 index 00000000..8bfe7d6e --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.go @@ -0,0 +1,70 @@ +// [START woosmap_http_datasets_within_features] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_datasets_within_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.java b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.java new file mode 100644 index 00000000..37200b32 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.java @@ -0,0 +1,12 @@ +// [START woosmap_http_datasets_within_features] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_datasets_within_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.node.js b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.node.js new file mode 100644 index 00000000..b2443061 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.node.js @@ -0,0 +1,51 @@ +// [START woosmap_http_datasets_within_features] +const axios = require('axios'); +let data = JSON.stringify({ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_datasets_within_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.py b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.py new file mode 100644 index 00000000..03320e4d --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.py @@ -0,0 +1,44 @@ +# [START woosmap_http_datasets_within_features] +import requests +import json + +url = "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_datasets_within_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.rb b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.rb new file mode 100644 index 00000000..68beab9a --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.rb @@ -0,0 +1,46 @@ +# [START woosmap_http_datasets_within_features] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_datasets_within_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.sh b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.sh new file mode 100644 index 00000000..0f0dc5d5 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.sh @@ -0,0 +1,33 @@ +# [START woosmap_http_datasets_within_features] +curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 2.3522, + 48.8566 + ], + [ + 2.3622, + 48.8566 + ], + [ + 2.3622, + 48.8666 + ], + [ + 2.3522, + 48.8666 + ], + [ + 2.3522, + 48.8566 + ] + ] + ] + } +}' +# [END woosmap_http_datasets_within_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.txt b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.txt new file mode 100644 index 00000000..699e9387 --- /dev/null +++ b/dist/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.txt @@ -0,0 +1,4 @@ +[START woosmap_http_datasets_within_features] +https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/ + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_datasets_within_features] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.go b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.go new file mode 100644 index 00000000..3cd648bd --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.go @@ -0,0 +1,46 @@ +// [START woosmap_http_distance_matrix_async] +package main + +import ( + "fmt" + "strings" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY" + method := "POST" + + payload := strings.NewReader(`{ + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "mode": "driving" +}`) + + client := &http.Client { + } + req, err := http.NewRequest(method, url, payload) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("content-type", "application/json") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_distance_matrix_async] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.java b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.java new file mode 100644 index 00000000..def54593 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.java @@ -0,0 +1,12 @@ +// [START woosmap_http_distance_matrix_async] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("application/json"); +RequestBody body = RequestBody.create(mediaType, "{\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n}"); +Request request = new Request.Builder() + .url("https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY") + .method("POST", body) + .addHeader("content-type", "application/json") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_distance_matrix_async] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.node.js b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.node.js new file mode 100644 index 00000000..4b70591e --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.node.js @@ -0,0 +1,27 @@ +// [START woosmap_http_distance_matrix_async] +const axios = require('axios'); +let data = JSON.stringify({ + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "mode": "driving" +}); + +let config = { + method: 'post', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'content-type': 'application/json' + }, + data : data +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_distance_matrix_async] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.py b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.py new file mode 100644 index 00000000..cb565efe --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.py @@ -0,0 +1,20 @@ +# [START woosmap_http_distance_matrix_async] +import requests +import json + +url = "https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY" + +payload = json.dumps({ + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "mode": "driving" +}) +headers = { + 'content-type': 'application/json' +} + +response = requests.request("POST", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_distance_matrix_async] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.rb b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.rb new file mode 100644 index 00000000..c5fdfd0b --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.rb @@ -0,0 +1,22 @@ +# [START woosmap_http_distance_matrix_async] +require "uri" +require "json" +require "net/http" + +url = URI("https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Post.new(url) +request["content-type"] = "application/json" +request.body = JSON.dump({ + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "mode": "driving" +}) + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_distance_matrix_async] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.sh b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.sh new file mode 100644 index 00000000..7f85a714 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.sh @@ -0,0 +1,9 @@ +# [START woosmap_http_distance_matrix_async] +curl -L 'https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'content-type: application/json' \ +-d '{ + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "mode": "driving" +}' +# [END woosmap_http_distance_matrix_async] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.txt b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.txt new file mode 100644 index 00000000..9034010f --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.txt @@ -0,0 +1,4 @@ +[START woosmap_http_distance_matrix_async] +https://api.woosmap.com/distance/matrix/async + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_distance_matrix_async] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.go b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.go new file mode 100644 index 00000000..f197d3fc --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.go @@ -0,0 +1,39 @@ +// [START woosmap_http_distance_matrix_async_result] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY" + method := "GET" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("Referer", "http://localhost") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.java b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.java new file mode 100644 index 00000000..de02d31e --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.java @@ -0,0 +1,12 @@ +// [START woosmap_http_distance_matrix_async_result] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY") + .method("GET", body) + .addHeader("Referer", "http://localhost") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.js b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.js new file mode 100644 index 00000000..5c51ae4d --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.js @@ -0,0 +1,11 @@ +// [START woosmap_http_distance_matrix_async_result] +const requestOptions = { + method: "GET", + redirect: "follow" +}; + +fetch("https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY", requestOptions) + .then((response) => response.text()) + .then((result) => console.log(result)) + .catch((error) => console.error(error)); +// [END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.node.js b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.node.js new file mode 100644 index 00000000..6799c2ae --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.node.js @@ -0,0 +1,21 @@ +// [START woosmap_http_distance_matrix_async_result] +const axios = require('axios'); + +let config = { + method: 'get', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'Referer': 'http://localhost' + } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.py b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.py new file mode 100644 index 00000000..92f74425 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.py @@ -0,0 +1,15 @@ +# [START woosmap_http_distance_matrix_async_result] +import requests + +url = "https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY" + +payload = {} +headers = { + 'Referer': 'http://localhost' +} + +response = requests.request("GET", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.rb b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.rb new file mode 100644 index 00000000..4ef666a9 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.rb @@ -0,0 +1,16 @@ +# [START woosmap_http_distance_matrix_async_result] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Get.new(url) +request["Referer"] = "http://localhost" + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.sh b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.sh new file mode 100644 index 00000000..019d77e7 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.sh @@ -0,0 +1,4 @@ +# [START woosmap_http_distance_matrix_async_result] +curl -L 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'Referer: http://localhost' +# [END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.txt b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.txt new file mode 100644 index 00000000..f919a85d --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.txt @@ -0,0 +1,4 @@ +[START woosmap_http_distance_matrix_async_result] +https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_distance_matrix_async_result] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.go b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.go new file mode 100644 index 00000000..bb56fa51 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.go @@ -0,0 +1,39 @@ +// [START woosmap_http_distance_matrix_async_status] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY" + method := "GET" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("Referer", "http://localhost") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.java b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.java new file mode 100644 index 00000000..bc92cb0e --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.java @@ -0,0 +1,12 @@ +// [START woosmap_http_distance_matrix_async_status] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY") + .method("GET", body) + .addHeader("Referer", "http://localhost") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.js b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.js new file mode 100644 index 00000000..8110aa91 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.js @@ -0,0 +1,11 @@ +// [START woosmap_http_distance_matrix_async_status] +const requestOptions = { + method: "GET", + redirect: "follow" +}; + +fetch("https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY", requestOptions) + .then((response) => response.text()) + .then((result) => console.log(result)) + .catch((error) => console.error(error)); +// [END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.node.js b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.node.js new file mode 100644 index 00000000..93de217a --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.node.js @@ -0,0 +1,21 @@ +// [START woosmap_http_distance_matrix_async_status] +const axios = require('axios'); + +let config = { + method: 'get', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY', + headers: { + 'Referer': 'http://localhost' + } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.py b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.py new file mode 100644 index 00000000..f8a2de31 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.py @@ -0,0 +1,15 @@ +# [START woosmap_http_distance_matrix_async_status] +import requests + +url = "https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY" + +payload = {} +headers = { + 'Referer': 'http://localhost' +} + +response = requests.request("GET", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.rb b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.rb new file mode 100644 index 00000000..4b149271 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.rb @@ -0,0 +1,16 @@ +# [START woosmap_http_distance_matrix_async_status] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Get.new(url) +request["Referer"] = "http://localhost" + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.sh b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.sh new file mode 100644 index 00000000..91f3029b --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.sh @@ -0,0 +1,4 @@ +# [START woosmap_http_distance_matrix_async_status] +curl -L 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY' \ +-H 'Referer: http://localhost' +# [END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.txt b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.txt new file mode 100644 index 00000000..ce74cae2 --- /dev/null +++ b/dist/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.txt @@ -0,0 +1,4 @@ +[START woosmap_http_distance_matrix_async_status] +https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status + ?private_key=YOUR_PRIVATE_API_KEY +[END woosmap_http_distance_matrix_async_status] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.go b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.go new file mode 100644 index 00000000..665c957a --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.go @@ -0,0 +1,39 @@ +// [START woosmap_http_maps_static] +package main + +import ( + "fmt" + "net/http" + "io" +) + +func main() { + + url := "https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY" + method := "GET" + + client := &http.Client { + } + req, err := http.NewRequest(method, url, nil) + + if err != nil { + fmt.Println(err) + return + } + req.Header.Add("Referer", "http://localhost") + + res, err := client.Do(req) + if err != nil { + fmt.Println(err) + return + } + defer res.Body.Close() + + body, err := io.ReadAll(res.Body) + if err != nil { + fmt.Println(err) + return + } + fmt.Println(string(body)) +} +// [END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.java b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.java new file mode 100644 index 00000000..39065feb --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.java @@ -0,0 +1,12 @@ +// [START woosmap_http_maps_static] +OkHttpClient client = new OkHttpClient().newBuilder() + .build(); +MediaType mediaType = MediaType.parse("text/plain"); +RequestBody body = RequestBody.create(mediaType, ""); +Request request = new Request.Builder() + .url("https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY") + .method("GET", body) + .addHeader("Referer", "http://localhost") + .build(); +Response response = client.newCall(request).execute(); +// [END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.js b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.js new file mode 100644 index 00000000..a6548a4e --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.js @@ -0,0 +1,11 @@ +// [START woosmap_http_maps_static] +const requestOptions = { + method: "GET", + redirect: "follow" +}; + +fetch("https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY", requestOptions) + .then((response) => response.text()) + .then((result) => console.log(result)) + .catch((error) => console.error(error)); +// [END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.node.js b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.node.js new file mode 100644 index 00000000..dc0e4a7b --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.node.js @@ -0,0 +1,21 @@ +// [START woosmap_http_maps_static] +const axios = require('axios'); + +let config = { + method: 'get', + maxBodyLength: Infinity, + url: 'https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY', + headers: { + 'Referer': 'http://localhost' + } +}; + +axios.request(config) +.then((response) => { + console.log(JSON.stringify(response.data)); +}) +.catch((error) => { + console.log(error); +}); + +// [END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.py b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.py new file mode 100644 index 00000000..b441a7ac --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.py @@ -0,0 +1,15 @@ +# [START woosmap_http_maps_static] +import requests + +url = "https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY" + +payload = {} +headers = { + 'Referer': 'http://localhost' +} + +response = requests.request("GET", url, headers=headers, data=payload) + +print(response.text) + +# [END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.rb b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.rb new file mode 100644 index 00000000..2f40bc52 --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.rb @@ -0,0 +1,16 @@ +# [START woosmap_http_maps_static] +require "uri" +require "net/http" + +url = URI("https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY") + +https = Net::HTTP.new(url.host, url.port) +https.use_ssl = true + +request = Net::HTTP::Get.new(url) +request["Referer"] = "http://localhost" + +response = https.request(request) +puts response.read_body + +# [END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.sh b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.sh new file mode 100644 index 00000000..e8acab0d --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.sh @@ -0,0 +1,4 @@ +# [START woosmap_http_maps_static] +curl -L 'https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY' \ +-H 'Referer: http://localhost' +# [END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.txt b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.txt new file mode 100644 index 00000000..c0ae099e --- /dev/null +++ b/dist/snippets/woosmap_http_maps_static/woosmap_http_maps_static.txt @@ -0,0 +1,11 @@ +[START woosmap_http_maps_static] +https://api.woosmap.com/maps/static + ?height=400 + &language=en + &lat=48.8566 + &lng=2.3522 + &markers=48.8566%2C2.3522 + &width=600 + &zoom=14 + &key=YOUR_PUBLIC_API_KEY +[END woosmap_http_maps_static] \ No newline at end of file diff --git a/dist/woosmap-postman.json b/dist/woosmap-postman.json index bb5e59fe..aa36454c 100755 --- a/dist/woosmap-postman.json +++ b/dist/woosmap-postman.json @@ -5,7 +5,7 @@ "description": "Stores Search API lets you query the Assets which are returned as a [GeoJson](https://geojson.org/). Request is done over HTTPS using GET. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/). If your request returns a high number of assets, the result will be paginated. If so, you can request assets by page using `page` and `stores_by_page` parameters (Default is **100**, max is **300**).\n", "item": [ { - "id": "12f42328-1c1d-47dd-9e88-d28425f5998e", + "id": "a7bfb715-9b03-454b-b1ef-2bb49940f6ee", "name": "Search for assets", "request": { "name": "Search for assets", @@ -128,7 +128,7 @@ }, "response": [ { - "id": "99360d16-521b-4004-a311-5bfd3e4073b4", + "id": "d8c55777-1ed3-4616-b447-bf078c08f572", "name": "Assets successfully retrieved", "originalRequest": { "url": { @@ -243,12 +243,12 @@ "value": "application/json" } ], - "body": "{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"fugiat_7\": 74280096.4447116,\n \"est_22\": -36240756.99768899,\n \"incididunt024\": -43926597\n },\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"officia22\": \"sed Duis non\"\n },\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n}", + "body": "{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "dff4f7c7-98ae-423e-bfc0-fae18b2c98c2", + "id": "1a6cb5e6-11fd-4ce0-abf5-a592010d2270", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -368,7 +368,7 @@ "_postman_previewlanguage": "json" }, { - "id": "21a34770-fe79-4653-9e84-5132b0573542", + "id": "3bd34df1-4413-410b-974e-b5672f9bea01", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -488,7 +488,7 @@ "_postman_previewlanguage": "json" }, { - "id": "41106090-32d1-4337-8d98-6be74366f0f8", + "id": "2591c398-19d6-4e30-ba8b-0e665eb7cbe4", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -614,7 +614,7 @@ } }, { - "id": "1d7a9353-dbb6-4dea-a1c2-0087ad612c50", + "id": "3fc45d8f-8d40-488e-beb3-a08b0e1ae577", "name": "Autocomplete for assets", "request": { "name": "Autocomplete for assets", @@ -692,7 +692,7 @@ }, "response": [ { - "id": "d40ab30d-1425-45e8-b501-bc2f46e52c46", + "id": "de334fe1-e1e5-4974-86d2-2048e37d797a", "name": "Assets Successfully Replaced", "originalRequest": { "url": { @@ -762,12 +762,12 @@ "value": "application/json" } ], - "body": "{\n \"predictions\": [\n {\n \"name\": \"fugiat cillum occaecat\",\n \"highlighted\": \"quis nulla\",\n \"store_id\": {},\n \"types\": {}\n },\n {\n \"name\": \"elit\",\n \"highlighted\": \"dolor do pariatur\",\n \"store_id\": {},\n \"types\": {}\n }\n ]\n}", + "body": "{\n \"predictions\": [\n {\n \"name\": \"in adipisicing\",\n \"highlighted\": \"dol\",\n \"store_id\": {},\n \"types\": {}\n },\n {\n \"name\": \"Duis\",\n \"highlighted\": \"nisi sint\",\n \"store_id\": {},\n \"types\": {}\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "8d9c952b-e76f-4d82-80dc-fb23d6340121", + "id": "9d09121c-8bcb-4685-a21c-115639bef8bc", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -842,7 +842,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6ae1ac6b-f753-4407-9dc6-760fb6e1d19c", + "id": "49566315-b9a7-4890-b24b-4b0fee7f7dad", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -917,7 +917,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9162fa01-5b56-49e0-9848-ccd5a84a220a", + "id": "5c0ff714-bb2f-46a7-98af-130dd30b2b5c", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -998,7 +998,7 @@ } }, { - "id": "c100d02a-b8f6-4361-9d9a-5ac6cd958873", + "id": "ae720f8f-213d-4f72-a694-7dedd249d51d", "name": "Bounds for assets", "request": { "name": "Bounds for assets", @@ -1086,7 +1086,7 @@ }, "response": [ { - "id": "847eb767-9a16-4aab-bbbf-e1f68f9d8d2c", + "id": "2344299c-98df-493a-96f8-35bf2b123e2c", "name": "Bounds successfully retrieved", "originalRequest": { "url": { @@ -1171,7 +1171,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3c79832d-ec24-420b-a0ee-c9750d8aa2b5", + "id": "fcb8a41a-b4bd-4956-a9d1-90cbd8ca6a6a", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1256,7 +1256,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fbef352c-539d-43d9-a9ac-83389f718550", + "id": "31693217-6313-4e58-b5c3-9ab2487b15d1", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -1341,7 +1341,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3358e0ff-86b8-40ee-aad2-af8484bcb148", + "id": "c97f16da-73b6-458e-a8f7-a824abc7ded1", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -1438,7 +1438,7 @@ "description": "The Data Management API is a web service that uses an HTTP request to manage, create or edit your Assets. The API only supports JSON. So you have to create a JSON file with your assets’ addresses and other information. You’ll need to convert, or geocode, the addresses in your file to latitude/longitude (`lat` / `long`) coordinates. Those coordinates will be used for most of Woosmap features like [local searches](https://developers.woosmap.com/products/search-api/get-started/), [stores nearby a user location](https://developers.woosmap.com/products/geolocation-api/stores/) or for displaying markers on a map with [Woosmap Javascript API](https://developers.woosmap.com/products/js-api/get-started/).\n", "item": [ { - "id": "0098b0a0-a936-49bb-8c35-02b537288f3b", + "id": "8828a26b-4646-43d3-b3d2-f69bd8b8ffe3", "name": "Create your Assets", "request": { "name": "Create your Assets", @@ -1472,7 +1472,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1500,7 +1500,7 @@ }, "response": [ { - "id": "0cfb1e83-c0db-47cb-9648-ccede599a834", + "id": "883c4290-8538-4a35-833c-1509f6146c51", "name": "Assets successfully created", "originalRequest": { "url": { @@ -1538,7 +1538,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1560,7 +1560,7 @@ "_postman_previewlanguage": "json" }, { - "id": "651892b7-bdfb-48fc-830d-90127e3ea465", + "id": "b4184177-fedc-4687-a2f8-02a7a9afdbf5", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -1598,7 +1598,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1620,7 +1620,7 @@ "_postman_previewlanguage": "json" }, { - "id": "87c65ee7-2c08-4498-a930-d783e3749eaf", + "id": "fae89e3a-859b-41e3-94f9-124cb0a28252", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1658,7 +1658,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1680,7 +1680,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d2e5656c-6506-4b00-a7e7-98ff34865958", + "id": "f0445150-bdbd-44fc-90da-aca87532d7d7", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -1718,7 +1718,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1746,7 +1746,7 @@ } }, { - "id": "db32ada2-4e00-4e71-827a-586c70170313", + "id": "270aec09-d571-44a6-89d9-4f263778b46e", "name": "Update the Assets", "request": { "name": "Update the Assets", @@ -1780,7 +1780,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1808,7 +1808,7 @@ }, "response": [ { - "id": "fb0876ca-57df-4a92-bde6-e59128e2aaf9", + "id": "6efaaa76-b8c0-48f9-914e-159719cf14a7", "name": "Assets successfully updated", "originalRequest": { "url": { @@ -1846,7 +1846,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1868,7 +1868,7 @@ "_postman_previewlanguage": "json" }, { - "id": "87455dd6-1bc2-4fde-841c-b2e2ca9be609", + "id": "04570790-e5e9-4c07-8688-a42fcd0f9155", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -1906,7 +1906,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1928,7 +1928,7 @@ "_postman_previewlanguage": "json" }, { - "id": "52452e06-5f0e-4c9c-820f-0071a97ef73c", + "id": "d6626e92-a0c4-45f1-9b61-b92784d4e1db", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -1966,7 +1966,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -1988,7 +1988,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a7959603-e68a-428d-a962-39488a1d16c3", + "id": "406e5534-c23d-49fa-a75e-48b903f07e13", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2026,7 +2026,7 @@ "method": "PUT", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2054,7 +2054,7 @@ } }, { - "id": "542afb42-7f01-42df-870f-f19771cc145b", + "id": "a03ee322-bb2a-454a-b390-d5399309a3cc", "name": "Delete the Assets", "request": { "name": "Delete the Assets", @@ -2113,7 +2113,7 @@ }, "response": [ { - "id": "dca422c0-e3da-4130-8406-3c60c14cdd6d", + "id": "a5c25145-68d7-465e-80af-63fc8811e29b", "name": "Assets successfully deleted", "originalRequest": { "url": { @@ -2169,7 +2169,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d9a71f3e-f394-4cc1-a73d-20744ca49fef", + "id": "363ed78b-17c0-4a1a-b4fa-9a0555868318", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2225,7 +2225,7 @@ "_postman_previewlanguage": "json" }, { - "id": "948a6392-f17e-4437-8074-10ce04dffd0d", + "id": "77876b28-5783-4f19-937b-e01c547b8eff", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2287,7 +2287,7 @@ } }, { - "id": "6bc1499f-8a39-4e65-98f5-15edd91fbc34", + "id": "badca9df-55a4-43cb-98ee-8bd150b2670d", "name": "Get Asset from ID", "request": { "name": "Get Asset from ID", @@ -2348,7 +2348,7 @@ }, "response": [ { - "id": "a2e92211-3a21-47ca-93ed-2073bc66fefc", + "id": "977d2d0b-11fa-408f-8226-4f46a6204496", "name": "Asset successfully retrieved", "originalRequest": { "url": { @@ -2391,12 +2391,12 @@ "value": "application/json" } ], - "body": "{\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"eu_5\": 14942258,\n \"nulla_0\": 42944063\n },\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n}", + "body": "{\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": null,\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ee0c25f9-db27-4e7b-956f-80e783f6daa2", + "id": "8d0090b4-04cb-4465-a3cb-e03cbf407462", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2444,7 +2444,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2755fe77-6d22-4696-8236-b3067192745c", + "id": "eee2d73c-b74f-4b19-8252-e8eea8c61624", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2492,7 +2492,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4be5e2d8-9e3b-44dd-8e2b-b9341a240413", + "id": "6efcaecb-da2f-4fbc-98ca-2b56f60b5b81", "name": "Not Found - `storeId` do not exist.", "originalRequest": { "url": { @@ -2534,7 +2534,7 @@ } }, { - "id": "4417089a-3afd-4c62-bfdb-8d1bb49e9235", + "id": "2e5d31db-337c-4a0e-b0ad-bcc745f30664", "name": "Replace all assets", "request": { "name": "Replace all assets", @@ -2569,7 +2569,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2597,7 +2597,7 @@ }, "response": [ { - "id": "3a4aa095-7b83-4179-8205-8000442615e4", + "id": "02f094de-0fbb-4058-a028-865db0ecab95", "name": "Assets successfully replaced", "originalRequest": { "url": { @@ -2636,7 +2636,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2658,7 +2658,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5ecb9520-7e54-40f0-b529-37eb1fd6790e", + "id": "a775abe6-d10e-4d59-aaa5-374603d51ee4", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -2697,7 +2697,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2719,7 +2719,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0cad6c06-3575-4246-9195-08280a44d832", + "id": "b80c8bfb-0ee7-4243-b178-33dd62661a49", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -2758,7 +2758,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2780,7 +2780,7 @@ "_postman_previewlanguage": "json" }, { - "id": "abfd0f9d-1893-41b3-86b7-9f50de1f94dd", + "id": "c88cb7f0-c6a1-42b2-894b-9b95a4c7e319", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -2819,7 +2819,7 @@ "method": "POST", "body": { "mode": "raw", - "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": {\n \"adipisicing5\": false\n },\n \"localizedNames\": {},\n \"openingHours\": null\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": null\n }\n ]\n}", + "raw": "{\n \"stores\": [\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n },\n {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"name\": \"\",\n \"storeId\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"countryCode\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"userProperties\": null,\n \"localizedNames\": {},\n \"openingHours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n }\n }\n ]\n}", "options": { "raw": { "headerFamily": "json", @@ -2853,7 +2853,7 @@ "description": "Geolocation API returns a location (or nearby stores) and accuracy radius based on an IP address. Request is done over HTTPS using GET. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", "item": [ { - "id": "43a26b79-f891-4e86-b2c3-05a1bfba97fe", + "id": "20002cb1-260a-4cc4-b4d2-1766b4ca7376", "name": "Geolocation from an IP address", "request": { "name": "Geolocation from an IP address", @@ -2913,7 +2913,7 @@ }, "response": [ { - "id": "60bdb3a0-4ff4-4c24-b364-068826c149fe", + "id": "f3b230bc-bee7-459a-a434-404876c1bc5a", "name": "Geolocation successfully retrieved", "originalRequest": { "url": { @@ -2970,7 +2970,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9f6e1e25-09e5-406c-b3a5-7a2aadfcfdae", + "id": "3d075f5e-c8e1-410c-9ee3-0a33666d0728", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3027,7 +3027,7 @@ "_postman_previewlanguage": "json" }, { - "id": "aaa0fe9c-591d-4b5f-87f3-3f5704d1fc50", + "id": "39a41958-b201-4525-a927-ece2dc0efc98", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3084,7 +3084,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b0b05b09-0559-4fac-9025-04a61caae4dd", + "id": "ee57e266-5009-41ab-8248-fb3f054597fb", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3147,7 +3147,7 @@ } }, { - "id": "2f93cf41-6e14-4979-8889-9e6f311362e5", + "id": "f488e701-1404-4fb1-8395-c49cf8092912", "name": "Assets nearby a Geolocation", "request": { "name": "Assets nearby a Geolocation", @@ -3225,7 +3225,7 @@ }, "response": [ { - "id": "070b4f6f-68b5-40b3-ad0d-ab77d9e939e5", + "id": "86f2a0ad-02c6-44b1-9fb5-456c71692318", "name": "Geolocation and Stores successufully retrieved", "originalRequest": { "url": { @@ -3295,12 +3295,12 @@ "value": "application/json" } ], - "body": "{\n \"stores\": {\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"occaecat44\": \"ut non sint\",\n \"culpa_0db\": 40768285.57278499,\n \"elitd\": -12554173\n },\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"accuracy\": \"\",\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"continent\": \"\",\n \"region_state\": \"\",\n \"city\": \"\",\n \"postal_code\": \"\",\n \"timezone\": \"\",\n \"raw_offset\": \"\",\n \"dst_offset\": \"\"\n}", + "body": "{\n \"stores\": {\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": null,\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n },\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"name\": \"\",\n \"store_id\": \"\",\n \"address\": {\n \"lines\": [\n \"\",\n \"\"\n ],\n \"country_code\": \"\",\n \"city\": \"\",\n \"zipcode\": \"\"\n },\n \"contact\": {\n \"website\": \"\",\n \"phone\": \"\",\n \"email\": \"\"\n },\n \"open\": {\n \"current_slice\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"open_hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"open_now\": \"\",\n \"next_opening\": {\n \"end\": \"\",\n \"start\": \"\",\n \"day\": \"\"\n },\n \"week_day\": \"\"\n },\n \"weekly_opening\": {\n \"1\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"2\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"3\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"4\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"5\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"6\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"7\": {\n \"hours\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"isSpecial\": \"\"\n },\n \"timezone\": \"\"\n },\n \"types\": [\n \"\",\n \"\"\n ],\n \"tags\": [\n \"\",\n \"\"\n ],\n \"last_updated\": \"\",\n \"user_properties\": {\n \"adbe1\": 74281388.66273549,\n \"laborum0\": \"ipsum dolo\",\n \"nisi7\": -57680829\n },\n \"opening_hours\": {\n \"timezone\": \"\",\n \"usual\": {\n \"1\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"3\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"4\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"5\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"6\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"7\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"default\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n },\n \"special\": {\n \"2015-02-07\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ],\n \"2015-02-08\": [\n {\n \"start\": \"\",\n \"end\": \"\"\n },\n {\n \"start\": \"\",\n \"end\": \"\"\n }\n ]\n }\n },\n \"distance\": \"\"\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n \"\",\n \"\"\n ]\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"pageCount\": \"\"\n }\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"accuracy\": \"\",\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"continent\": \"\",\n \"region_state\": \"\",\n \"city\": \"\",\n \"postal_code\": \"\",\n \"timezone\": \"\",\n \"raw_offset\": \"\",\n \"dst_offset\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "add4581f-6f99-4fab-bfde-aa37e90c7c1d", + "id": "409873e2-7a37-4f8a-a55b-e52249e8a99d", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3375,7 +3375,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cf501a46-a19a-4c9b-9989-d65ac085dccf", + "id": "683231bb-8c52-4033-9071-e1119866b6aa", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3450,7 +3450,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f27af265-a837-4511-b41f-c94442569129", + "id": "81dbff75-7ad2-45be-a95d-baaa98bd63f2", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3531,7 +3531,7 @@ } }, { - "id": "8a55f0d8-a2c4-4434-891a-b06c4f54124c", + "id": "406da27b-9312-48bf-a8c1-7f62778bc299", "name": "Timezone", "request": { "name": "Timezone", @@ -3600,7 +3600,7 @@ }, "response": [ { - "id": "076c8897-b7ea-4c70-87ab-b890c7b8d30f", + "id": "8e903c72-69d4-4fcc-a031-5beaba6eb0ec", "name": "Timezone successfully retrieved", "originalRequest": { "url": { @@ -3666,7 +3666,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c0aaf9cc-f00d-4da2-84da-507beed5361f", + "id": "87193412-8704-4ddc-8a9c-03f1d62e9a54", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -3732,7 +3732,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4b23c084-1be1-4bc7-a569-1c9c199de4d2", + "id": "477f7886-40df-4f10-9787-f632168a9133", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -3798,7 +3798,7 @@ "_postman_previewlanguage": "json" }, { - "id": "51c2d395-4d0a-4aff-8b6d-a2dfa1a3454e", + "id": "2abbdf4a-54a4-43f2-9e26-f3a166c112fd", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -3876,7 +3876,7 @@ "description": "Woosmap Localities API is a web service that returns a great amount of geographical places in response to an HTTP request. Among others are city names, postal codes, suburbs, addresses or airports. Request is done over HTTPS using GET. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n", "item": [ { - "id": "2d68423e-88ba-40e8-b50c-a21be971856c", + "id": "93d95094-324b-4e0d-ac5e-e34af39b8015", "name": "Autocomplete for Localities", "request": { "name": "Autocomplete for Localities", @@ -3912,7 +3912,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -4017,7 +4017,7 @@ }, "response": [ { - "id": "e9cee15d-2abd-4a3f-a0e7-b58110469208", + "id": "55f59752-271a-4229-a004-a16e42bf9553", "name": "Autocompletion Localities successfully retrieved", "originalRequest": { "url": { @@ -4048,7 +4048,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -4150,12 +4150,12 @@ "value": "application/json" } ], - "body": "{\n \"localities\": [\n {\n \"public_id\": \"\",\n \"types\": [\n \"admin_level\",\n \"neighbourhood\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n },\n {\n \"public_id\": \"\",\n \"types\": [\n \"city\",\n \"neighbourhood\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n }\n ]\n}", + "body": "{\n \"localities\": [\n {\n \"public_id\": \"\",\n \"types\": [\n \"village\",\n \"city\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n },\n {\n \"public_id\": \"\",\n \"types\": [\n \"hamlet\",\n \"neighbourhood\"\n ],\n \"type\": \"\",\n \"description\": \"\",\n \"matched_substrings\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"related\": {\n \"postal_codes\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n \"has_addresses\": \"\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "153d99a2-fc95-4461-bad0-9e97d12439b9", + "id": "e8bb4759-40e7-4f3a-b592-63957b81eb43", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -4186,7 +4186,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -4293,7 +4293,7 @@ "_postman_previewlanguage": "json" }, { - "id": "89fefaa2-b585-4389-99b2-774ce0762d79", + "id": "f45c3103-b1b3-46f7-abaf-f9c1670904ff", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -4324,7 +4324,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -4431,7 +4431,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ee645436-455e-4fc0-87eb-694115b72a0f", + "id": "51be4073-9cc3-452d-a4bd-22cacf96f592", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -4462,7 +4462,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -4575,7 +4575,7 @@ } }, { - "id": "c8bfe57e-d6ae-4612-bb89-f7a2ab667dd5", + "id": "3190f06d-6f88-4d87-a965-af406bf2f7a7", "name": "Details of a Locality", "request": { "name": "Details of a Locality", @@ -4629,7 +4629,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -4680,7 +4680,7 @@ }, "response": [ { - "id": "abdd4a63-cee4-4738-8cf9-273eab580ee4", + "id": "d59a0ddc-54ad-44ab-8caa-634e290a6984", "name": "Details Localities successfully retrieved", "originalRequest": { "url": { @@ -4729,7 +4729,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -4777,12 +4777,12 @@ "value": "application/json" } ], - "body": "{\n \"result\": {\n \"public_id\": \"\",\n \"formatted_address\": \"\",\n \"types\": [\n \"suburb\",\n \"hamlet\"\n ],\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n },\n \"accuracy\": \"DISTRICT\"\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"name\": \"\",\n \"administrative_area_label\": \"\",\n \"status\": \"not_yet_built\",\n \"addresses\": {\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"addresses_per_page\": \"\",\n \"address_count\": \"\"\n },\n \"list\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n }\n}", + "body": "{\n \"result\": {\n \"public_id\": \"\",\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"postal_code\"\n ],\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n },\n \"accuracy\": \"POSTAL_CODE\"\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"name\": \"\",\n \"administrative_area_label\": \"\",\n \"status\": \"not_yet_built\",\n \"addresses\": {\n \"pagination\": {\n \"page\": \"\",\n \"page_count\": \"\",\n \"addresses_per_page\": \"\",\n \"address_count\": \"\"\n },\n \"list\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "00d18f20-c430-446a-bc29-ddb5bbf59e77", + "id": "1897b32b-e61a-4e1b-ab9d-fb5f586b3ff2", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -4831,7 +4831,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -4884,7 +4884,7 @@ "_postman_previewlanguage": "json" }, { - "id": "562cca86-c159-448c-ad4b-9ff25c9cfeae", + "id": "5094face-10f1-4df2-8b6d-b959bd44d84f", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -4933,7 +4933,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -4986,7 +4986,7 @@ "_postman_previewlanguage": "json" }, { - "id": "00f2559b-6ea8-4d3b-8d6f-288249e2ebf1", + "id": "6bfd80a4-59dc-4934-a3b1-b1dc3bdd8751", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -5035,7 +5035,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -5094,7 +5094,7 @@ } }, { - "id": "2f000cfc-9002-4d4c-9d6f-1cd32cbaa242", + "id": "a2144e47-8aec-4561-a622-2e1cfc34b2b2", "name": "Geocode a locality or Reverse Geocode a latlng", "request": { "name": "Geocode a locality or Reverse Geocode a latlng", @@ -5139,7 +5139,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -5202,7 +5202,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" } ], "variable": [] @@ -5235,7 +5235,7 @@ }, "response": [ { - "id": "c7447f4e-ab9d-47e0-ad6f-abeb70b13fa1", + "id": "e147132d-e158-4bda-8369-efcc066a5873", "name": "Request Localities Geocode successful", "originalRequest": { "url": { @@ -5275,7 +5275,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -5338,7 +5338,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -5368,12 +5368,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"city\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"suburb\",\n \"quarter\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n }\n ]\n}", + "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"admin_level\",\n \"town\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"suburb\",\n \"borough\"\n ],\n \"administrative_area_label\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location_type\": \"DISTRICT\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"shape\": {\n \"type\": \"MultiPoligon\",\n \"coordinates\": [\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ],\n [\n [\n \"\",\n \"\"\n ],\n [\n \"\",\n \"\"\n ]\n ]\n ]\n }\n },\n \"status\": \"not_yet_built\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"distance\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ],\n \"scores_per_components\": {\n \"street_name\": \"\",\n \"postal_code\": \"\",\n \"locality\": \"\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "caa3d7c3-933b-4558-ad25-9e85508a0135", + "id": "2cac478e-b7c5-491d-8bfd-458e4d1a1118", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -5413,7 +5413,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -5476,7 +5476,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -5511,7 +5511,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6d882387-0eb1-4123-a174-fe2284eafa31", + "id": "4a5780a4-a66e-48e4-8372-e78ee4e37a55", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -5551,7 +5551,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -5614,7 +5614,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -5649,7 +5649,7 @@ "_postman_previewlanguage": "json" }, { - "id": "89fb73b6-2b29-4347-a39f-438c72f90445", + "id": "c36bc628-4597-4ec7-b5db-8e07665c46e2", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -5689,7 +5689,7 @@ "type": "text/plain" }, "key": "types", - "value": "admin_level" + "value": "route" }, { "disabled": false, @@ -5752,7 +5752,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -5793,7 +5793,7 @@ } }, { - "id": "898d0c3c-0ae8-45f5-8151-982b2523b4a6", + "id": "ed8d970d-d1a4-4c12-99e9-e674006713ce", "name": "Nearby points of interest", "request": { "name": "Nearby points of interest", @@ -5820,7 +5820,7 @@ "type": "text/plain" }, "key": "types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "disabled": false, @@ -5865,7 +5865,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "tourism.monument" + "value": "tourism.museum" } ], "variable": [] @@ -5898,7 +5898,7 @@ }, "response": [ { - "id": "de225617-fc0f-4c5b-b8d7-8152d7bc6240", + "id": "a19e3c93-9118-4111-baff-37a76fdf733d", "name": "Points of interests surrounding `location` and matching provided `types`, sorted by distance to `location`.", "originalRequest": { "url": { @@ -5920,7 +5920,7 @@ "type": "text/plain" }, "key": "types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "disabled": false, @@ -5965,7 +5965,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "description": { @@ -5995,12 +5995,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"types\": [\n \"transit.station.airport\",\n \"business.food_and_drinks.biergarten\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"hospitality.hotel\",\n \"park\"\n ],\n \"formatted_address\": \"\"\n },\n {\n \"types\": [\n \"business.car_repair\",\n \"hospitality.hotel\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"business.food_and_drinks.pub\",\n \"hospitality.motel\"\n ],\n \"formatted_address\": \"\"\n }\n ],\n \"pagination\": {\n \"next_page\": \"\",\n \"previous_page\": \"\"\n }\n}", + "body": "{\n \"results\": [\n {\n \"types\": [\n \"business.parking\",\n \"park.national\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"business.food_and_drinks.cafe\",\n \"business.shop.library\"\n ],\n \"formatted_address\": \"\"\n },\n {\n \"types\": [\n \"business.shop.furniture\",\n \"business.food_and_drinks.biergarten\"\n ],\n \"name\": \"\",\n \"public_id\": \"\",\n \"geometry\": {\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n },\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"categories\": [\n \"post_office\",\n \"business.finance\"\n ],\n \"formatted_address\": \"\"\n }\n ],\n \"pagination\": {\n \"next_page\": \"\",\n \"previous_page\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "95182a17-c53d-4a7a-8cbe-5297bbdd3be7", + "id": "cd9d4573-c924-45c6-b3ca-d89c6d763ebb", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -6022,7 +6022,7 @@ "type": "text/plain" }, "key": "types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "disabled": false, @@ -6067,7 +6067,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "description": { @@ -6102,7 +6102,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3ffccf53-170a-4962-a9ee-011ad52ac7bb", + "id": "859fc0f4-634b-4c49-bcf2-5e351afee88c", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -6124,7 +6124,7 @@ "type": "text/plain" }, "key": "types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "disabled": false, @@ -6169,7 +6169,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "description": { @@ -6204,7 +6204,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c19dcbac-a461-4cd5-a2c5-fa2769010f07", + "id": "1f6fcfed-7e26-4c63-999c-dcc2aa7aaca4", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -6226,7 +6226,7 @@ "type": "text/plain" }, "key": "types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "disabled": false, @@ -6271,7 +6271,7 @@ "type": "text/plain" }, "key": "excluded_types", - "value": "tourism.monument" + "value": "tourism.museum" }, { "description": { @@ -6318,7 +6318,7 @@ "description": "Woosmap Address API is a web service that returns addresses and other geographical places in response to an HTTP request. Request is done over HTTPS using GET. Response is formatted as JSON. You must specify a key in your request, included as the value of a `key` parameter for your public key or `private_key` for your private key. This key identifies your application for purposes of quota management. Learn how to [get a key](https://developers.woosmap.com/support/api-keys/).\n>**⚠️ This API has been deprecated in favour of Localities API**\n", "item": [ { - "id": "fe123540-2d7d-482d-a558-dd8ea2962de2", + "id": "59dc151c-11fa-420a-bd2e-45052e878808", "name": "Autocomplete for Addresses", "request": { "name": "Autocomplete for Addresses", @@ -6406,7 +6406,7 @@ }, "response": [ { - "id": "4d2b0161-2938-4eee-8f77-8e45b1541e80", + "id": "84fa32bf-3905-4488-905d-b1bf26ad69d5", "name": "Autocompletion Address successfully retrieved", "originalRequest": { "url": { @@ -6486,12 +6486,12 @@ "value": "application/json" } ], - "body": "{\n \"predictions\": [\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"address_block\",\n \"status\": \"INVALID_REQUEST\"\n },\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"locality\",\n \"status\": \"REQUEST_DENIED\"\n }\n ],\n \"status\": \"UNKNOWN_ERROR\"\n}", + "body": "{\n \"predictions\": [\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"address_block\",\n \"status\": \"OK\"\n },\n {\n \"description\": \"\",\n \"public_id\": \"\",\n \"matched_substring\": {\n \"description\": [\n {\n \"length\": \"\",\n \"offset\": \"\"\n },\n {\n \"length\": \"\",\n \"offset\": \"\"\n }\n ]\n },\n \"type\": \"house_number\",\n \"status\": \"OK\"\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "146a632d-7c58-43d7-9ba7-bc95a09d9c8a", + "id": "5bea6243-752c-4e9a-89f1-eebfa6db0ec6", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -6576,7 +6576,7 @@ "_postman_previewlanguage": "json" }, { - "id": "45a5a1ad-d2cb-4e5a-a97a-a640cf8d2c4e", + "id": "249c625a-a5c0-4af5-9909-9ebe2bf2c59c", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -6661,7 +6661,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7645e886-5538-4926-bdd3-ac6d0d2e51f0", + "id": "8c1ef364-87b4-42e0-b425-4860d4ef9d4a", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -6752,7 +6752,7 @@ } }, { - "id": "b08efbc9-5053-4035-8100-de7b29f65968", + "id": "7b9174f3-7c25-4986-9772-5ed130ffbf2a", "name": "Details of an Address", "request": { "name": "Details of an Address", @@ -6798,7 +6798,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" } ], "variable": [] @@ -6831,7 +6831,7 @@ }, "response": [ { - "id": "2c03f576-865e-44f0-b3da-da908d75d7d7", + "id": "dfe4ca32-89c9-4aff-9079-68aad2aaae2b", "name": "Details Address successfully retrieved", "originalRequest": { "url": { @@ -6872,7 +6872,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -6902,12 +6902,12 @@ "value": "application/json" } ], - "body": "{\n \"status\": \"REQUEST_DENIED\",\n \"result\": {\n \"formatted_address\": \"\",\n \"types\": [\n \"country\",\n \"route\"\n ],\n \"public_id\": \"\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"APPROXIMATE\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n}", + "body": "{\n \"status\": \"INVALID_REQUEST\",\n \"result\": {\n \"formatted_address\": \"\",\n \"types\": [\n \"country\",\n \"address_block\"\n ],\n \"public_id\": \"\",\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"GEOMETRIC_CENTER\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "5cb5df0d-e154-4d16-a333-8ae2e1115b0c", + "id": "611d78de-d8d0-4764-a163-b946cc310411", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -6948,7 +6948,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -6983,7 +6983,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4d43bcfe-f5de-49a9-846d-ba0f72716543", + "id": "cd750600-9bb8-4d7d-96f1-59226575549e", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -7024,7 +7024,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -7059,7 +7059,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b1145c4f-2fdd-467b-8d4d-564d32115319", + "id": "ef949279-e0c4-4515-a66f-7d739f778395", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -7100,7 +7100,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "description": { @@ -7141,7 +7141,7 @@ } }, { - "id": "28b4b51f-a3f6-4c78-931a-1735967f73b2", + "id": "17e1079f-b98d-4650-b693-319c3ced37a8", "name": "Geocode an Address or Reverse Geocode a latlng", "request": { "name": "Geocode an Address or Reverse Geocode a latlng", @@ -7214,7 +7214,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -7256,7 +7256,7 @@ }, "response": [ { - "id": "f4fd1542-f54d-4e2f-a156-67a6337578cc", + "id": "a99a2cc0-0956-448a-80fc-455e04d9df69", "name": "Request Address Geocode successful", "originalRequest": { "url": { @@ -7324,7 +7324,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -7363,12 +7363,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"country\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"APPROXIMATE\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"admin_level\",\n \"admin_level\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n ],\n \"status\": \"REQUEST_DENIED\"\n}", + "body": "{\n \"results\": [\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"route\",\n \"admin_level\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"RANGE_INTERPOLATED\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n },\n {\n \"formatted_address\": \"\",\n \"types\": [\n \"country\",\n \"locality\"\n ],\n \"address_components\": [\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n },\n {\n \"long_name\": \"\",\n \"short_name\": \"\",\n \"types\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"geometry\": {\n \"location_type\": \"ROOFTOP\",\n \"location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"viewport\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n }\n }\n }\n ],\n \"status\": \"UNKNOWN_ERROR\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ed876b54-eaf7-4291-be43-7f83b3f8ae2f", + "id": "d7561f8f-7d3b-4d9a-a11b-93ad262c3952", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -7436,7 +7436,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -7480,7 +7480,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fee6c4ca-946e-45ff-85f1-d486de411f80", + "id": "5e08856b-da00-43d1-8d22-95c2ce11ae3c", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -7548,7 +7548,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -7592,7 +7592,7 @@ "_postman_previewlanguage": "json" }, { - "id": "68fdf636-818f-4702-b083-01cc2f20aa93", + "id": "7b0cfdbd-c2e9-467e-9938-4e533334b493", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -7660,7 +7660,7 @@ "type": "text/plain" }, "key": "cc_format", - "value": "alpha3" + "value": "alpha2" }, { "disabled": false, @@ -7716,7 +7716,7 @@ "description": "Woosmap Zones API is a web service that uses an HTTP request to manage, create or edit your Zones (polygons) attached to your assets.\nThe general principle is that sometimes searching assets using crowfly distance is not good enough. For example to search the restaurant that will do the delivery for a specified address, each restaurant has a delivery zone and for topological or business reasons it’s not always the nearest restaurant in charge of your delivery. Woosmap Zones API allows you to associate a delivery zone to each of the restaurants.\n", "item": [ { - "id": "553ff9fb-76bb-437e-93a5-adc333508b65", + "id": "607ceee8-8504-4571-adac-e1ce3e69ccbf", "name": "List your Zones", "request": { "name": "List your Zones", @@ -7784,7 +7784,7 @@ }, "response": [ { - "id": "56288658-c8cd-4ded-a2b2-815b30aa4daf", + "id": "2168c72a-30b2-4254-8fc1-1190000b11fd", "name": "Zones successfully retrieved", "originalRequest": { "url": { @@ -7849,7 +7849,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6ade90ea-31d8-49b7-996b-d3953f198ad0", + "id": "a1719506-2ff2-40c7-afb7-363c125b7aaa", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -7914,7 +7914,7 @@ "_postman_previewlanguage": "json" }, { - "id": "24318760-731e-4d8c-949f-28f201be730d", + "id": "292050ab-527e-4cf1-9a28-e74b92200801", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -7979,7 +7979,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1a3ed2a8-176a-454e-afef-4b733803d4c1", + "id": "ec3fb970-3982-4bb5-822f-ec5a0412cb39", "name": "Too Many Requests. The rate limit for this endpoint has been exceeded.", "originalRequest": { "url": { @@ -8050,7 +8050,7 @@ } }, { - "id": "c76fd457-d26b-45ef-8e13-05057bd39d02", + "id": "759b0bb1-cc63-4e5a-9502-171e2d58be19", "name": "Create your Zones", "request": { "name": "Create your Zones", @@ -8112,7 +8112,7 @@ }, "response": [ { - "id": "5de56810-6f46-4702-85ca-6384eeaa3d0a", + "id": "3ce2d7e7-e083-4050-8afb-2a475b4bc288", "name": "Zones successfully created", "originalRequest": { "url": { @@ -8172,7 +8172,7 @@ "_postman_previewlanguage": "json" }, { - "id": "35a24d9d-8de2-4eba-80ce-81c6907ae0df", + "id": "e9869cf1-00f5-46f0-9665-4954ebf1943d", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -8232,7 +8232,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f5e6642f-8df6-40f9-9e41-37979519de60", + "id": "7c8201a3-4f9a-4a7e-8ee2-c791208ff17d", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -8292,7 +8292,7 @@ "_postman_previewlanguage": "json" }, { - "id": "51759efd-f381-4887-9784-c7c7dec1cae7", + "id": "a6b9237b-be21-4683-bcff-876b4d2d62bd", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -8358,7 +8358,7 @@ } }, { - "id": "49c7cf21-53af-4f6c-8018-01d40c8861b2", + "id": "0054ebf0-418a-4956-bed3-4f662c8732f2", "name": "Update the Zones", "request": { "name": "Update the Zones", @@ -8420,7 +8420,7 @@ }, "response": [ { - "id": "bb6836a1-f3b6-4004-8f42-5b4ae87f35ed", + "id": "2b09df9a-523f-42cd-8403-6918187475df", "name": "Zones successfully updated", "originalRequest": { "url": { @@ -8480,7 +8480,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a6754ae4-dc4f-4258-98dd-0f129fa552b0", + "id": "d0982138-6626-4c3a-a3c7-6eeb5fb30e78", "name": "Invalid. The data is not a valid JSON.", "originalRequest": { "url": { @@ -8540,7 +8540,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4d580afc-f059-4842-9293-aac7d2df54b9", + "id": "e76f712e-eef2-4cf0-99b0-d4e6060ffe17", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -8600,7 +8600,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6900d9bd-b51d-43b6-8166-e341c9d4acc9", + "id": "8aa99dd2-87d9-4e99-8d7f-47ea52693864", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -8666,7 +8666,7 @@ } }, { - "id": "346ec9af-da45-4975-be9c-d7045f64b6a7", + "id": "77082b85-3f01-49df-80ee-605d63993859", "name": "Delete the Zones", "request": { "name": "Delete the Zones", @@ -8715,7 +8715,7 @@ }, "response": [ { - "id": "702809ac-a0bf-46a7-889b-ef233551ea6b", + "id": "b528db68-b8eb-4d7f-8640-12ec808ead07", "name": "Zones successfully deleted", "originalRequest": { "url": { @@ -8762,7 +8762,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9491335d-360b-4690-a50f-c9c1873e8523", + "id": "77a0ef96-f624-4a59-becb-d3179e4b2651", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -8809,7 +8809,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a7e3861f-309f-4031-9b66-9d4539f075a1", + "id": "eedc7bdf-27ff-4e21-8f1e-0718508d0a42", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -8862,7 +8862,7 @@ } }, { - "id": "89eba47b-18da-4012-be11-1c9ffff5ad34", + "id": "f5f3badb-f8bc-4518-ae8a-89023d74bfa0", "name": "Get Zone from ID", "request": { "name": "Get Zone from ID", @@ -8923,7 +8923,7 @@ }, "response": [ { - "id": "4171bbe3-b26c-4858-8832-36fd5fcea224", + "id": "7507f9a0-5008-4e5c-b603-87f70058246f", "name": "Zone successfully retrieved", "originalRequest": { "url": { @@ -8971,7 +8971,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c34cf99e-96c7-4b48-b5dc-1285a9cc810a", + "id": "3338d335-a95a-435b-9ca0-9317da720576", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -9019,7 +9019,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a34fd7fb-0160-470d-a814-9dc9ab8e1933", + "id": "56dc65ff-15c6-484f-a5b3-5b9d9eb8de66", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -9067,7 +9067,7 @@ "_postman_previewlanguage": "json" }, { - "id": "09670ee8-16ad-4678-b7e3-27d31463cfd9", + "id": "9db8800f-d4c4-404b-b2bd-5b01e703c2dc", "name": "Not Found - `zone_id` do not exist.", "originalRequest": { "url": { @@ -9109,7 +9109,7 @@ } }, { - "id": "6d4957f9-f724-45b2-bd9e-7b7506970a6f", + "id": "9932a961-c372-4f09-97c3-b10f08c14e64", "name": "Delete Zone from ID", "request": { "name": "Delete Zone from ID", @@ -9170,7 +9170,7 @@ }, "response": [ { - "id": "69fac5b6-ed3f-4d8b-bbbf-39c043f0b8f3", + "id": "025c2469-e9a3-4a57-8f7e-6c84fce14525", "name": "Zones successfully deleted", "originalRequest": { "url": { @@ -9218,7 +9218,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a2a11c6e-ea89-4866-a71c-950ac35b5080", + "id": "6fe1475d-718d-474a-a6c9-79374205a4aa", "name": "Unauthorized. Incorrect authentication credentials.", "originalRequest": { "url": { @@ -9266,7 +9266,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d1aaf2df-aed6-4a6e-98e8-60bf94e987ac", + "id": "5b00afc5-5295-425f-84de-7e7feb11c997", "name": "Forbidden. This Woosmap API is not enabled for this project.", "originalRequest": { "url": { @@ -9323,10 +9323,10 @@ }, { "name": "Static Map API", - "description": "The Woosmap Static Maps API lets you generate customizable, embeddable map images using simple HTTP requests. It’s a lightweight alternative to interactive maps—ideal for emails, reports, or websites where dynamic JavaScript maps aren't needed. \n\nYou provide parameters such as location, zoom level, size, and markers, and the API returns a map image that can be embedded directly into any webpage or application.\n", + "description": "The Woosmap Static Maps API lets you generate customizable, embeddable map images using simple HTTP requests. It’s a lightweight alternative to interactive maps—ideal for emails, reports, or websites where dynamic JavaScript maps aren't needed.\n\nYou provide parameters such as location, zoom level, size, and markers, and the API returns a map image that can be embedded directly into any webpage or application.\n", "item": [ { - "id": "74eb7e3d-c060-4b3d-abc2-fd1396f6ee7e", + "id": "1d002906-16c4-47e7-b508-e8a430a1270a", "name": "Get Static Map", "request": { "name": "Get Static Map", @@ -9500,7 +9500,7 @@ }, "response": [ { - "id": "9dd9dd79-f753-45d6-a40c-29d5dccbae6b", + "id": "587b4bfb-bc87-478f-8c24-b8659ff0dcdf", "name": "Successful Response", "originalRequest": { "url": { @@ -9644,7 +9644,7 @@ "_postman_previewlanguage": "text" }, { - "id": "30bf824c-6201-4fa7-af0e-9ad51cdb21c4", + "id": "b2f3762b-5c18-4c31-9cc5-287f47246fee", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -9788,7 +9788,7 @@ "_postman_previewlanguage": "json" }, { - "id": "59e2ae6a-7107-4ff2-b8e7-b6c58fd8ba07", + "id": "10f4c4e6-1c35-4b6f-96fd-78096eb2d9c2", "name": "Out of free quota.", "originalRequest": { "url": { @@ -9932,7 +9932,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3723207b-b671-44d6-adf1-b6bdaa957cda", + "id": "8cd4e90b-8bb4-4ad2-87cb-10d41c1154ba", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -10076,7 +10076,7 @@ "_postman_previewlanguage": "json" }, { - "id": "507d8dcb-68a7-4f02-aa4c-242196898b8c", + "id": "01d4722d-bd83-46e1-9ad0-edd005313b00", "name": "Validation Error", "originalRequest": { "url": { @@ -10220,7 +10220,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3a5c853b-d98e-4c19-b9db-41061acd887f", + "id": "d2afe0d7-f0d1-4674-9d9d-7ca6928b450a", "name": "Rate limit reached", "originalRequest": { "url": { @@ -10373,10 +10373,10 @@ }, { "name": "Woosmap for what3words API", - "description": "The Woosmap for what3words integration enhances location search capabilities by incorporating what3words' unique\n3-word addressing system. \n\nThis API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of \n[Localities API](#tag/Woosmap_Platform_API_Reference_Localities-API) to convert a what3words address into a street address, bringing address level accuracy to what3words.\n", + "description": "The Woosmap for what3words integration enhances location search capabilities by incorporating what3words' unique\n3-word addressing system.\n\nThis API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of\n[Localities API](#tag/Woosmap_Platform_API_Reference_Localities-API) to convert a what3words address into a street address, bringing address level accuracy to what3words.\n", "item": [ { - "id": "86df2def-66df-41d5-8f5e-f0c3bddee54d", + "id": "5f4ef2f9-dd29-4283-ae19-78b5f0664716", "name": "Convert To What 3 Words", "request": { "name": "Convert To What 3 Words", @@ -10451,7 +10451,7 @@ }, "response": [ { - "id": "d95993bc-e2e2-4294-bae2-20c2e0684825", + "id": "a54fb742-585d-4bfa-b67c-87ff13fcbdc7", "name": "Successful Response", "originalRequest": { "url": { @@ -10523,7 +10523,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0b47a054-043f-41ff-826a-7542667549ad", + "id": "eb0f092a-370d-4cfa-bf56-af1f1a462c52", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -10595,7 +10595,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f4a3c0ed-c85d-41a6-b084-d6b0db7a2770", + "id": "73cbd517-9b30-4c4f-b40b-08e1965f07b9", "name": "Out of free quota.", "originalRequest": { "url": { @@ -10667,7 +10667,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8cefa613-c6df-443d-bb5d-e07b0c9158ca", + "id": "2ae08d0c-ce4a-4496-a7e4-4cde7b078b37", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -10739,7 +10739,7 @@ "_postman_previewlanguage": "json" }, { - "id": "77ba0a8e-e07a-46f2-bb14-6be16c7440cc", + "id": "b443de10-c0e0-46de-ab4b-1b2870f14f5f", "name": "Validation Error", "originalRequest": { "url": { @@ -10811,7 +10811,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d775f7fe-dc50-4596-a2f9-133e38dc130e", + "id": "3e28f636-1325-499c-8594-3d046ce567aa", "name": "Rate limit reached", "originalRequest": { "url": { @@ -10889,7 +10889,7 @@ } }, { - "id": "70819f74-5698-4b96-836d-c44f0935f07f", + "id": "fbf31c5d-9c21-4726-aeb9-188a375fe1ec", "name": "Convert To Address", "request": { "name": "Convert To Address", @@ -10955,7 +10955,7 @@ }, "response": [ { - "id": "e711f603-d0aa-4014-9ff1-3eb657d8c0ac", + "id": "1744d4ec-eb20-46e9-a0b1-d9a128a23e4e", "name": "Successful Response", "originalRequest": { "url": { @@ -11013,12 +11013,12 @@ "value": "application/json" } ], - "body": "{\n \"results\": [\n {\n \"types\": [\n \"village\",\n \"borough\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n {\n \"types\": [\n \"suburb\",\n \"quarter\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"results\": [\n {\n \"types\": [\n \"village\",\n \"quarter\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n },\n {\n \"types\": [\n \"postal_code\",\n \"city\"\n ],\n \"formatted_address\": \"\",\n \"public_id\": \"\",\n \"status\": \"\",\n \"sub_buildings\": [\n {\n \"public_id\": \"\",\n \"description\": \"\"\n },\n {\n \"public_id\": \"\",\n \"description\": \"\"\n }\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f3708ab9-8021-406f-a709-3376208a6dc1", + "id": "2e8241ff-fd75-45f5-9de4-97d3ec482e7d", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -11081,7 +11081,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8d8c0f61-4707-4bff-a550-b2c412005dcf", + "id": "344d0e53-d933-4df6-aeb7-e3d0029cab0e", "name": "Out of free quota.", "originalRequest": { "url": { @@ -11144,7 +11144,7 @@ "_postman_previewlanguage": "json" }, { - "id": "856c0cd8-29d1-4d9a-9734-35115c0ed865", + "id": "8083457c-cc43-4f45-96f4-e78e76bde90e", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -11207,7 +11207,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a0e7b0b1-a044-4514-b0c4-64ec28d92d4a", + "id": "e8971c0e-e712-472c-ba48-c7fa583df7cd", "name": "Validation Error", "originalRequest": { "url": { @@ -11270,7 +11270,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0782c86f-2b7e-4f14-8752-838576a1faaf", + "id": "28b443e6-d109-477a-980e-07e0f3c66352", "name": "Rate limit reached", "originalRequest": { "url": { @@ -11339,7 +11339,7 @@ } }, { - "id": "00b2e7f0-7f4a-48b0-94b5-b113b0058074", + "id": "4e0a92dd-657b-441d-b94d-bf08a15d3e39", "name": "Autosuggest", "request": { "name": "Autosuggest", @@ -11468,7 +11468,7 @@ }, "response": [ { - "id": "efa4f299-f134-4a77-961f-7258b42b810f", + "id": "8ceb4df4-04a4-4649-9240-3806fa5130b5", "name": "Successful Response", "originalRequest": { "url": { @@ -11594,7 +11594,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b4588b24-ea4e-4aa5-a255-8849246b4518", + "id": "5fb5046b-3cf5-41c9-bab6-b9bba20b4079", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -11720,7 +11720,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7f256ed0-3f2f-4427-b303-ebecd5f9105d", + "id": "88be4b92-3f87-4e6c-b873-3202f750b350", "name": "Out of free quota.", "originalRequest": { "url": { @@ -11846,7 +11846,7 @@ "_postman_previewlanguage": "json" }, { - "id": "84189785-c3eb-4683-b9b9-df563e203b62", + "id": "0721f867-42c6-4b9f-87bd-50396e9eb8f4", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -11972,7 +11972,7 @@ "_postman_previewlanguage": "json" }, { - "id": "38e737fc-211c-4583-8fc9-22b67aa5c0b1", + "id": "448f28de-3038-498b-99b9-175f5153f2e8", "name": "Validation Error", "originalRequest": { "url": { @@ -12098,7 +12098,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9d13add9-2560-494e-afea-6916e2eeb5a3", + "id": "87cfe5f5-361a-4107-a8fb-fb92fcd4e19c", "name": "Rate limit reached", "originalRequest": { "url": { @@ -12236,7 +12236,7 @@ "description": "The Indoor API suite provides comprehensive tools for indoor mapping, search, and navigation in complex venues.\n\nThe Indoor Map API renders detailed floor plans with customizable styling, while the Indoor Search API enables\nprecise location searching through an intelligent POI engine with autocompletion capabilities.\n\nFor wayfinding, the Indoor Distance API calculates optimal routes between indoor points, delivering polylines\nand turn-by-turn instructions. Advanced features include custom routing profiles for different user types\n(staff, visitors, etc.) and seamless integration with external systems.\n", "item": [ { - "id": "59fabffe-a966-461e-9e00-e0929f9ebc07", + "id": "c4d5999b-2909-4513-bb39-000d177da897", "name": "Get Venue By Key", "request": { "name": "Get Venue By Key", @@ -12295,7 +12295,7 @@ }, "response": [ { - "id": "9ab66b93-ad21-4e2f-86a3-a5281c92491a", + "id": "af7d9c8e-9451-4198-a87c-d157e2a45d39", "name": "OK", "originalRequest": { "url": { @@ -12341,7 +12341,7 @@ "_postman_previewlanguage": "json" }, { - "id": "70ff3a91-c60c-4244-a821-545ff3806d07", + "id": "2b26ed3c-710f-4a74-a49c-4f7de029be32", "name": "Unauthorized", "originalRequest": { "url": { @@ -12387,7 +12387,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d03d89d9-b7f3-46d9-9b44-6c03e3fa8eeb", + "id": "0c7a45de-f125-4581-9237-4a9752a971d4", "name": "Payment Required", "originalRequest": { "url": { @@ -12433,7 +12433,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ad72a98d-deaa-4ff9-bc06-c4c1f0d546f0", + "id": "77041f29-1f9f-4cc5-973f-df21f3127f73", "name": "Forbidden", "originalRequest": { "url": { @@ -12479,7 +12479,7 @@ "_postman_previewlanguage": "json" }, { - "id": "908af292-9d16-4b76-b159-680fb0d0f700", + "id": "542a8b39-5aa4-45d7-8e6e-dc0aefd92492", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -12520,7 +12520,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -12531,7 +12531,7 @@ } }, { - "id": "bf2b22bf-92e2-407a-93bb-4d5b81779041", + "id": "e8469688-c077-4e00-afe0-a6450cf3504e", "name": "Get Venues By Key", "request": { "name": "Get Venues By Key", @@ -12555,7 +12555,7 @@ "type": "text/plain" }, "key": "sort_by", - "value": "updated_at" + "value": "name" } ], "variable": [] @@ -12588,7 +12588,7 @@ }, "response": [ { - "id": "e017dd44-39d9-4de8-8694-b08c24381a81", + "id": "7f6c8121-8657-4336-b031-0f4421206d03", "name": "OK", "originalRequest": { "url": { @@ -12607,7 +12607,7 @@ "type": "text/plain" }, "key": "sort_by", - "value": "updated_at" + "value": "name" }, { "description": { @@ -12642,7 +12642,7 @@ "_postman_previewlanguage": "json" }, { - "id": "dd70dc0f-824f-4969-8a57-5bbf192ac9d8", + "id": "1f0187df-3315-43aa-92c2-16872a81c684", "name": "Unauthorized", "originalRequest": { "url": { @@ -12661,7 +12661,7 @@ "type": "text/plain" }, "key": "sort_by", - "value": "updated_at" + "value": "name" }, { "description": { @@ -12696,7 +12696,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a9a9fad1-9d23-4cc2-803b-1234df564109", + "id": "0a1e2b0c-264f-4d44-9bb8-28620f6c5a86", "name": "Payment Required", "originalRequest": { "url": { @@ -12715,7 +12715,7 @@ "type": "text/plain" }, "key": "sort_by", - "value": "updated_at" + "value": "name" }, { "description": { @@ -12750,7 +12750,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1a259c50-8ffe-48ce-aadf-7443279659af", + "id": "0e0195ec-77d5-41fa-8752-eedc7e30bbc1", "name": "Forbidden", "originalRequest": { "url": { @@ -12769,7 +12769,7 @@ "type": "text/plain" }, "key": "sort_by", - "value": "updated_at" + "value": "name" }, { "description": { @@ -12804,7 +12804,7 @@ "_postman_previewlanguage": "json" }, { - "id": "55f451f4-98c7-4d89-8da3-6d5d61dba655", + "id": "db7b83c8-7364-4eb5-a192-7e40bb7ef634", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -12823,7 +12823,7 @@ "type": "text/plain" }, "key": "sort_by", - "value": "updated_at" + "value": "name" }, { "description": { @@ -12853,7 +12853,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -12864,7 +12864,7 @@ } }, { - "id": "a0c64bf3-7e24-4485-80db-4a9905d423cc", + "id": "a63e1253-c934-4d70-b332-47bdef80518e", "name": "Get Indoor Style", "request": { "name": "Get Indoor Style", @@ -12930,7 +12930,7 @@ }, "response": [ { - "id": "fd88e384-ed2b-4bd4-b91a-443c63bb3f79", + "id": "fa3a5a87-1b65-4a07-909a-20da49cdd8bd", "name": "OK", "originalRequest": { "url": { @@ -12988,12 +12988,12 @@ "value": "application/json" } ], - "body": "{\n \"magna_a3\": true,\n \"id_2d7\": 22495497\n}", + "body": "{\n \"enim_9\": \"culpa\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7dec01e1-d9ce-4aba-b389-284449f9b73d", + "id": "851f3aa2-7ad4-449b-bc66-2e7482b30407", "name": "Unauthorized", "originalRequest": { "url": { @@ -13056,7 +13056,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2282aa33-474e-4b80-999c-fba03696a873", + "id": "8f5bd2c8-fc3b-473c-ae77-feb0f01134cd", "name": "Payment Required", "originalRequest": { "url": { @@ -13119,7 +13119,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c16f5569-4030-4457-9eb0-b865222ab458", + "id": "4663aa37-0c34-4718-9f31-18dd68b869ff", "name": "Forbidden", "originalRequest": { "url": { @@ -13182,7 +13182,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8b1c5c7c-0614-4f3e-9b3e-8ff82638533e", + "id": "f158f702-b429-4b6e-b6ff-5165b9b1a538", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -13240,7 +13240,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13251,7 +13251,7 @@ } }, { - "id": "8cd2d6e9-0b10-48f7-aa99-e0f7e11ad5f6", + "id": "96f67d6b-b7f1-4c58-a5df-8e3fb5ceb89b", "name": "Distance Matrix", "request": { "name": "Distance Matrix", @@ -13356,7 +13356,7 @@ }, "response": [ { - "id": "68cbe2af-aefd-4fbd-a728-16c9c4bbe85a", + "id": "20b7d2ec-c5e4-4337-b036-739fe84351aa", "name": "OK", "originalRequest": { "url": { @@ -13447,7 +13447,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6ba28563-9dc3-4cb2-8e33-931444bab86d", + "id": "54949c3c-6b5d-4413-8c89-0590e8c65447", "name": "Bad Request", "originalRequest": { "url": { @@ -13538,7 +13538,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7e6015a3-46c9-4225-8c75-4e98c007469e", + "id": "5837d863-0019-4881-b2b0-e14679359651", "name": "Unauthorized", "originalRequest": { "url": { @@ -13629,7 +13629,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bdf9665e-b1c0-47dd-be47-e7f2b090dcef", + "id": "9e96f66f-2cc5-4875-a24e-f2a8610a3223", "name": "Payment Required", "originalRequest": { "url": { @@ -13720,7 +13720,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9762af49-3893-4e21-8197-182c8d502819", + "id": "8be44648-e351-4900-8f69-3d2a018c64e8", "name": "Forbidden", "originalRequest": { "url": { @@ -13811,7 +13811,7 @@ "_postman_previewlanguage": "json" }, { - "id": "fa2b9e08-475c-42f1-a5f8-45d3f3533858", + "id": "6bf7c698-de7f-4b3f-a38c-e1294c2d1c45", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -13897,7 +13897,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -13908,7 +13908,7 @@ } }, { - "id": "295e6f7d-ed4f-4bf9-9a9b-d33664a048d2", + "id": "291d4a7f-8349-4504-b880-2e44ac79f6b8", "name": "Directions", "request": { "name": "Directions", @@ -14040,7 +14040,7 @@ }, "response": [ { - "id": "dbb333e0-a248-470a-8e2e-f7ad3cb2301e", + "id": "715d529a-8722-4d84-b7d0-592624710787", "name": "OK", "originalRequest": { "url": { @@ -14158,7 +14158,7 @@ "_postman_previewlanguage": "json" }, { - "id": "77fbb3a5-4bd9-4435-8ced-b3b5f2a1f58b", + "id": "db5d363e-3d0c-4ef5-a800-9f415986fb0b", "name": "Bad Request", "originalRequest": { "url": { @@ -14276,7 +14276,7 @@ "_postman_previewlanguage": "json" }, { - "id": "58e1b001-7f69-4b97-9999-6f9b656d981d", + "id": "5a3b5901-1268-4d89-adf6-23d5652a8cfe", "name": "Unauthorized", "originalRequest": { "url": { @@ -14394,7 +14394,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9d9f3702-080b-4cf5-8260-4817ed355ee9", + "id": "c492e914-c6c8-43a7-980f-f17d3e50dc37", "name": "Payment Required", "originalRequest": { "url": { @@ -14512,7 +14512,7 @@ "_postman_previewlanguage": "json" }, { - "id": "75fe1e27-8758-4963-838b-a57ef9c2d30a", + "id": "d533ec84-c856-4139-ad24-f5c09df6ae6a", "name": "Forbidden", "originalRequest": { "url": { @@ -14630,7 +14630,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4656afc2-480c-4a06-a093-faacbd3a3e7d", + "id": "64dd28fd-a6f4-4703-a73e-11fd3c744fe8", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -14743,7 +14743,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -14754,7 +14754,7 @@ } }, { - "id": "907afa5f-ff9a-4513-88cb-2bd81e89174f", + "id": "b10f8ee4-f644-4322-b107-fac7223e9013", "name": "Search Venue Pois By Key", "request": { "name": "Search Venue Pois By Key", @@ -14924,7 +14924,7 @@ }, "response": [ { - "id": "00d29dc3-0d46-400b-a579-3d768085851a", + "id": "24a628d2-8577-46c4-8550-a22a3ba48ddb", "name": "OK", "originalRequest": { "url": { @@ -15080,7 +15080,7 @@ "_postman_previewlanguage": "json" }, { - "id": "01995b91-72b1-446d-b25b-abce30067784", + "id": "df24b2e1-8fab-4f4e-934d-9ae4bed14dff", "name": "Unauthorized", "originalRequest": { "url": { @@ -15236,7 +15236,7 @@ "_postman_previewlanguage": "json" }, { - "id": "296e4999-889e-4aca-b37a-8abe74db271d", + "id": "f0751f05-0c4c-4243-a6ba-387d8f599308", "name": "Payment Required", "originalRequest": { "url": { @@ -15392,7 +15392,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9a493c1e-c27e-4667-b9d8-2cbcf12e169e", + "id": "a7f072ba-9df1-4c6d-8908-7e0ec866366b", "name": "Forbidden", "originalRequest": { "url": { @@ -15548,7 +15548,7 @@ "_postman_previewlanguage": "json" }, { - "id": "920c6b17-7b93-450c-8e7a-545c8e91b32b", + "id": "35127630-48e0-429f-a370-b079eba7e0c2", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -15699,7 +15699,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -15710,7 +15710,7 @@ } }, { - "id": "085f0ded-2c32-4dd9-946e-8551ebce30dc", + "id": "47692928-66f0-40eb-83bc-305d526985c6", "name": "Autocomplete Venue Pois By Key", "request": { "name": "Autocomplete Venue Pois By Key", @@ -15871,7 +15871,7 @@ }, "response": [ { - "id": "3d3bc067-2520-4da0-bd80-e819f1893807", + "id": "997c8f2b-caa7-485b-a74d-8d451c753fed", "name": "OK", "originalRequest": { "url": { @@ -16018,7 +16018,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0d5f8524-c0e9-44cf-8029-bc640554687d", + "id": "f74438e8-e3a8-423d-a869-6f528bb06b1d", "name": "Unauthorized", "originalRequest": { "url": { @@ -16165,7 +16165,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2138d8d6-c20f-4e06-a1d0-07db53c9a93c", + "id": "45fcddb9-4d54-4aaf-8e56-5cdffab53e34", "name": "Payment Required", "originalRequest": { "url": { @@ -16312,7 +16312,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3e00b2c4-bbc2-4d7f-a034-6d5746a18cbb", + "id": "6689fd0b-ee2b-41f7-ab3f-ec6b5a6167ef", "name": "Forbidden", "originalRequest": { "url": { @@ -16459,7 +16459,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0525eb2b-8dc0-40c7-ac1f-063887748427", + "id": "0d9bc620-928e-44b4-92da-9cc4bbab579b", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -16601,7 +16601,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -16612,7 +16612,7 @@ } }, { - "id": "1b3da356-e8e9-4954-8d71-4cfd7a5c04c8", + "id": "ce0bd9fe-35b2-46db-9ebf-c9752bed720d", "name": "Get Feature By Key", "request": { "name": "Get Feature By Key", @@ -16683,7 +16683,7 @@ }, "response": [ { - "id": "86560029-a238-4f3c-8fe9-6c35e3bc7e9a", + "id": "671802f2-3769-4825-8dbf-b27790319746", "name": "OK", "originalRequest": { "url": { @@ -16726,12 +16726,12 @@ "value": "application/json" } ], - "body": "{\n \"properties\": {\n \"aute3\": false,\n \"temporc\": \"dolore\"\n },\n \"geometry\": {\n \"type\": \"\",\n \"coordinates\": \"\",\n \"bbox\": \"\"\n },\n \"id\": \"\",\n \"type\": \"Feature\"\n}", + "body": "{\n \"properties\": {\n \"autecd\": -34964035,\n \"dolore_4\": \"voluptate non aute dolor amet\"\n },\n \"geometry\": {\n \"type\": \"\",\n \"coordinates\": \"\",\n \"bbox\": \"\"\n },\n \"id\": \"\",\n \"type\": \"Feature\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "aa528909-bb79-4e19-9fa5-f7ea46499eb4", + "id": "0ccbd54d-0d0c-4755-8d9d-cfefd47c82bb", "name": "Unauthorized", "originalRequest": { "url": { @@ -16779,7 +16779,7 @@ "_postman_previewlanguage": "json" }, { - "id": "05eb213a-22f3-4891-908e-3f0f1fc28217", + "id": "2a95fdac-37da-4699-bd42-91b5710ad384", "name": "Payment Required", "originalRequest": { "url": { @@ -16827,7 +16827,7 @@ "_postman_previewlanguage": "json" }, { - "id": "aaa8e356-afd0-4a37-8f62-e4e66a389b54", + "id": "42c5fa75-b7b6-45fa-8ca4-459548adc55a", "name": "Forbidden", "originalRequest": { "url": { @@ -16875,7 +16875,7 @@ "_postman_previewlanguage": "json" }, { - "id": "53e38bee-9451-4b12-b3b8-85efd7813ab7", + "id": "8810d90f-be76-4e1d-819d-7a352745da29", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -16918,7 +16918,7 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -16929,7 +16929,7 @@ } }, { - "id": "43daf54b-0330-47c4-a78d-82ceb3612afd", + "id": "8df3ed07-5581-48e1-b3e7-14a407216b64", "name": "Tiles By Key", "request": { "name": "Tiles By Key", @@ -17031,7 +17031,7 @@ }, "response": [ { - "id": "db7102e1-c201-439c-a23f-115dba7c6cc0", + "id": "2e84e808-c85a-467b-917b-9275ab435007", "name": "OK", "originalRequest": { "url": { @@ -17099,7 +17099,7 @@ "_postman_previewlanguage": "json" }, { - "id": "79f139e0-e087-40c6-b31e-98dff7136930", + "id": "fb540313-6f02-4d84-91d9-90be5e28c5eb", "name": "Unauthorized", "originalRequest": { "url": { @@ -17167,7 +17167,7 @@ "_postman_previewlanguage": "json" }, { - "id": "82bc9107-38d9-4628-b14e-3eb9c90aca88", + "id": "826ba2a4-aefa-4be2-b55e-751f478eac0a", "name": "Payment Required", "originalRequest": { "url": { @@ -17235,7 +17235,7 @@ "_postman_previewlanguage": "json" }, { - "id": "808f97dd-7061-474d-8af1-bbafc75867ac", + "id": "793cfdf9-7019-477d-b571-456db08f95f5", "name": "Forbidden", "originalRequest": { "url": { @@ -17303,7 +17303,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7e45b471-151b-4fc4-ad51-3300c793ccc8", + "id": "9497037e-b594-48e1-815a-27dccb2f4a67", "name": "Unprocessable Entity", "originalRequest": { "url": { @@ -17366,7 +17366,1144 @@ "value": "application/json" } ], - "body": "{\n \"detail\": [\n {\n \"dolore_8\": 72824640.57873258,\n \"proident_c\": -73946277.6092588,\n \"in_d34\": -78473381.61993429\n },\n {\n \"id666\": false,\n \"eu__2\": true,\n \"aliqua_e7f\": 5762202.274678037\n }\n ],\n \"context\": {\n \"in80\": 98263387,\n \"utf1\": -76076615\n }\n}", + "body": "{\n \"detail\": [\n {\n \"occaecat5f0\": true,\n \"temporbd9\": -46031440.007471725,\n \"eae\": -39850226.112924814,\n \"ullamco_675\": 4547313\n },\n {\n \"Lorem_f1\": -79586120,\n \"eiusmoda\": \"repr\",\n \"irure_fe_\": 69093630,\n \"in_3e\": 69959778\n }\n ],\n \"context\": {\n \"veniam_c4\": true,\n \"cupidatat_e\": \"nisi Ut culpa pariatur\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ] + }, + { + "name": "Distance Async API", + "description": "The Woosmap Distance Async API suite provides tools for large or difficult distance calculations.\n\n* **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations.\n\nRequests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management.\n", + "item": [ + { + "id": "3f9db410-6ab8-4027-8667-47d70113c03a", + "name": "Start Matrix Calculation", + "request": { + "name": "Start Matrix Calculation", + "description": { + "content": "Start an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`", + "type": "text/plain" + }, + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "d4293383-3db8-4b6b-b606-0c587f4b3a12", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"matrix_id\": \"\",\n \"status\": \"inProgress\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "6944bd94-4963-4ad5-8ac4-75e4a5811434", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "3b7ec7a1-ce99-4e36-b55f-6bf16145caa0", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "a224ae81-69c6-4716-b173-9b9fffe41923", + "name": "Credentials found, but not matching.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "9eea1640-9d4f-46de-b042-958265176ab9", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "5cc6c9dc-fa64-457f-b2be-edbb1861d38d", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + "" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"origins\": \"\",\n \"destinations\": \"\",\n \"mode\": \"driving\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"details\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "624f1447-3bc5-45fa-bb1f-877f17e440d6", + "name": "Check Matrix Calculation Status", + "request": { + "name": "Check Matrix Calculation Status", + "description": { + "content": "Check on the progress of an asynchronous matrix calculation.\n\n**Rate limit**: `20/1s`", + "type": "text/plain" + }, + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "type": "any", + "value": "", + "key": "matrix_id", + "disabled": false, + "description": { + "content": "(Required) The ID of the matrix you want to check the status of.", + "type": "text/plain" + } + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "78975405-0ae0-4c88-a99e-696a2d3e4d80", + "name": "Successful Response", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"status\": \"completed\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "4b340c1f-756e-4a25-b2b8-edc40a2cfce4", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "cd7da039-208b-424f-87f2-bb30f3791eca", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "1bbb7af0-2bbe-47dc-950a-06b70a894492", + "name": "Credentials found, but not matching.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "692a674b-a5ae-499b-a318-9f34d4bc570e", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "601fe737-67bb-446e-922d-02e737ffd8bf", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id", + "status" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"details\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ed1882f1-1a10-4727-ada2-845eda85ad16", + "name": "Get Matrix Calculation Result", + "request": { + "name": "Get Matrix Calculation Result", + "description": { + "content": "Get the results of an asynchronous matrix calculation.\n\nYou should confirm using the `/matrix/{matrix_id}/status` endpoint that the calculation is `completed` before calling this endpoint.\n\n**Rate limit**: `20/1s`", + "type": "text/plain" + }, + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "type": "any", + "value": "", + "key": "matrix_id", + "disabled": false, + "description": { + "content": "(Required) The ID of the matrix you want to get the result of", + "type": "text/plain" + } + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {}, + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "key", + "value": "key" + }, + { + "key": "value", + "value": "{{apiKey}}" + }, + { + "key": "in", + "value": "query" + } + ] + } + }, + "response": [ + { + "id": "9e07f2b9-a089-4049-a7b4-8dae808dcd30", + "name": "Redirect to the result of the matrix calculation.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "See Other", + "code": 303, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "594ec90d-5082-4522-81e7-ab49cd9400a7", + "name": "Unable to locate credentials.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "97368228-2ff6-428d-b7dc-cb4e7f470789", + "name": "Out of free quota.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Payment Required", + "code": 402, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "1c907d1b-9ab0-4697-af82-8b8725a4cec3", + "name": "Credentials found, but not matching.", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "0edf3d24-0312-416a-9fb2-16bfca99f6ef", + "name": "Validation Error", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "767ed9ea-4091-4441-83c9-9bc24ab220bc", + "name": "Rate limit reached", + "originalRequest": { + "url": { + "path": [ + "distance", + "matrix", + "async", + ":matrix_id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "key", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"details\": \"\"\n}", "cookie": [], "_postman_previewlanguage": "json" } @@ -17380,10 +18517,10 @@ }, { "name": "Transit API", - "description": "The Transit API delivers comprehensive public transportation routing information by calculating optimal travel paths between \norigins and destinations. It provides detailed route data including distance, duration, polyline visualization, \nand complete step-by-step transit instructions with transfer points and transportation modes. The API is ideal for \napplications requiring accurate public transit navigation and trip planning capabilities.\n", + "description": "The Transit API delivers comprehensive public transportation routing information by calculating optimal travel paths between\norigins and destinations. It provides detailed route data including distance, duration, polyline visualization,\nand complete step-by-step transit instructions with transfer points and transportation modes. The API is ideal for\napplications requiring accurate public transit navigation and trip planning capabilities.\n", "item": [ { - "id": "abc5aa51-dd7b-498d-a5f2-9c5337a9ff29", + "id": "b7e19e70-2099-4acd-be89-4cd40943657b", "name": "Transit Route", "request": { "name": "Transit Route", @@ -17476,7 +18613,7 @@ }, "response": [ { - "id": "e2a87dc4-69b7-4122-a628-e19fa8e8794c", + "id": "97bff066-b931-4580-b667-c19d61782e96", "name": "Successful Response", "originalRequest": { "url": { @@ -17566,7 +18703,7 @@ "_postman_previewlanguage": "json" }, { - "id": "820592cb-ad3a-4788-8dcd-e2a9cae8452e", + "id": "8c0c0429-ca4c-4109-8b1c-5a593f0ebfd5", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -17656,7 +18793,7 @@ "_postman_previewlanguage": "json" }, { - "id": "708977b5-82fe-460d-981f-384db40a3f43", + "id": "3db3cb3c-376e-4da7-81b3-d6fac19bdaac", "name": "Out of free quota.", "originalRequest": { "url": { @@ -17746,7 +18883,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4f217c50-be9f-403d-9c44-d685af122d96", + "id": "dae0878c-03b9-4038-a9ba-20dc5021de2e", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -17836,7 +18973,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6382f9c3-123b-44cb-a8a4-7214965c9983", + "id": "554f2312-e17c-468c-bb23-62e65a9d4c45", "name": "Validation Error", "originalRequest": { "url": { @@ -17926,7 +19063,7 @@ "_postman_previewlanguage": "json" }, { - "id": "eb7c18e8-789e-4743-abd4-409bbc1c88a1", + "id": "662afe58-aa29-4916-97cd-c524f440d6db", "name": "Rate limit reached", "originalRequest": { "url": { @@ -18025,10 +19162,10 @@ }, { "name": "Datasets API", - "description": "Manage the full lifecycle of your geospatial data alongside powerful analysis and retrieval.\n\n* **Management:** Programmatically create datasets, import features in bulk (CSV/GeoJSON), and handle updates or deletions.\n* **Search:** Execute **Nearby**, **Contains**, **Intersects**, and **Within** queries using SQL-like `WHERE` filters.\n* **Features:** Direct access to individual geographic features by unique ID with field masking. \n\nIdeal for applications that require precise location analysis, spatial queries and geographic data management.\n", + "description": "Manage the full lifecycle of your geospatial data alongside powerful analysis and retrieval.\n\n* **Management:** Programmatically create datasets, import features in bulk (CSV/GeoJSON), and handle updates or deletions.\n* **Search:** Execute **Nearby**, **Contains**, **Intersects**, and **Within** queries using SQL-like `WHERE` filters.\n* **Features:** Direct access to individual geographic features by unique ID with field masking.\n\nIdeal for applications that require precise location analysis, spatial queries and geographic data management.\n", "item": [ { - "id": "45d5ac6d-9469-487a-ad57-2bf983e1e227", + "id": "9e46a8f1-3684-4014-85fe-78a9e2ba274c", "name": "Get Dataset", "request": { "name": "Get Dataset", @@ -18086,7 +19223,7 @@ }, "response": [ { - "id": "e6625784-b666-4447-9386-8d7adaf570c2", + "id": "bc182b05-6b9d-425b-9ae3-30cea4f568c7", "name": "Successful Response", "originalRequest": { "url": { @@ -18131,7 +19268,7 @@ "_postman_previewlanguage": "json" }, { - "id": "033ffd7d-406a-4ea8-8683-9a83acab8909", + "id": "312e8a84-892f-42f3-9aa1-86f992d0ecc3", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -18176,7 +19313,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c327e654-fb3f-4e8c-84f5-6e9aeaa83eab", + "id": "e9ba4b65-f227-4984-8b2b-80b38274edd7", "name": "Out of free quota.", "originalRequest": { "url": { @@ -18221,7 +19358,7 @@ "_postman_previewlanguage": "json" }, { - "id": "27ee82b4-b62f-4c8d-b1a0-d16a8aa8c320", + "id": "9f81b797-1907-428e-8112-415db545c50b", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -18266,7 +19403,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bd98cd8b-4601-4ac0-815b-4da3b681d955", + "id": "07425d84-526d-4762-a4af-2a497debb997", "name": "Dataset was not found", "originalRequest": { "url": { @@ -18311,7 +19448,7 @@ "_postman_previewlanguage": "json" }, { - "id": "868754ad-b0b1-42d4-9c67-ce6f97ea35fc", + "id": "b2391229-7395-4974-8aba-c82a591868d7", "name": "Validation Error", "originalRequest": { "url": { @@ -18356,7 +19493,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7801c0fa-eb76-4442-a801-8fc6a625282a", + "id": "27f66d1a-074c-473a-a737-11885f616833", "name": "Rate limit reached", "originalRequest": { "url": { @@ -18407,7 +19544,7 @@ } }, { - "id": "5f9fccf3-80e5-40a1-97ee-ff3eee392c87", + "id": "b8896fc7-7f7f-4686-81e4-431519099161", "name": "Delete Dataset", "request": { "name": "Delete Dataset", @@ -18465,7 +19602,7 @@ }, "response": [ { - "id": "2a410c8f-f3c4-4da4-8b87-604b2814b9f0", + "id": "19218fa7-64b4-46d9-bc8b-d4b7e992375a", "name": "Successful Response", "originalRequest": { "url": { @@ -18505,12 +19642,12 @@ "value": "application/json" } ], - "body": "{\n \"mollit_4\": \"esse nisi enim\",\n \"et_ebf\": false,\n \"adipisicing_e\": -15211856\n}", + "body": "{\n \"minim_c\": -85173305.01520321\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "02d4a307-1e46-4bc2-b439-f51f28ae5841", + "id": "3356eb6e-2b21-4d49-989b-c5fdedae558e", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -18555,7 +19692,7 @@ "_postman_previewlanguage": "json" }, { - "id": "43bd2db8-5f8f-4c67-b289-25713057b13d", + "id": "08433d99-27bb-4984-a02e-c81cd7db9af5", "name": "Out of free quota.", "originalRequest": { "url": { @@ -18600,7 +19737,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6d3f6dbb-94ab-48c2-a4b3-7cbaeeaec615", + "id": "1606da39-57e2-4966-9767-8865d6f0484a", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -18645,7 +19782,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f75cbfa5-b37a-4a39-a5dd-712c3e7cc937", + "id": "0cde9227-7d13-47e0-93e2-1e4eeb770d70", "name": "Dataset was not found", "originalRequest": { "url": { @@ -18690,7 +19827,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9eacd6dd-4f7e-4ca2-a7ce-a6636431de63", + "id": "0e2bc884-3d07-4937-be27-2099e8202b8c", "name": "The Dataset was already scheduled for deletion.", "originalRequest": { "url": { @@ -18735,7 +19872,7 @@ "_postman_previewlanguage": "json" }, { - "id": "307be12d-7c47-4102-88ed-569e4c7aebab", + "id": "5a1e4eea-13f7-4372-abcb-2ced98d57465", "name": "Validation Error", "originalRequest": { "url": { @@ -18780,7 +19917,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0dc0f936-f153-47da-88bc-f5f09e633537", + "id": "73201efd-3882-4334-9552-99d31cbc61a3", "name": "Rate limit reached", "originalRequest": { "url": { @@ -18831,7 +19968,7 @@ } }, { - "id": "33fc3336-7d27-4cee-bda0-4212d7f2dcfb", + "id": "b9b6e37c-f03c-4e67-91fa-499ba39dfc2c", "name": "Update Dataset", "request": { "name": "Update Dataset", @@ -18902,7 +20039,7 @@ }, "response": [ { - "id": "06789657-3d64-4012-afd5-1690dcec13a5", + "id": "332037f8-e08f-4aea-ab40-36192e203352", "name": "Successful Response", "originalRequest": { "url": { @@ -18960,7 +20097,7 @@ "_postman_previewlanguage": "json" }, { - "id": "18b4bcb1-355d-49d8-84ce-10a06e002702", + "id": "eba9f688-98a3-4edb-9203-bedf889f6eeb", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -19018,7 +20155,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d91f874e-1d63-46b8-9d73-b04fe0b41b8f", + "id": "c41c9de7-cdc8-4b29-91c4-c78007f58379", "name": "Out of free quota.", "originalRequest": { "url": { @@ -19076,7 +20213,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0d9d2c38-ffb7-48b0-9eb6-d68de80805db", + "id": "1c7734f6-a127-4928-9e63-001b7de64f15", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -19134,7 +20271,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7754c22d-5f01-4577-b4db-6609641ce082", + "id": "e1a26820-ecfc-4a28-a11d-d05badddf388", "name": "Dataset was not found", "originalRequest": { "url": { @@ -19192,7 +20329,7 @@ "_postman_previewlanguage": "json" }, { - "id": "98c4329d-d300-4045-8b44-fd64e2d4e8d7", + "id": "06fd43e6-a91b-4a34-8f59-5d1e4d8c151f", "name": "Validation Error", "originalRequest": { "url": { @@ -19250,7 +20387,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4e2eae86-a19d-4257-990a-e7c535d59441", + "id": "7b036636-5ed6-4ea7-b258-dba65f4b3ba9", "name": "Rate limit reached", "originalRequest": { "url": { @@ -19314,7 +20451,7 @@ } }, { - "id": "d2ff111d-8688-4814-9479-62d4d8a4aba7", + "id": "bc71ee7f-b342-44d7-afbf-a925a737f496", "name": "List Datasets", "request": { "name": "List Datasets", @@ -19380,7 +20517,7 @@ }, "response": [ { - "id": "6378c7b4-71c7-4e91-927d-a5ca47f1f441", + "id": "2602f799-6e2a-4137-b455-8163faf315eb", "name": "Successful Response", "originalRequest": { "url": { @@ -19443,7 +20580,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a5832151-2601-463a-bcf8-a686834139fc", + "id": "2ac87d12-4f1a-4ede-9764-0a4b24a6276e", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -19506,7 +20643,7 @@ "_postman_previewlanguage": "json" }, { - "id": "34c059e8-0d27-4b57-89c5-027cdb101fbe", + "id": "4dfb727d-8ae5-41ef-b32e-c203884bd627", "name": "Out of free quota.", "originalRequest": { "url": { @@ -19569,7 +20706,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4fe3e92d-3298-4d55-969f-97ce20f48131", + "id": "70998faf-bd64-45f0-96be-f11f6c7e7c2c", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -19632,7 +20769,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2eaed416-adbb-4a84-98e1-6e6685d6537f", + "id": "6971aa33-795f-41eb-bcdd-acab76abcd7d", "name": "Validation Error", "originalRequest": { "url": { @@ -19695,7 +20832,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7f2f96e6-e1b8-41bf-b671-b0408bd454c2", + "id": "5fee5615-e50b-43e9-917f-06a1ca3694f2", "name": "Rate limit reached", "originalRequest": { "url": { @@ -19764,7 +20901,7 @@ } }, { - "id": "7276e97d-3c60-4023-8056-94436231b396", + "id": "ee1028e8-3e26-42eb-a6e6-bb74845b3022", "name": "Create Dataset", "request": { "name": "Create Dataset", @@ -19824,7 +20961,7 @@ }, "response": [ { - "id": "9d758ba1-440d-4364-b901-f7a5cb000acc", + "id": "e0e34f0e-e167-420b-8956-122ba34c712f", "name": "Successful Response", "originalRequest": { "url": { @@ -19882,7 +21019,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7d931ede-a555-4a13-8e24-d2c9ae5a5f7e", + "id": "1a632090-8c57-4dde-9dae-2b53cff8ea0a", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -19940,7 +21077,7 @@ "_postman_previewlanguage": "json" }, { - "id": "31765b26-c62a-447c-9820-e6af96a874b7", + "id": "2193908f-d473-40d6-8116-876fcaaf9578", "name": "Out of free quota.", "originalRequest": { "url": { @@ -19998,7 +21135,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ff229f97-87b2-49ed-a7ef-1de029297106", + "id": "2d785173-d8bf-4d5b-a770-b84975efe1ab", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -20056,7 +21193,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ec2d583d-2d9d-4b9e-87af-8bf4c24df2d2", + "id": "f35e65b0-2cdc-48e6-9fe4-8708628af521", "name": "Validation Error", "originalRequest": { "url": { @@ -20114,7 +21251,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f46e38f8-16a9-466b-8123-d9f39a13b1c0", + "id": "dc38695f-7c6a-4319-9fe9-ba07fcda108e", "name": "Rate limit reached", "originalRequest": { "url": { @@ -20178,7 +21315,7 @@ } }, { - "id": "8a3a1aa1-aeb2-4161-af3b-01318e5bbd9a", + "id": "b5a329ef-a855-4f60-9c36-ab471124309e", "name": "Get Dataset Status", "request": { "name": "Get Dataset Status", @@ -20237,7 +21374,7 @@ }, "response": [ { - "id": "ced7859c-2080-4066-be09-19ba565b485a", + "id": "b3d94ef9-dcb6-4f9f-ba1f-8b0ad01bae16", "name": "Successful Response", "originalRequest": { "url": { @@ -20278,12 +21415,12 @@ "value": "application/json" } ], - "body": "{\n \"id\": \"\",\n \"steps\": [\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"error\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"warning\"\n }\n ],\n \"status\": \"failed\"\n },\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"warning\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"error\"\n }\n ],\n \"status\": \"failed\"\n }\n ],\n \"status\": \"in_progress\"\n}", + "body": "{\n \"id\": \"\",\n \"steps\": [\n {\n \"name\": \"import\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"info\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"info\"\n }\n ],\n \"status\": \"failed\"\n },\n {\n \"name\": \"fetch\",\n \"start\": \"\",\n \"end\": \"\",\n \"entries\": [\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"error\"\n },\n {\n \"created_at\": \"\",\n \"detail\": \"\",\n \"level\": \"info\"\n }\n ],\n \"status\": \"failed\"\n }\n ],\n \"status\": \"in_progress\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "e3197bbf-23ff-4cc8-9323-6df9b6709d52", + "id": "611fc086-50f3-4d6e-9c99-ed72c5519554", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -20329,7 +21466,7 @@ "_postman_previewlanguage": "json" }, { - "id": "705830a9-a676-4553-a693-cb6d391e90bb", + "id": "c1d794c4-e828-44c3-b585-01eb96f8a614", "name": "Out of free quota.", "originalRequest": { "url": { @@ -20375,7 +21512,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e0b885b6-d6e6-45b5-8fda-32a2225fdd58", + "id": "56c1c551-010c-4b6c-879f-10520890ab46", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -20421,7 +21558,7 @@ "_postman_previewlanguage": "json" }, { - "id": "27e67416-7483-430e-b49b-103a083dda98", + "id": "1275d2d8-90e0-4315-9bd5-1ecd84f21d8d", "name": "Dataset was not found", "originalRequest": { "url": { @@ -20467,7 +21604,7 @@ "_postman_previewlanguage": "json" }, { - "id": "efd76af4-f3bf-4d4f-aa83-0277bb01b316", + "id": "e76d3053-2936-417d-b285-970125350764", "name": "Validation Error", "originalRequest": { "url": { @@ -20513,7 +21650,7 @@ "_postman_previewlanguage": "json" }, { - "id": "6ae1155c-f0cf-4041-9b6b-000e2953e3e6", + "id": "cfcb03f6-1fe9-4987-9150-18d773ee099d", "name": "Rate limit reached", "originalRequest": { "url": { @@ -20565,7 +21702,7 @@ } }, { - "id": "74f501f1-e824-41fb-a587-a7f8b0f82ffc", + "id": "bb29ac07-a392-4a5b-b5a9-1c4fc84aa6a0", "name": "Trigger Import", "request": { "name": "Trigger Import", @@ -20624,7 +21761,7 @@ }, "response": [ { - "id": "185b369c-a675-49d8-8850-c4dd629d5888", + "id": "9a9e0a19-58f9-4d5a-81b7-6fe03cbf48c9", "name": "Successful Response", "originalRequest": { "url": { @@ -20670,7 +21807,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f9b51e93-7ec9-4868-b289-73294bba6134", + "id": "d4df270f-0bad-4a45-95c8-42e98f9d12d2", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -20716,7 +21853,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7e9148dc-ac22-455d-80a4-af03dfe20206", + "id": "fa0f6ba1-b4f2-43c8-84ce-78b32daee1ef", "name": "Out of free quota.", "originalRequest": { "url": { @@ -20762,7 +21899,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d602a225-3fad-4a96-ac0e-012f579fab1c", + "id": "6d26132b-ca47-4bb8-9666-0c0562057b5c", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -20808,7 +21945,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c9850d3a-0a45-40af-a7fb-a49290ea0913", + "id": "880dab17-b711-43fe-93b4-c39a82962bdc", "name": "Dataset was not found", "originalRequest": { "url": { @@ -20854,7 +21991,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9e66a252-2510-4375-9ba5-6d0b925c960b", + "id": "174290d1-f3c7-40f2-9e21-dad21ea7f995", "name": "Validation Error", "originalRequest": { "url": { @@ -20900,7 +22037,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c4fe7303-f3e6-4db2-bb1c-28b41baa9be9", + "id": "33664827-7023-410b-9696-1dcf04f3b961", "name": "Rate limit reached", "originalRequest": { "url": { @@ -20952,7 +22089,7 @@ } }, { - "id": "8f75aa0b-d73c-4ff8-b941-779c56eadfec", + "id": "e10138b4-0ecc-4b21-b1e9-89e6b52925ff", "name": "Reimport Dataset Webhook", "request": { "name": "Reimport Dataset Webhook", @@ -20996,7 +22133,7 @@ }, "response": [ { - "id": "39905c35-35ee-411d-91f9-9f2e88ede81d", + "id": "01f7e8f9-daa8-4249-b196-e6b626dc7ccf", "name": "Successful Response", "originalRequest": { "url": { @@ -21034,7 +22171,7 @@ "_postman_previewlanguage": "json" }, { - "id": "28a8a492-d681-44f0-8041-f2aa576b54c7", + "id": "a12d78ed-8cc8-4f90-ada2-0bf6430017ee", "name": "Unauthorized", "originalRequest": { "url": { @@ -21060,7 +22197,7 @@ "_postman_previewlanguage": "text" }, { - "id": "7258a19c-2c74-45a7-92a5-e2d990d62313", + "id": "e728fae2-cb27-4098-b79f-0ab387107434", "name": "Payment Required", "originalRequest": { "url": { @@ -21086,7 +22223,7 @@ "_postman_previewlanguage": "text" }, { - "id": "aaefb329-eff0-4e5a-bb22-83e84f8f9471", + "id": "4e55a00d-dc37-40bb-a4db-aea0a9b2d3b7", "name": "Forbidden", "originalRequest": { "url": { @@ -21112,7 +22249,7 @@ "_postman_previewlanguage": "text" }, { - "id": "23886276-b668-441f-9e47-9e42576f517d", + "id": "aff213ed-57d0-45b5-a890-df07cfafd7b8", "name": "Dataset was not found", "originalRequest": { "url": { @@ -21150,7 +22287,7 @@ "_postman_previewlanguage": "json" }, { - "id": "22bdcf34-b279-4462-a01f-4417c5ad6e03", + "id": "1ec89b62-f23d-4fdd-be2a-5f34c7a146f2", "name": "Validation Error", "originalRequest": { "url": { @@ -21188,7 +22325,7 @@ "_postman_previewlanguage": "json" }, { - "id": "93353c87-a11e-4174-8e6b-3ade7556eae8", + "id": "511c6d86-d297-4e83-906d-12fd8c98f9ce", "name": "Rate limit reached", "originalRequest": { "url": { @@ -21232,7 +22369,7 @@ } }, { - "id": "e5be2895-3270-4782-9587-106cae73d707", + "id": "578982e2-77b3-4609-8ddb-ca7c3ca78192", "name": "Search Features", "request": { "name": "Search Features", @@ -21334,7 +22471,7 @@ }, "response": [ { - "id": "6a01823b-9b57-4a9b-90bf-a17aa7b722dc", + "id": "43699966-996b-45af-8481-854a37a37270", "name": "Successful Response", "originalRequest": { "url": { @@ -21417,12 +22554,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"nond4\": false,\n \"labore0c5\": \"in amet ex tempor elit\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"tempor_b\": \"consequat in nisi\",\n \"nisi___1\": -17270085\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "ac3c1c2d-6fcd-47e7-adad-907a627f6c5e", + "id": "0fb4fbd5-7014-4562-bc1f-fbb61831a205", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -21510,7 +22647,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3713bc23-7f9e-4819-85e0-0027e4c5dd8e", + "id": "c8e57425-b382-4f57-928d-b034d9ea41e2", "name": "Out of free quota.", "originalRequest": { "url": { @@ -21598,7 +22735,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bbf1c8ec-4b23-4f37-9d8e-3cb3efdb0241", + "id": "0b2d5466-9a94-4750-ad37-099a187b51cd", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -21686,7 +22823,7 @@ "_postman_previewlanguage": "json" }, { - "id": "02aec00d-fc56-454e-8442-4f3c43141ee6", + "id": "490c1cec-704b-40e5-9726-253a7d9e4732", "name": "Dataset was not found", "originalRequest": { "url": { @@ -21774,7 +22911,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5dcc7092-db63-4aa3-8542-d33792820fe5", + "id": "5c181de4-2f95-4c59-b2d3-8185745ed0ae", "name": "Validation Error", "originalRequest": { "url": { @@ -21862,7 +22999,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0766261a-59b4-40dc-8138-a798a2e02000", + "id": "ccd14fdf-0cb8-42d1-a432-4118c5a333e2", "name": "Rate limit reached", "originalRequest": { "url": { @@ -21956,7 +23093,7 @@ } }, { - "id": "49cd8bdf-d2bf-4205-8936-f00184549c5e", + "id": "4d789d5d-d1b4-44a1-bea9-0f85f80a5241", "name": "Nearby Features", "request": { "name": "Nearby Features", @@ -22058,7 +23195,7 @@ }, "response": [ { - "id": "5b4b40e1-3cd8-4adc-8841-e8c887959821", + "id": "7069b84f-d483-4747-8d6f-979feb10c502", "name": "Successful Response", "originalRequest": { "url": { @@ -22141,12 +23278,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"nond4\": false,\n \"labore0c5\": \"in amet ex tempor elit\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"tempor_b\": \"consequat in nisi\",\n \"nisi___1\": -17270085\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "c3e4a1fb-ace1-49db-ad49-eb25128b4293", + "id": "6da5bd55-b603-4274-a169-a77176d44733", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -22234,7 +23371,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4b9bcc21-5fba-4479-a007-f8828a04887d", + "id": "3ac51f69-0c93-4492-b1f3-7504a91d12b2", "name": "Out of free quota.", "originalRequest": { "url": { @@ -22322,7 +23459,7 @@ "_postman_previewlanguage": "json" }, { - "id": "53c74259-dbbc-4b62-a74f-7df74d968983", + "id": "07609a2b-5da0-44b8-a6d6-1d2498c95404", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -22410,7 +23547,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e66c22d1-b480-40bd-a16a-78bf5ba230fc", + "id": "8fd56b4f-fe75-4ac6-9894-b23a15d8102a", "name": "Dataset was not found", "originalRequest": { "url": { @@ -22498,7 +23635,7 @@ "_postman_previewlanguage": "json" }, { - "id": "0e9a77d4-5623-4213-9669-4a97c927f2e8", + "id": "fdec6668-cb9a-4132-8fa2-137765b2f2ce", "name": "Validation Error", "originalRequest": { "url": { @@ -22586,7 +23723,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e7967b54-d531-4a0a-a77f-221490f438e9", + "id": "fd663463-cf52-4e67-8755-c4c5bb3d7542", "name": "Rate limit reached", "originalRequest": { "url": { @@ -22680,7 +23817,7 @@ } }, { - "id": "b325065d-e27f-4e4e-aeb3-286253882d4a", + "id": "0946dc58-2f3b-4301-953d-647921aa666f", "name": "Intersect Features", "request": { "name": "Intersect Features", @@ -22782,7 +23919,7 @@ }, "response": [ { - "id": "91a17fca-31b2-4c60-9ea0-13e3fbcaf195", + "id": "24fb60cb-1ef6-4c76-ae96-050dd9a84706", "name": "Successful Response", "originalRequest": { "url": { @@ -22865,12 +24002,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"nond4\": false,\n \"labore0c5\": \"in amet ex tempor elit\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"tempor_b\": \"consequat in nisi\",\n \"nisi___1\": -17270085\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "d542e902-4d5d-4095-872f-9f964b0ec745", + "id": "62532d0e-5460-4cf5-a072-711d9071e627", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -22958,7 +24095,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b5667398-b4d8-469d-a000-631386a8f3d9", + "id": "a82241ef-c32a-4b46-8992-35dfd7e146e9", "name": "Out of free quota.", "originalRequest": { "url": { @@ -23046,7 +24183,7 @@ "_postman_previewlanguage": "json" }, { - "id": "a70f9ff3-7c2c-4328-a128-dfcfc1e68567", + "id": "018dfdae-dde3-4d96-82ef-73f06f47c9ce", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -23134,7 +24271,7 @@ "_postman_previewlanguage": "json" }, { - "id": "23589f0e-533a-458f-b026-6a75502c0ca9", + "id": "1d1c77ee-cd4a-4b2f-9c1b-2fa9595147cc", "name": "Dataset was not found", "originalRequest": { "url": { @@ -23222,7 +24359,7 @@ "_postman_previewlanguage": "json" }, { - "id": "4a9a5c94-dfe5-4d5a-8297-66766f960cd8", + "id": "d395be3c-3e12-4727-90d6-9b8b028cce9d", "name": "Validation Error", "originalRequest": { "url": { @@ -23310,7 +24447,7 @@ "_postman_previewlanguage": "json" }, { - "id": "426143d2-753a-4b69-94f1-7c2226d4bd44", + "id": "5404c629-7117-4471-8890-ca55dc797a2e", "name": "Rate limit reached", "originalRequest": { "url": { @@ -23404,7 +24541,7 @@ } }, { - "id": "4d4c5f83-6c0c-48ee-bb80-faf7c4e48f73", + "id": "7d77d683-62b9-40d4-8abe-5df8b8aa165e", "name": "Contains Features", "request": { "name": "Contains Features", @@ -23506,7 +24643,7 @@ }, "response": [ { - "id": "a9e49ea5-ed93-4d10-ad36-27524b453120", + "id": "f1b4b950-11e4-48a2-905d-ba9864bf7330", "name": "Successful Response", "originalRequest": { "url": { @@ -23589,12 +24726,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"nond4\": false,\n \"labore0c5\": \"in amet ex tempor elit\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"tempor_b\": \"consequat in nisi\",\n \"nisi___1\": -17270085\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7113e843-0518-40e5-9018-8dca181cdabf", + "id": "abf0d4db-100b-4cc6-a809-e545727acc9c", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -23682,7 +24819,7 @@ "_postman_previewlanguage": "json" }, { - "id": "cae93ed8-95d6-4f4f-8aba-396791f25283", + "id": "bd24bde6-8ae4-4786-9592-92435c52a25e", "name": "Out of free quota.", "originalRequest": { "url": { @@ -23770,7 +24907,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7387180a-9662-471e-904d-d2e62c9037ba", + "id": "87892b6a-960b-499f-9163-fb6455dc6a81", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -23858,7 +24995,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d4e2ab58-37d2-483a-aea4-9e70a64acba7", + "id": "5d2ba4d1-9df8-47cb-9705-25d741250674", "name": "Dataset was not found", "originalRequest": { "url": { @@ -23946,7 +25083,7 @@ "_postman_previewlanguage": "json" }, { - "id": "55e7c1ab-64f6-4f46-8138-51835d69806d", + "id": "cc9bdde0-f148-470b-a65a-e9719afb8cab", "name": "Validation Error", "originalRequest": { "url": { @@ -24034,7 +25171,7 @@ "_postman_previewlanguage": "json" }, { - "id": "9e23881d-25fb-4d69-966c-1c09ac94102a", + "id": "c8bd17aa-0418-4ea0-8cb0-f3c2e3ccd391", "name": "Rate limit reached", "originalRequest": { "url": { @@ -24128,7 +25265,7 @@ } }, { - "id": "5251fb13-2d84-4e7a-8ff0-d4da80bf0865", + "id": "bf5d5b0d-16a4-4f09-b6bf-e84120f99b68", "name": "Within Features", "request": { "name": "Within Features", @@ -24230,7 +25367,7 @@ }, "response": [ { - "id": "452ecb2e-c96a-4df9-a95b-1d3c4a204de4", + "id": "066d13f9-b805-4c16-821f-b00cf3f095d1", "name": "Successful Response", "originalRequest": { "url": { @@ -24313,12 +25450,12 @@ "value": "application/json" } ], - "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"mollit_2a\": \"veniam ut\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"ullamcoe2\": false\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", + "body": "{\n \"features\": [\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"nond4\": false,\n \"labore0c5\": \"in amet ex tempor elit\"\n }\n },\n {\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"tempor_b\": \"consequat in nisi\",\n \"nisi___1\": -17270085\n }\n }\n ],\n \"pagination\": {\n \"page\": \"\",\n \"prev\": \"\",\n \"next\": \"\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "66392107-085f-4c5e-9439-e2e0d7d59fc7", + "id": "2f03546e-0afa-44e5-b29e-bc010040ac2d", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -24406,7 +25543,7 @@ "_postman_previewlanguage": "json" }, { - "id": "72f4e6c3-aaaf-42ad-8c9f-8a711681b0d1", + "id": "24161d22-c68a-42a6-b208-397508d762a0", "name": "Out of free quota.", "originalRequest": { "url": { @@ -24494,7 +25631,7 @@ "_postman_previewlanguage": "json" }, { - "id": "04f39cf1-ea41-42f3-a468-a35c18ef4b14", + "id": "1ef487ac-041b-40e6-9376-12ac96eb7a7b", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -24582,7 +25719,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b9aa60c3-b3f8-4978-b784-d333333dc0c3", + "id": "51149dcd-d5ef-4eb5-b948-a0de3211b5c3", "name": "Dataset was not found", "originalRequest": { "url": { @@ -24670,7 +25807,7 @@ "_postman_previewlanguage": "json" }, { - "id": "799f1a37-4821-4f6d-9352-a1e03f48aa6a", + "id": "7fbd4fe2-c2cd-4ea2-bcbd-8607726bc162", "name": "Validation Error", "originalRequest": { "url": { @@ -24758,7 +25895,7 @@ "_postman_previewlanguage": "json" }, { - "id": "47038256-0dcf-479a-bd6d-d02caf62a48f", + "id": "e3f16c41-69a9-4966-8155-231287a14fe7", "name": "Rate limit reached", "originalRequest": { "url": { @@ -24852,7 +25989,7 @@ } }, { - "id": "d7deda86-eb20-4ab1-aad7-71ff3740165a", + "id": "1bd5d118-fca9-4fc8-9a84-2c24020172d9", "name": "Get Feature", "request": { "name": "Get Feature", @@ -24941,7 +26078,7 @@ }, "response": [ { - "id": "c9dab7c3-e6f6-4648-a48a-ad305696d0dd", + "id": "1504e0ef-c01b-4197-a1a5-1ec6f4574b7b", "name": "Successful Response", "originalRequest": { "url": { @@ -25001,12 +26138,12 @@ "value": "application/json" } ], - "body": "{\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"magnaa\": -18393920.541398674,\n \"et7\": -25173785\n }\n}", + "body": "{\n \"id\": \"\",\n \"geometry\": \"\",\n \"attributes\": {\n \"et_a4\": true,\n \"dolore_f\": -23328781,\n \"quis_49\": 67198160\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "90f3c62a-f8f2-4825-815a-fa50d9bcdc4c", + "id": "973d18bc-4e73-4102-bfe2-2999112ef9ec", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -25071,7 +26208,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f1939248-937d-4124-87ac-79f901aba5fd", + "id": "6288607b-249e-411a-87b4-d1530f0e0845", "name": "Out of free quota.", "originalRequest": { "url": { @@ -25136,7 +26273,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ff34a9bc-64f6-46a4-b8b3-4fbab1ab4019", + "id": "8ed0ae3b-9d46-456d-a06b-9677cd171a9a", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -25201,7 +26338,7 @@ "_postman_previewlanguage": "json" }, { - "id": "74899f23-97f0-4f6f-975c-5183edca7247", + "id": "a2e532db-4818-4283-ba0b-45aaac538e56", "name": "Feature or Dataset were not found", "originalRequest": { "url": { @@ -25266,7 +26403,7 @@ "_postman_previewlanguage": "json" }, { - "id": "76943e39-e9ef-45b1-beef-65454c703f5a", + "id": "236309d2-1397-42be-b6a2-54ff630e26d0", "name": "Validation Error", "originalRequest": { "url": { @@ -25331,7 +26468,7 @@ "_postman_previewlanguage": "json" }, { - "id": "2fba4d28-f290-4a07-8a03-f03aa13a2dfa", + "id": "ac4c7ec8-f160-43ca-a524-154858494873", "name": "Rate limit reached", "originalRequest": { "url": { @@ -25408,7 +26545,7 @@ "description": "The Woosmap Distance API suite provides comprehensive tools for road travel calculations worldwide.\n\n* **Route:** Calculate travel distance, duration, and paths between origin and destination.\n* **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations.\n* **Isochrone:** Determine all locations reachable within a specific time or distance.\n* **Tolls:** Estimate toll costs and details for specific routes.\n\nRequests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management.\n", "item": [ { - "id": "04473a52-557c-4f46-83f6-eb32daabf977", + "id": "989a1c86-de0a-4c38-b78f-8a27b44a7655", "name": "Find Routes", "request": { "name": "Find Routes", @@ -25575,7 +26712,7 @@ }, "response": [ { - "id": "8d19094d-94f3-4a5d-a53f-869dd14abb06", + "id": "ea539026-21c3-4a28-a220-843f187f9653", "name": "Successful Response", "originalRequest": { "url": { @@ -25739,7 +26876,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ed3abc41-ea58-4fde-bcb7-ecbef3159dee", + "id": "9ef8468a-a7f2-4cac-bcc2-0940a4926a04", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -25903,7 +27040,7 @@ "_postman_previewlanguage": "json" }, { - "id": "034c600e-d885-48e4-8105-07a3809834b0", + "id": "657b3ec9-a06a-4a8b-a85a-f99069474f7c", "name": "Out of free quota.", "originalRequest": { "url": { @@ -26067,7 +27204,7 @@ "_postman_previewlanguage": "json" }, { - "id": "87ea057c-053c-4873-9049-37a8322471c5", + "id": "5fc400be-4408-4ac4-9345-35d4e293ce89", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -26231,7 +27368,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8cae955f-b197-4505-906a-51b85bd31e4f", + "id": "26b97b3a-41c6-4d24-a7c2-44ff5c3f019b", "name": "Validation Error", "originalRequest": { "url": { @@ -26395,7 +27532,7 @@ "_postman_previewlanguage": "json" }, { - "id": "45ebe4ed-12c4-4ab2-a8f2-1332294c57ab", + "id": "27a8a226-525f-4e77-9aa3-4d888d5b67e9", "name": "Rate limit reached", "originalRequest": { "url": { @@ -26565,7 +27702,7 @@ } }, { - "id": "58f4181e-284d-4019-b6a7-17302d223d42", + "id": "73d3da3d-4004-44b4-9857-d27fa59c9880", "name": "Calculate Matrix", "request": { "name": "Calculate Matrix", @@ -26714,7 +27851,7 @@ }, "response": [ { - "id": "b49fe7f5-fb5e-45b4-9dbc-cc635c59ff84", + "id": "cf939f08-e059-4ef4-a813-e5b423ae4c78", "name": "Successful Response", "originalRequest": { "url": { @@ -26855,12 +27992,12 @@ "value": "application/json" } ], - "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", + "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "f3fd05ee-9ef4-46e7-9c07-e5555afc6c24", + "id": "a40428ae-596d-421d-bb93-a7a5518ff601", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -27006,7 +28143,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f84024d1-f48c-4cd1-954b-c4606b50278f", + "id": "b9e4e788-8377-4891-b3a1-4f749a95fe68", "name": "Out of free quota.", "originalRequest": { "url": { @@ -27152,7 +28289,7 @@ "_postman_previewlanguage": "json" }, { - "id": "e9ddf212-8fc1-441a-ba72-a0250ce244cd", + "id": "38a237a5-9f6e-44a0-b15b-d2ba5d6f17a6", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -27298,7 +28435,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5073ad10-a807-4dea-806e-597b0bd0cbdf", + "id": "20bd7455-1600-48ca-b523-0deb669cb828", "name": "Validation Error", "originalRequest": { "url": { @@ -27444,7 +28581,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ef0331f6-f081-4e47-91e3-9e3714e90029", + "id": "ac506f97-d2fa-40e4-bc82-df831a536469", "name": "Rate limit reached", "originalRequest": { "url": { @@ -27596,7 +28733,7 @@ } }, { - "id": "189f522a-e9fd-42b7-9c8c-c818c42e74d6", + "id": "f1cba3aa-6e9b-4fd2-8fbb-620610626165", "name": "Calculate Matrix", "request": { "name": "Calculate Matrix", @@ -27667,7 +28804,7 @@ }, "response": [ { - "id": "e5c21216-1ad3-40b7-b920-a19d46975058", + "id": "d2109f86-188d-4ccf-966d-30dde81e6e57", "name": "Successful Response", "originalRequest": { "url": { @@ -27731,12 +28868,12 @@ "value": "application/json" } ], - "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"NOT_FOUND\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"ZERO_RESULTS\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", + "body": "{\n \"rows\": [\n {\n \"elements\": [\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n },\n {\n \"elements\": [\n {\n \"status\": \"ERROR\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n },\n {\n \"status\": \"OK\",\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n }\n }\n ]\n }\n ],\n \"status\": \"OK\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "7a1b7e71-1c28-4340-902d-c268ca345c68", + "id": "d8a26667-e96a-43bd-a659-5523df7dc91d", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -27805,7 +28942,7 @@ "_postman_previewlanguage": "json" }, { - "id": "487d75e2-6b9f-402f-b935-1e2461c0a165", + "id": "d9b12323-1bee-4601-ada9-76d87c240691", "name": "Out of free quota.", "originalRequest": { "url": { @@ -27874,7 +29011,7 @@ "_postman_previewlanguage": "json" }, { - "id": "f5adf65a-cee5-4e18-bef7-ad1b4e85ec77", + "id": "e263f5e3-cb44-4cc1-aa6f-028ea6338bb0", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -27943,7 +29080,7 @@ "_postman_previewlanguage": "json" }, { - "id": "8e4da475-83ca-4d7a-ae50-38c40680c8c7", + "id": "1f1e1721-2c7c-4795-808d-9979e31d8b60", "name": "Validation Error", "originalRequest": { "url": { @@ -28012,7 +29149,7 @@ "_postman_previewlanguage": "json" }, { - "id": "ad580bda-b18b-48e2-a37a-980337cf4f70", + "id": "bfd49da2-1847-43c2-a381-8cdb14594cab", "name": "Rate limit reached", "originalRequest": { "url": { @@ -28087,7 +29224,7 @@ } }, { - "id": "1c8817d2-91f7-4b52-9f0c-c9334e8d6151", + "id": "7573f3da-a4e1-4722-bece-c3090983f58a", "name": "Calculate Isochrone", "request": { "name": "Calculate Isochrone", @@ -28209,7 +29346,7 @@ }, "response": [ { - "id": "264fa82b-c3a2-46d2-8d30-84ee489fadba", + "id": "12e1c5e3-9b30-4a89-ac8f-dbad26c80798", "name": "Successful Response", "originalRequest": { "url": { @@ -28328,7 +29465,7 @@ "_postman_previewlanguage": "json" }, { - "id": "b026269c-7897-4c5d-b00a-b48894cfb60e", + "id": "9c8c7b7c-61b2-4c96-a128-b25826d22606", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -28447,7 +29584,7 @@ "_postman_previewlanguage": "json" }, { - "id": "5dca0b45-c4be-4890-a35b-b0fcfe8455ab", + "id": "6920f183-6d9f-4236-af59-44048a926c5b", "name": "Out of free quota.", "originalRequest": { "url": { @@ -28566,7 +29703,7 @@ "_postman_previewlanguage": "json" }, { - "id": "3498b6bd-f028-41f9-b137-25fa11a1d34b", + "id": "fd91602d-6454-4a5e-a906-a0a2019beaff", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -28685,7 +29822,7 @@ "_postman_previewlanguage": "json" }, { - "id": "1cfb09fe-9ab9-4ace-82d2-7739e700ab89", + "id": "6dbc7862-4bf9-4ba9-8002-b0e8dcd7ee64", "name": "Validation Error", "originalRequest": { "url": { @@ -28804,7 +29941,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c5c75ac4-49b8-4ebe-b035-a554692a992c", + "id": "647f300c-a011-4567-96d3-c149bba1a55b", "name": "Rate limit reached", "originalRequest": { "url": { @@ -28929,7 +30066,7 @@ } }, { - "id": "cabed10f-b493-4b32-98b6-7f95763a72e5", + "id": "c0a84713-c9e6-4b8e-9a34-dbda3f4a41a3", "name": "Calculate Isochrone", "request": { "name": "Calculate Isochrone", @@ -29000,7 +30137,7 @@ }, "response": [ { - "id": "4e3ab205-5914-41fb-bcd1-40b6d3f83194", + "id": "aef4d98b-6802-4be0-883d-7b0bbe2d380c", "name": "Successful Response", "originalRequest": { "url": { @@ -29069,7 +30206,7 @@ "_postman_previewlanguage": "json" }, { - "id": "50ed59e5-1ef3-489b-be7a-04734037aa5d", + "id": "32fcb06f-0dd8-4006-a9d9-88ecd37d152d", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -29138,7 +30275,7 @@ "_postman_previewlanguage": "json" }, { - "id": "354ce74e-f60b-4071-8809-b9f5ca01dabe", + "id": "3fe0c50c-52e7-4a81-a184-45c46da57927", "name": "Out of free quota.", "originalRequest": { "url": { @@ -29207,7 +30344,7 @@ "_postman_previewlanguage": "json" }, { - "id": "c0086d8d-ab68-4c56-8e4b-945e894f7819", + "id": "711b978a-a059-4b4e-9c1e-43a6ee717ed1", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -29276,7 +30413,7 @@ "_postman_previewlanguage": "json" }, { - "id": "bd246adc-1c2d-4fe2-bf44-515ff199d118", + "id": "e0c5cfa0-51d5-4905-b5f4-bbe68c16f39a", "name": "Validation Error", "originalRequest": { "url": { @@ -29345,7 +30482,7 @@ "_postman_previewlanguage": "json" }, { - "id": "714983a8-b384-474d-b71a-78f667e519ef", + "id": "4a723b90-caac-46ea-b586-67417fa422cc", "name": "Rate limit reached", "originalRequest": { "url": { @@ -29420,7 +30557,7 @@ } }, { - "id": "2405f14e-334e-4c1e-b586-90b5d53f8018", + "id": "33992e89-7452-40b9-b80b-c2400d4d9b97", "name": "Find Tolls", "request": { "name": "Find Tolls", @@ -29569,7 +30706,7 @@ }, "response": [ { - "id": "a1d4194d-70f1-41c5-b4a6-95bcc2ac96ff", + "id": "19671a28-4c57-4027-b7e3-9ed581a0d8cf", "name": "Successful Response", "originalRequest": { "url": { @@ -29710,12 +30847,12 @@ "value": "application/json" } ], - "body": "{\n \"status\": \"\",\n \"routes\": [\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"aute7f\": -83425008.63877618,\n \"tempor_445\": false,\n \"nisi_1\": -11452313.06906873,\n \"deserunt919\": \"est ipsum nulla esse anim\"\n },\n {\n \"in_e78\": \"exercitation quis mollit Excepteur irure\",\n \"aliqua57\": \"proident elit velit voluptate\"\n }\n ],\n \"tollSystems\": [\n {\n \"etf\": \"tempor proident dolore reprehenderit est\",\n \"nisi_079\": \"non voluptate\"\n },\n {\n \"adipisicing_d56\": 93382422.66079888,\n \"consectetura\": -83360295.6435215,\n \"cillum_9\": false,\n \"reprehenderit_80\": 52157952\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"magna_6d\": -64329957,\n \"id2ef\": -47141042.20358583\n },\n {\n \"aliquip_378\": \"sit consect\",\n \"magna1f9\": false,\n \"est9b7\": true\n }\n ],\n \"tollSystems\": [\n {\n \"cupidatat_7b3\": -85334571.93231167\n },\n {\n \"veniam871\": -13359407.236717671,\n \"sint_07\": \"ex Ut dolore in\",\n \"aliqua68\": -89529904,\n \"culpa5\": false\n }\n ]\n }\n ]\n },\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"reprehenderit_a\": -91296102.21795197,\n \"nostrud_fa1\": -80799309.51325199\n },\n {\n \"pariatur_4a\": 64769713.88687426\n }\n ],\n \"tollSystems\": [\n {\n \"consectetur_0b2\": 35115595.868160605,\n \"culpa6f\": -2104754\n },\n {\n \"do_af\": 81208459.12372449,\n \"enim9c7\": true\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"ina7\": false\n },\n {\n \"quis_0f\": -52080046.71758211,\n \"sunt_e7\": true\n }\n ],\n \"tollSystems\": [\n {\n \"laboris_6c\": false,\n \"ut_e\": -40529930.5730491,\n \"quis_d\": -73259348\n },\n {\n \"do_8\": 4231197.186606377\n }\n ]\n }\n ]\n }\n ]\n}", + "body": "{\n \"status\": \"\",\n \"routes\": [\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"aute_4\": 17865399\n },\n {\n \"nulla7\": true,\n \"proident8\": -1612209.3881203383\n }\n ],\n \"tollSystems\": [\n {\n \"sint_b6c\": -3173316.747528255,\n \"anima\": true\n },\n {\n \"ex5__\": -64969214,\n \"pariatur1d2\": \"a\",\n \"deserunt_8\": false\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"aliquip52e\": false,\n \"mollit_a1_\": 49125844.97051492\n },\n {\n \"dolor80\": -6219660\n }\n ],\n \"tollSystems\": [\n {\n \"fugiat_3\": 88118204.29112291,\n \"consectetur481\": 72258452\n },\n {\n \"cupidatat_944\": -86086865,\n \"mollit_4_\": false,\n \"velit_2\": \"adipisi\"\n }\n ]\n }\n ]\n },\n {\n \"overview_polyline\": {\n \"points\": \"\"\n },\n \"bounds\": {\n \"northeast\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"southwest\": {\n \"lat\": \"\",\n \"lng\": \"\"\n }\n },\n \"legs\": [\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"quibf\": \"sed\"\n },\n {\n \"exercitation_3\": \"reprehenderit\"\n }\n ],\n \"tollSystems\": [\n {\n \"irure2\": -57268210\n },\n {\n \"in_b6\": -95318209.87498976\n }\n ]\n },\n {\n \"distance\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"duration\": {\n \"value\": \"\",\n \"text\": \"\"\n },\n \"start_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"end_location\": {\n \"lat\": \"\",\n \"lng\": \"\"\n },\n \"tolls\": [\n {\n \"cillum_2\": -49527379,\n \"Duis__76\": -31953100.44747059\n },\n {\n \"labore_40\": \"consequat Lorem quis dolor\",\n \"occaecat_618\": \"magna consectetur fugiat\",\n \"eiusmodbd8\": 79349967\n }\n ],\n \"tollSystems\": [\n {\n \"culpa1ee\": -89018995.80152515,\n \"Ut_f_0\": -58744710\n },\n {\n \"eu6_3\": true,\n \"adipisicingb24\": true\n }\n ]\n }\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { - "id": "5ca9e663-435c-46f8-a51e-d435dc16f126", + "id": "55982f42-5abd-4330-a4e3-a284418c6818", "name": "Unable to locate credentials.", "originalRequest": { "url": { @@ -29861,7 +30998,7 @@ "_postman_previewlanguage": "json" }, { - "id": "7a9a9ed2-a0f3-4cb8-88fa-570fa861a66b", + "id": "e6a8cccc-9780-4ffe-b233-ad66de0efccc", "name": "Out of free quota.", "originalRequest": { "url": { @@ -30007,7 +31144,7 @@ "_postman_previewlanguage": "json" }, { - "id": "797312dd-8a3c-4d6e-a377-76d5c87873e6", + "id": "19ff5567-6af0-4991-8cf8-5dabb6d324ba", "name": "Credentials found, but not matching.", "originalRequest": { "url": { @@ -30153,7 +31290,7 @@ "_postman_previewlanguage": "json" }, { - "id": "891ae758-37be-4d14-9625-cbb155686a6e", + "id": "875ffa29-5386-4764-85bd-d2b851d1f8b7", "name": "Validation Error", "originalRequest": { "url": { @@ -30299,7 +31436,7 @@ "_postman_previewlanguage": "json" }, { - "id": "d3fb416c-4686-4419-a05b-fb6e85411f84", + "id": "fbc0637b-83c1-4a8a-b7e0-1e3484fd47ae", "name": "Rate limit reached", "originalRequest": { "url": { @@ -30465,7 +31602,7 @@ } ], "info": { - "_postman_id": "fd666ae7-9784-418a-b18d-90773ea3e71d", + "_postman_id": "5c12c02b-fae3-42f1-80be-a2c1e16632a8", "name": "Woosmap Platform API Reference", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { diff --git a/generator/requests/requests.ts b/generator/requests/requests.ts index ab02eb5d..9f73858d 100644 --- a/generator/requests/requests.ts +++ b/generator/requests/requests.ts @@ -137,6 +137,49 @@ export const REQUESTS: SnippetRequest[] = [ ), }), }, + { + regionTag: "woosmap_http_distance_matrix_async", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/distance/matrix/async", + json: parseRequestBody( + "../../specification/requests/woosmap_http_distance_matrix_async_request.yml" + ), + }), + }, + { + regionTag: "woosmap_http_distance_matrix_async_result", + request: new Request({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c", + query: [ + { + key: "private_key", + value: "YOUR_PRIVATE_API_KEY", + }, + ], + }), + header: [{key: "Referer", value: "http://localhost"}], + }), + }, + { + regionTag: "woosmap_http_distance_matrix_async_status", + request: new Request({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status", + query: [ + { + key: "private_key", + value: "YOUR_PRIVATE_API_KEY", + }, + ], + }), + header: [{key: "Referer", value: "http://localhost"}], + }), + }, { regionTag: "woosmap_http_distance_route", request: new Request({ @@ -206,6 +249,47 @@ export const REQUESTS: SnippetRequest[] = [ }), }), }, + { + regionTag: "woosmap_http_maps_static", + request: new Request({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/maps/static", + query: [ + { + key: "lat", + value: "48.8566", + }, + { + key: "lng", + value: "2.3522", + }, + { + key: "zoom", + value: "14", + }, + { + key: "width", + value: "600", + }, + { + key: "height", + value: "400", + }, + { + key: "markers", + value: "48.8566,2.3522", + }, + { + key: "language", + value: "en", + }, + ], + }), + header: [{key: "Referer", value: "http://localhost"}], + }), + }, { regionTag: "woosmap_http_distance_isochrone", request: new Request({ @@ -680,5 +764,199 @@ export const REQUESTS: SnippetRequest[] = [ }), }), }, + { + regionTag: "woosmap_http_datasets_list", + request: new Request({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/datasets/", + query: [ + { + key: "private_key", + value: "YOUR_PRIVATE_API_KEY", + }, + ], + }), + }), + }, + { + regionTag: "woosmap_http_datasets_create", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY", + json: { + name: "string", + url: "http://example.com", + schema_mapping: [ + { + schema_key: "title", + data_key: "string", + }, + ], + }, + }), + }, + { + regionTag: "woosmap_http_datasets_get", + request: new Request({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0", + query: [ + { + key: "private_key", + value: "YOUR_PRIVATE_API_KEY", + }, + ], + }), + }), + }, + { + regionTag: "woosmap_http_datasets_update", + request: new PutJsonRequest({ + url: "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY", + json: { + name: "string", + url: "http://example.com", + }, + }), + }, + { + regionTag: "woosmap_http_datasets_delete", + request: new DeleteRequest({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0", + query: [ + { + key: "private_key", + value: "YOUR_PRIVATE_API_KEY", + }, + ], + }), + }), + }, + { + regionTag: "woosmap_http_datasets_status", + request: new Request({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status", + query: [ + { + key: "private_key", + value: "YOUR_PRIVATE_API_KEY", + }, + ], + }), + }), + }, + { + regionTag: "woosmap_http_datasets_import", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY", + json: {}, + }), + }, + { + regionTag: "woosmap_http_datasets_reimport_webhook", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key", + json: {}, + }), + }, + { + regionTag: "woosmap_http_datasets_search_features", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY", + json: { + where: "cost_col:>32.3", + }, + }), + }, + { + regionTag: "woosmap_http_datasets_nearby_features", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY", + json: { + geometry: { + type: "Point", + coordinates: [3.883, 43.6], + }, + buffer: 5000, + }, + }), + }, + { + regionTag: "woosmap_http_datasets_intersect_features", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY", + json: { + geometry: { + type: "Polygon", + coordinates: [ + [ + [2.3522, 48.8566], + [2.3622, 48.8566], + [2.3622, 48.8666], + [2.3522, 48.8666], + [2.3522, 48.8566], + ], + ], + }, + }, + }), + }, + { + regionTag: "woosmap_http_datasets_contains_features", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY", + json: { + geometry: { + type: "Point", + coordinates: [3.883, 43.6], + }, + }, + }), + }, + { + regionTag: "woosmap_http_datasets_within_features", + request: new PostJsonRequest({ + url: "https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY", + json: { + geometry: { + type: "Polygon", + coordinates: [ + [ + [2.3522, 48.8566], + [2.3622, 48.8566], + [2.3622, 48.8666], + [2.3522, 48.8666], + [2.3522, 48.8566], + ], + ], + }, + }, + }), + }, + { + regionTag: "woosmap_http_datasets_get_feature", + request: new Request({ + url: new Url({ + protocol: "https", + host: "api.woosmap.com", + path: "/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08", + query: [ + { + key: "private_key", + value: "YOUR_PRIVATE_API_KEY", + }, + ], + }), + }), + }, ]; diff --git a/redocly/decorators/inject-code-samples.js b/redocly/decorators/inject-code-samples.js new file mode 100644 index 00000000..161b1651 --- /dev/null +++ b/redocly/decorators/inject-code-samples.js @@ -0,0 +1,165 @@ +/** + * Redocly decorator to inject x-codeSamples and custom responses + * into external OpenAPI specifications (distance, transit, etc.) + */ + +const fs = require('fs'); +const path = require('path'); +const yaml = require('yaml'); + +module.exports = InjectCodeSamples; + +function InjectCodeSamples(options) { + // Support both inline mappings and external file + let mappings = options.mappings || {}; + + if (options.mappingsFile) { + const mappingsPath = path.resolve(process.cwd(), options.mappingsFile); + if (fs.existsSync(mappingsPath)) { + const mappingsContent = fs.readFileSync(mappingsPath, 'utf8'); + const mappingsData = yaml.parse(mappingsContent); + mappings = mappingsData.mappings || {}; + } + } + + return { + PathItem: { + leave(pathItem, ctx) { + // Process each HTTP method + ['get', 'post', 'put', 'patch', 'delete'].forEach((method) => { + const operation = pathItem[method]; + if (!operation || !operation.operationId) return; + + const mapping = mappings[operation.operationId]; + if (!mapping) { + return; + } + + // Inject x-codeSamples + if (mapping.regionTag && mapping.snippetPath) { + const codeSamples = loadCodeSamples( + mapping.regionTag, + mapping.snippetPath + ); + if (codeSamples && codeSamples.length > 0) { + operation['x-codeSamples'] = codeSamples; + } + } + + // Inject request body example + if (mapping.requestPath && operation.requestBody) { + const requestData = loadResponse(mapping.requestPath); + if (requestData) { + injectRequestBodyExample(operation.requestBody, requestData); + } + } + + // Inject custom response examples + if (mapping.responsePath && operation.responses) { + const responseData = loadResponse(mapping.responsePath); + if (responseData) { + injectResponseExample( + operation.responses, + responseData, + mapping.responseCode || '200' + ); + } + } + }); + }, + }, + }; +} + +/** + * Load code samples from generated snippet files + */ +function loadCodeSamples(regionTag, snippetBasePath) { + const samples = []; + const languages = ['curl', 'javascript', 'python']; + const snippetDir = path.join(process.cwd(), snippetBasePath, regionTag); + + if (!fs.existsSync(snippetDir)) { + return null; + } + + languages.forEach((lang) => { + const snippetFile = path.join( + snippetDir, + `${regionTag}.${lang}.yml` + ); + + if (fs.existsSync(snippetFile)) { + try { + const content = fs.readFileSync(snippetFile, 'utf8'); + const snippet = yaml.parse(content); + + if (snippet && snippet.lang && snippet.source) { + samples.push({ + lang: snippet.lang, + label: snippet.label || lang, + source: snippet.source, + }); + } + } catch (error) { + console.warn(`Failed to load snippet: ${snippetFile}`, error.message); + } + } + }); + + return samples.length > 0 ? samples : null; +} + +/** + * Load response example from YAML file + */ +function loadResponse(responsePath) { + const fullPath = path.join(process.cwd(), responsePath); + + if (!fs.existsSync(fullPath)) { + return null; + } + + try { + const content = fs.readFileSync(fullPath, 'utf8'); + return yaml.parse(content); + } catch (error) { + console.warn(`Failed to load response: ${responsePath}`, error.message); + return null; + } +} + +/** + * Inject request body example into the operation + */ +function injectRequestBodyExample(requestBody, requestData) { + if (!requestBody.content) return; + + // Find application/json content type + const jsonContent = requestBody.content['application/json']; + if (!jsonContent) return; + + jsonContent.example = requestData; +} + +/** + * Inject response example into the operation + */ +function injectResponseExample(responses, responseData, statusCode = '200') { + const response = responses[statusCode]; + if (!response || !response.content) return; + + // Find application/json content type + const jsonContent = response.content['application/json']; + if (!jsonContent) return; + + // Add or update examples + if (!jsonContent.examples) { + jsonContent.examples = {}; + } + + jsonContent.examples['custom'] = { + summary: 'Example response', + value: responseData, + }; +} diff --git a/redocly/inject-code-samples-mappings.yaml b/redocly/inject-code-samples-mappings.yaml new file mode 100644 index 00000000..575432f8 --- /dev/null +++ b/redocly/inject-code-samples-mappings.yaml @@ -0,0 +1,146 @@ +# Configuration for inject-code-samples decorator +# This file contains mappings between external API operation IDs and local code samples/examples +# +# Each mapping can include: +# - regionTag: identifier from requests.ts for code sample generation +# - snippetPath: directory containing generated code snippets +# - requestPath: path to request body example file (for POST/PUT operations) +# - responsePath: path to response example file +# - responseCode: HTTP status code for response (default: '200') + +mappings: + # Distance Matrix - GET + matrix_distance_distancematrix_json__get: + regionTag: woosmap_http_distance_matrix + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_distance_matrix_response.yml + + # Distance Matrix - POST + matrix_post_distance_distancematrix_json__post: + regionTag: woosmap_http_distance_matrix_request + snippetPath: specification/snippets + requestPath: specification/requests/woosmap_http_distance_matrix_request.yml + responsePath: specification/responses/woosmap_http_distance_matrix_request_response.yml + + # Distance Route + route_distance_route_json__get: + regionTag: woosmap_http_distance_route + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_distance_route_response.yml + + # Distance Tolls + tolls_distance_tolls_json__get: + regionTag: woosmap_http_distance_tolls + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_distance_tolls_response.yml + + # Distance Isochrone - GET + isochrone_distance_isochrone_json__get: + regionTag: woosmap_http_distance_isochrone + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_distance_isochrone_response.yml + + # Distance Isochrone - POST + isochrone_post_distance_isochrone_json__post: + regionTag: woosmap_http_distance_isochrone + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_distance_isochrone_response.yml + + # Distance Matrix Async - Start (POST) + start_async_matrix_distance_matrix_async__post: + regionTag: woosmap_http_distance_matrix_async + snippetPath: specification/snippets + requestPath: specification/requests/woosmap_http_distance_matrix_async_request.yml + responsePath: specification/responses/woosmap_http_distance_matrix_async_response.yml + + # Distance Matrix Async - Get Result + async_matrix_distance_matrix_async__matrix_id__get: + responseCode: "303" + regionTag: woosmap_http_distance_matrix_async_result + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_distance_matrix_async_result_response.yml + + # Distance Matrix Async - Get Status + async_matrix_status_distance_matrix_async__matrix_id__status_get: + regionTag: woosmap_http_distance_matrix_async_status + snippetPath: specification/snippets + responsePath: specification/responses/woosmap_http_distance_matrix_async_status_response.yml + + # Static Map + get_static_map_maps_static_get: + regionTag: woosmap_http_maps_static + snippetPath: specification/snippets + + # DATASETS API + # List Datasets + list_datasets_datasets__get: + regionTag: woosmap_http_datasets_list + snippetPath: specification/snippets + + # Create Dataset + create_dataset_datasets__post: + regionTag: woosmap_http_datasets_create + snippetPath: specification/snippets + + # Get Dataset + get_dataset_datasets__dataset_id__get: + regionTag: woosmap_http_datasets_get + snippetPath: specification/snippets + + # Update Dataset + update_dataset_datasets__dataset_id__put: + regionTag: woosmap_http_datasets_update + snippetPath: specification/snippets + + # Delete Dataset + delete_dataset_datasets__dataset_id__delete: + regionTag: woosmap_http_datasets_delete + snippetPath: specification/snippets + + # Get Dataset Status + get_dataset_status_datasets__dataset_id__status_get: + regionTag: woosmap_http_datasets_status + snippetPath: specification/snippets + + # Trigger Import + trigger_import_datasets__dataset_id__import_post: + responseCode: "202" + regionTag: woosmap_http_datasets_import + snippetPath: specification/snippets + + # Reimport Webhook + reimport_dataset_webhook_datasets_hooks_reimport__reimport_key__post: + responseCode: "202" + regionTag: woosmap_http_datasets_reimport_webhook + snippetPath: specification/snippets + + # Search Features + search_features_datasets__dataset_id__features_search__post: + regionTag: woosmap_http_datasets_search_features + snippetPath: specification/snippets + + # Nearby Features + nearby_features_datasets__dataset_id__features_nearby__post: + regionTag: woosmap_http_datasets_nearby_features + snippetPath: specification/snippets + + # Intersect Features + intersect_features_datasets__dataset_id__features_intersects__post: + regionTag: woosmap_http_datasets_intersect_features + snippetPath: specification/snippets + + # Contains Features + contains_features_datasets__dataset_id__features_contains__post: + regionTag: woosmap_http_datasets_contains_features + snippetPath: specification/snippets + + # Within Features + within_features_datasets__dataset_id__features_within__post: + regionTag: woosmap_http_datasets_within_features + snippetPath: specification/snippets + + # Get Feature + get_feature_datasets__dataset_id__features__feature_id__get: + regionTag: woosmap_http_datasets_get_feature + snippetPath: specification/snippets + diff --git a/redocly/plugins.js b/redocly/plugins.js index bd0bb3a6..3761d0aa 100644 --- a/redocly/plugins.js +++ b/redocly/plugins.js @@ -2,6 +2,7 @@ const AddSecurityDisplayName = require('./decorators/add-security-display-name.j const MergeTagGroups = require('./decorators/merge-tag-groups.js'); const ProcessTags = require('./decorators/process-tags.js'); const TagGroups = require('./decorators/tag-groups.js'); +const InjectCodeSamples = require('./decorators/inject-code-samples.js'); const ValidateTags = require('./rules/validate-tags.js'); /** @@ -16,6 +17,7 @@ module.exports = function woosmapPlugin() { 'merge-tag-groups': MergeTagGroups, 'process-tags': ProcessTags, 'tag-groups': TagGroups, + 'inject-code-samples': InjectCodeSamples, }, }, rules: { diff --git a/redocly/redocly-merged-config.yaml b/redocly/redocly-merged-config.yaml index 287eb470..088758f7 100644 --- a/redocly/redocly-merged-config.yaml +++ b/redocly/redocly-merged-config.yaml @@ -8,25 +8,25 @@ apis: woosmap/process-tags: tagMappings: # Transit API - 'transit': - name: 'Transit API' + "transit": + name: "Transit API" description: | - The Transit API delivers comprehensive public transportation routing information by calculating optimal travel paths between - origins and destinations. It provides detailed route data including distance, duration, polyline visualization, - and complete step-by-step transit instructions with transfer points and transportation modes. The API is ideal for + The Transit API delivers comprehensive public transportation routing information by calculating optimal travel paths between + origins and destinations. It provides detailed route data including distance, duration, polyline visualization, + and complete step-by-step transit instructions with transfer points and transportation modes. The API is ideal for applications requiring accurate public transit navigation and trip planning capabilities. externalDocs: url: "https://developers.woosmap.com/products/transit-api/route-endpoint/" # Indoor API - 'Indoor API': - name: 'Indoor API' + "Indoor API": + name: "Indoor API" description: | The Indoor API suite provides comprehensive tools for indoor mapping, search, and navigation in complex venues. - + The Indoor Map API renders detailed floor plans with customizable styling, while the Indoor Search API enables precise location searching through an intelligent POI engine with autocompletion capabilities. - + For wayfinding, the Indoor Distance API calculates optimal routes between indoor points, delivering polylines and turn-by-turn instructions. Advanced features include custom routing profiles for different user types (staff, visitors, etc.) and seamless integration with external systems. @@ -34,93 +34,106 @@ apis: url: "https://developers.woosmap.com/products/indoor-api/get-started/" # Woosmap for what3words API - 'what3words': - name: 'Woosmap for what3words API' + "what3words": + name: "Woosmap for what3words API" description: | The Woosmap for what3words integration enhances location search capabilities by incorporating what3words' unique - 3-word addressing system. - - This API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of + 3-word addressing system. + + This API is a drop in replacement of what3words API but hosted on Woosmap Platform, with the addition of an endpoint leveraging the power of [Localities API](#tag/Woosmap_Platform_API_Reference_Localities-API) to convert a what3words address into a street address, bringing address level accuracy to what3words. externalDocs: url: "https://developers.woosmap.com/products/w3w-api/get-started/" # Datasets API - 'search': 'Datasets API' - 'features': 'Datasets API' - 'dataset': 'Datasets API' - 'Datasets API': - name: 'Datasets API' + "search": "Datasets API" + "features": "Datasets API" + "dataset": "Datasets API" + "Datasets API": + name: "Datasets API" description: | Manage the full lifecycle of your geospatial data alongside powerful analysis and retrieval. * **Management:** Programmatically create datasets, import features in bulk (CSV/GeoJSON), and handle updates or deletions. * **Search:** Execute **Nearby**, **Contains**, **Intersects**, and **Within** queries using SQL-like `WHERE` filters. - * **Features:** Direct access to individual geographic features by unique ID with field masking. + * **Features:** Direct access to individual geographic features by unique ID with field masking. Ideal for applications that require precise location analysis, spatial queries and geographic data management. externalDocs: url: "https://developers.woosmap.com/products/datasets-api/get-started/" - - 'static': - name: 'Static Map API' + "static": + name: "Static Map API" description: | - The Woosmap Static Maps API lets you generate customizable, embeddable map images using simple HTTP requests. It’s a lightweight alternative to interactive maps—ideal for emails, reports, or websites where dynamic JavaScript maps aren't needed. + The Woosmap Static Maps API lets you generate customizable, embeddable map images using simple HTTP requests. It’s a lightweight alternative to interactive maps—ideal for emails, reports, or websites where dynamic JavaScript maps aren't needed. You provide parameters such as location, zoom level, size, and markers, and the API returns a map image that can be embedded directly into any webpage or application. externalDocs: url: "https://developers.woosmap.com/products/map-static-api/get-started/" - # Distance API - 'route': 'Distance API' - 'distancematrix': 'Distance API' - 'isochrone': 'Distance API' - 'tolls': 'Distance API' - 'Distance API': - name: 'Distance API' + # Distance API + "route": "Distance API" + "distancematrix": "Distance API" + "isochrone": "Distance API" + "tolls": "Distance API" + "Distance API": + name: "Distance API" description: | The Woosmap Distance API suite provides comprehensive tools for road travel calculations worldwide. - + * **Route:** Calculate travel distance, duration, and paths between origin and destination. * **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations. * **Isochrone:** Determine all locations reachable within a specific time or distance. * **Tolls:** Estimate toll costs and details for specific routes. - + Requests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management. externalDocs: url: "https://developers.woosmap.com/products/distance-api/get-started/" + # Distance Async API + "Distance Matrix Async": "Distance Async API" + "Distance Async API": + name: "Distance Async API" + description: | + The Woosmap Distance Async API suite provides tools for large or difficult distance calculations. + + * **Matrix:** Compute travel distance and time for a matrix of multiple origins and destinations. + + Requests are made via HTTPS (GET/POST) and require an API key (`key` or `private_key`) for quota management. + externalDocs: + url: "https://developers.woosmap.com/products/distance-api/get-started/" tagsToDelete: - - 'Transit' - - 'Transit & Matrix Async' - - 'Distance Matrix Async' + - "Transit" + - "Transit & Matrix Async" sortOrder: - 'Distance API': + "Distance API": - route - distancematrix - isochrone - tolls woosmap/tag-groups: tagGroups: - - name: 'Search' + - name: "Search" tags: - - 'Store Search API' - - 'Data Management API' - - 'Geolocation API' - - 'Localities API' - - 'Address API' - - 'Datasets API' - - 'Woosmap for what3words API' - - 'Zones API' - - name: 'Map' + - "Store Search API" + - "Data Management API" + - "Geolocation API" + - "Localities API" + - "Address API" + - "Datasets API" + - "Woosmap for what3words API" + - "Zones API" + - name: "Map" tags: - - 'Static Map API' - - 'Indoor API' - - name: 'Distance' + - "Static Map API" + - "Indoor API" + - name: "Distance" tags: - - 'Distance API' - - 'Transit API' + - "Distance API" + - "Distance Async API" + - "Transit API" + woosmap/inject-code-samples: + mappingsFile: redocly/inject-code-samples-mappings.yaml plugins: - - plugins.js \ No newline at end of file + - plugins.js diff --git a/rules/redocly_cli.bzl b/rules/redocly_cli.bzl index 96a7f706..85bcc13e 100644 --- a/rules/redocly_cli.bzl +++ b/rules/redocly_cli.bzl @@ -154,6 +154,9 @@ def bundle_external_specs(name, specs, main_spec = "//:woosmap-openapi3.json", c final_srcs.append(config) if plugins: final_srcs.extend(plugins) + + # Add specification files (includes snippets and responses) for inject-code-samples decorator + final_srcs.append("//specification:openapi3") js_run_binary( name = name, diff --git a/specification/requests/woosmap_http_distance_matrix_async_request.yml b/specification/requests/woosmap_http_distance_matrix_async_request.yml new file mode 100644 index 00000000..01493655 --- /dev/null +++ b/specification/requests/woosmap_http_distance_matrix_async_request.yml @@ -0,0 +1,5 @@ +{ + "origins": "48.73534,2.368308|48.73534,2.368308", + "destinations": "48.83534,2.368308", + "mode": "driving" +} diff --git a/specification/responses/woosmap_http_distance_matrix_async_response.yml b/specification/responses/woosmap_http_distance_matrix_async_response.yml new file mode 100644 index 00000000..0fb44377 --- /dev/null +++ b/specification/responses/woosmap_http_distance_matrix_async_response.yml @@ -0,0 +1,6 @@ +# [START woosmap_http_distance_matrix_async_response] +{ + "matrix_id": "39585bfc-59cc-478c-9b87-12685c9b880c", + "status": "accepted" +} +# [END woosmap_http_distance_matrix_async_response] diff --git a/specification/responses/woosmap_http_distance_matrix_async_result_response.yml b/specification/responses/woosmap_http_distance_matrix_async_result_response.yml new file mode 100644 index 00000000..ad2c9bd6 --- /dev/null +++ b/specification/responses/woosmap_http_distance_matrix_async_result_response.yml @@ -0,0 +1,14 @@ +# [START woosmap_http_distance_matrix_async_result_response] +{ + "matrixId": "39585bfc-59cc-478c-9b87-12685c9b880c", + "matrix": { + "numOrigins": 2, + "numDestinations": 2, + "travelTimes": [0, 1001, 1057, 0], + "distances": [0, 15156, 14345, 0] + }, + "regionDefinition": { + "type": "world" + } +} +# [END woosmap_http_distance_matrix_async_result_response] diff --git a/specification/responses/woosmap_http_distance_matrix_async_status_response.yml b/specification/responses/woosmap_http_distance_matrix_async_status_response.yml new file mode 100644 index 00000000..f3a52fc5 --- /dev/null +++ b/specification/responses/woosmap_http_distance_matrix_async_status_response.yml @@ -0,0 +1,5 @@ +# [START woosmap_http_distance_matrix_async_status_response] +{ + "status": "completed" +} +# [END woosmap_http_distance_matrix_async_status_response] diff --git a/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.curl.yml b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.curl.yml new file mode 100644 index 00000000..816131dd --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n}'", +} diff --git a/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.javascript.yml b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.javascript.yml new file mode 100644 index 00000000..65359d2e --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.nodejs.yml b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.nodejs.yml new file mode 100644 index 00000000..f70ed34f --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.python.yml b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.python.yml new file mode 100644 index 00000000..2ee99207 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_contains_features/woosmap_http_datasets_contains_features.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/contains/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n }\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.curl.yml b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.curl.yml new file mode 100644 index 00000000..6c852c48 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n}'", +} diff --git a/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.javascript.yml b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.javascript.yml new file mode 100644 index 00000000..beadac75 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.nodejs.yml b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.nodejs.yml new file mode 100644 index 00000000..c3456c9c --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.python.yml b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.python.yml new file mode 100644 index 00000000..853f9dd1 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_create/woosmap_http_datasets_create.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"name\": \"string\",\n \"url\": \"http://example.com\",\n \"schema_mapping\": [\n {\n \"schema_key\": \"title\",\n \"data_key\": \"string\"\n }\n ]\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.curl.yml b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.curl.yml new file mode 100644 index 00000000..3995d752 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L -X DELETE 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY'", +} diff --git a/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.javascript.yml b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.javascript.yml new file mode 100644 index 00000000..a548dd1d --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"DELETE\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.nodejs.yml b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.nodejs.yml new file mode 100644 index 00000000..784db962 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'delete',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.python.yml b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.python.yml new file mode 100644 index 00000000..bca077d8 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_delete/woosmap_http_datasets_delete.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.curl.yml b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.curl.yml new file mode 100644 index 00000000..a18531c4 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY'", +} diff --git a/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.javascript.yml b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.javascript.yml new file mode 100644 index 00000000..2759ead5 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.nodejs.yml b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.nodejs.yml new file mode 100644 index 00000000..d8549fe4 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'get',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.python.yml b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.python.yml new file mode 100644 index 00000000..d2205e27 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get/woosmap_http_datasets_get.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.curl.yml b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.curl.yml new file mode 100644 index 00000000..8a86d0d2 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY'", +} diff --git a/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.javascript.yml b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.javascript.yml new file mode 100644 index 00000000..1366519e --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.nodejs.yml b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.nodejs.yml new file mode 100644 index 00000000..0de62a6d --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'get',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.python.yml b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.python.yml new file mode 100644 index 00000000..54d30415 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_get_feature/woosmap_http_datasets_get_feature.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/497f6eca-6276-4993-bfeb-53cbbbba6f08?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.curl.yml b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.curl.yml new file mode 100644 index 00000000..b43e431c --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{}'", +} diff --git a/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.javascript.yml b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.javascript.yml new file mode 100644 index 00000000..5a2817c6 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.nodejs.yml b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.nodejs.yml new file mode 100644 index 00000000..d03b6e7c --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.python.yml b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.python.yml new file mode 100644 index 00000000..28b5cbbb --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_import/woosmap_http_datasets_import.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/import?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.curl.yml b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.curl.yml new file mode 100644 index 00000000..6fa452e6 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n}'", +} diff --git a/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.javascript.yml b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.javascript.yml new file mode 100644 index 00000000..922dec74 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.nodejs.yml b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.nodejs.yml new file mode 100644 index 00000000..4013afc8 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.python.yml b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.python.yml new file mode 100644 index 00000000..74fc5123 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_intersect_features/woosmap_http_datasets_intersect_features.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/intersects/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.curl.yml b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.curl.yml new file mode 100644 index 00000000..f55fcf6f --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY'", +} diff --git a/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.javascript.yml b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.javascript.yml new file mode 100644 index 00000000..a29e436e --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.nodejs.yml b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.nodejs.yml new file mode 100644 index 00000000..4f1bf34f --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'get',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.python.yml b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.python.yml new file mode 100644 index 00000000..207e9e06 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_list/woosmap_http_datasets_list.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.curl.yml b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.curl.yml new file mode 100644 index 00000000..b32e2258 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n}'", +} diff --git a/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.javascript.yml b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.javascript.yml new file mode 100644 index 00000000..155421e9 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.nodejs.yml b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.nodejs.yml new file mode 100644 index 00000000..e2a87109 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.python.yml b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.python.yml new file mode 100644 index 00000000..a4adc900 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_nearby_features/woosmap_http_datasets_nearby_features.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/nearby/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [\n 3.883,\n 43.6\n ]\n },\n \"buffer\": 5000\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.curl.yml b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.curl.yml new file mode 100644 index 00000000..b1582b88 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{}'", +} diff --git a/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.javascript.yml b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.javascript.yml new file mode 100644 index 00000000..3ca210d1 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.nodejs.yml b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.nodejs.yml new file mode 100644 index 00000000..7256b6c5 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.python.yml b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.python.yml new file mode 100644 index 00000000..1b6df531 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_reimport_webhook/woosmap_http_datasets_reimport_webhook.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/hooks/reimport/my_reimport_key?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.curl.yml b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.curl.yml new file mode 100644 index 00000000..e3d70db4 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"where\": \"cost_col:>32.3\"\n}'", +} diff --git a/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.javascript.yml b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.javascript.yml new file mode 100644 index 00000000..6efdf0a2 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"where\": \"cost_col:>32.3\"\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.nodejs.yml b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.nodejs.yml new file mode 100644 index 00000000..5ac64f93 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"where\": \"cost_col:>32.3\"\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.python.yml b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.python.yml new file mode 100644 index 00000000..74359f0b --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_search_features/woosmap_http_datasets_search_features.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/search/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"where\": \"cost_col:>32.3\"\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.curl.yml b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.curl.yml new file mode 100644 index 00000000..165b3076 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY'", +} diff --git a/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.javascript.yml b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.javascript.yml new file mode 100644 index 00000000..d943396d --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.nodejs.yml b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.nodejs.yml new file mode 100644 index 00000000..b4836cb8 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'get',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY',\n headers: { }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.python.yml b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.python.yml new file mode 100644 index 00000000..f428186d --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_status/woosmap_http_datasets_status.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/status?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.curl.yml b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.curl.yml new file mode 100644 index 00000000..b388bab2 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L -X PUT 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n}'", +} diff --git a/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.javascript.yml b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.javascript.yml new file mode 100644 index 00000000..da9cd90d --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n});\n\nconst requestOptions = {\n method: \"PUT\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.nodejs.yml b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.nodejs.yml new file mode 100644 index 00000000..3da20991 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n});\n\nlet config = {\n method: 'put',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.python.yml b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.python.yml new file mode 100644 index 00000000..0d80b8d4 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_update/woosmap_http_datasets_update.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"name\": \"string\",\n \"url\": \"http://example.com\"\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.curl.yml b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.curl.yml new file mode 100644 index 00000000..cb3e0c1b --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n}'", +} diff --git a/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.javascript.yml b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.javascript.yml new file mode 100644 index 00000000..10a3ccad --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.nodejs.yml b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.nodejs.yml new file mode 100644 index 00000000..61c8325b --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.python.yml b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.python.yml new file mode 100644 index 00000000..4ee86b15 --- /dev/null +++ b/specification/snippets/woosmap_http_datasets_within_features/woosmap_http_datasets_within_features.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/datasets/8c4c51f1-f6f3-43bc-b65d-7415e8ef22c0/features/within/?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 2.3522,\n 48.8566\n ],\n [\n 2.3622,\n 48.8566\n ],\n [\n 2.3622,\n 48.8666\n ],\n [\n 2.3522,\n 48.8666\n ],\n [\n 2.3522,\n 48.8566\n ]\n ]\n ]\n }\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.curl.yml b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.curl.yml new file mode 100644 index 00000000..70859ec9 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'content-type: application/json' \\\n-d '{\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n}'", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.javascript.yml b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.javascript.yml new file mode 100644 index 00000000..9d317e96 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const myHeaders = new Headers();\nmyHeaders.append(\"content-type\", \"application/json\");\n\nconst raw = JSON.stringify({\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n});\n\nconst requestOptions = {\n method: \"POST\",\n headers: myHeaders,\n body: raw,\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.nodejs.yml b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.nodejs.yml new file mode 100644 index 00000000..1677be81 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\nlet data = JSON.stringify({\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n});\n\nlet config = {\n method: 'post',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'content-type': 'application/json'\n },\n data : data\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.python.yml b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.python.yml new file mode 100644 index 00000000..b2a8293a --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async/woosmap_http_distance_matrix_async.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\nimport json\n\nurl = \"https://api.woosmap.com/distance/matrix/async?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = json.dumps({\n \"origins\": \"48.73534,2.368308|48.73534,2.368308\",\n \"destinations\": \"48.83534,2.368308\",\n \"mode\": \"driving\"\n})\nheaders = {\n 'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.curl.yml b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.curl.yml new file mode 100644 index 00000000..9d98fead --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'Referer: http://localhost'", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.javascript.yml b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.javascript.yml new file mode 100644 index 00000000..ea626c55 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.nodejs.yml b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.nodejs.yml new file mode 100644 index 00000000..08aadd78 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'get',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'Referer': 'http://localhost'\n }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.python.yml b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.python.yml new file mode 100644 index 00000000..1f80a2ef --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_result/woosmap_http_distance_matrix_async_result.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.curl.yml b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.curl.yml new file mode 100644 index 00000000..812d9fed --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY' \\\n-H 'Referer: http://localhost'", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.javascript.yml b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.javascript.yml new file mode 100644 index 00000000..738bb404 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.nodejs.yml b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.nodejs.yml new file mode 100644 index 00000000..77e71c28 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'get',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY',\n headers: { \n 'Referer': 'http://localhost'\n }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.python.yml b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.python.yml new file mode 100644 index 00000000..0576ba39 --- /dev/null +++ b/specification/snippets/woosmap_http_distance_matrix_async_status/woosmap_http_distance_matrix_async_status.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/distance/matrix/async/39585bfc-59cc-478c-9b87-12685c9b880c/status?private_key=YOUR_PRIVATE_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +} diff --git a/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.curl.yml b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.curl.yml new file mode 100644 index 00000000..cfd1190d --- /dev/null +++ b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.curl.yml @@ -0,0 +1,5 @@ +{ + "lang": "curl", + "label": "cURL", + "source": "curl -L 'https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY' \\\n-H 'Referer: http://localhost'", +} diff --git a/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.javascript.yml b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.javascript.yml new file mode 100644 index 00000000..b5afb664 --- /dev/null +++ b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.javascript.yml @@ -0,0 +1,5 @@ +{ + "lang": "javascript", + "label": "JavaScript", + "source": "const requestOptions = {\n method: \"GET\",\n redirect: \"follow\"\n};\n\nfetch(\"https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY\", requestOptions)\n .then((response) => response.text())\n .then((result) => console.log(result))\n .catch((error) => console.error(error));", +} diff --git a/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.nodejs.yml b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.nodejs.yml new file mode 100644 index 00000000..ec3bb3f6 --- /dev/null +++ b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.nodejs.yml @@ -0,0 +1,5 @@ +{ + "lang": "nodejs", + "label": "NodeJS", + "source": "const axios = require('axios');\n\nlet config = {\n method: 'get',\n maxBodyLength: Infinity,\n url: 'https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY',\n headers: { \n 'Referer': 'http://localhost'\n }\n};\n\naxios.request(config)\n.then((response) => {\n console.log(JSON.stringify(response.data));\n})\n.catch((error) => {\n console.log(error);\n});\n", +} diff --git a/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.python.yml b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.python.yml new file mode 100644 index 00000000..cfc245b4 --- /dev/null +++ b/specification/snippets/woosmap_http_maps_static/woosmap_http_maps_static.python.yml @@ -0,0 +1,5 @@ +{ + "lang": "python", + "label": "Python", + "source": "import requests\n\nurl = \"https://api.woosmap.com/maps/static?lat=48.8566&lng=2.3522&zoom=14&width=600&height=400&markers=48.8566%2C2.3522&language=en&key=YOUR_PUBLIC_API_KEY\"\n\npayload = {}\nheaders = {\n 'Referer': 'http://localhost'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n", +}