{
	"info": {
		"_postman_id": "c3a62fec-adfe-4801-921a-c96ced8b1559",
		"name": "features",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Spots",
			"item": [
				{
					"name": "Spot",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \n    \"field_id\": 16024,\n    \"name\": \"otra prueba\",\n\t\"shape\": \"POLYGON ((-62.18359997599945 -32.626928902791015, -62.18402802944183 -32.626901795339236, -62.183995114097595 -32.62719997685717, -62.18336284160615 -32.62726942735445, -62.183384299278266 -32.626956010234586, -62.18359997599945 -32.626928902791015))\",\n\n    \"texts\": [{\"text\": \"prueba coment\", \n    \t\t   \"timestamp_usr\": \"2020-07-23T17:58:35Z\",\n    \t\t\t\"uuid\": \"c9bc09e4-cda9-11ea-bd20-3bdd88fa4b8c\"        },\n    \t\t   {\"text\": \"prueba2 comment\", \n    \t\t   \"timestamp_usr\": \"2020-07-23T17:59:35Z\",\n    \t\t   \t\"uuid\": \"c5bb076e-cda9-11ea-bd20-87b2b7815efe\",\n\t\t   \t    \"imgs\": [{\"uuid\": \"386c969c-cdaa-11ea-bd20-ab096b512d25\",\n\t\t\t\t\t\t \"coordinate\": \"POINT (-62.185 -32.62)\"}]\n    \t\t   }],\n    \"tag_id\": 3\n}\n"
						},
						"url": {
							"raw": "{{URL}}/api/spots/spot",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"spot"
							]
						}
					},
					"response": []
				},
				{
					"name": "Spots",
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{URL}}/api/spots/spot?field_id=16024&page_size=-1",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"spot"
							],
							"query": [
								{
									"key": "uuid",
									"value": "13d020f4-bb14-11ea-bd20-2348d2a60d2d",
									"disabled": true
								},
								{
									"key": "farm_id",
									"value": "3400",
									"disabled": true
								},
								{
									"key": "field_id",
									"value": "16024"
								},
								{
									"key": "page_size",
									"value": "-1"
								},
								{
									"key": "page",
									"value": null,
									"disabled": true
								},
								{
									"key": "date_from",
									"value": "2020-07-23T00:00:00Z",
									"disabled": true
								},
								{
									"key": "date_to",
									"value": "2020-07-24T00:00:00Z",
									"disabled": true
								},
								{
									"key": "sample_set_type_id",
									"value": "2",
									"disabled": true
								},
								{
									"key": "sample_set_type",
									"value": "Scouting",
									"disabled": true
								},
								{
									"key": "tag_uuid",
									"value": "7cd69f3c-d0fa-11ea-bd20-2b440480e84e",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Spot",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"type": "text",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \n    \"uuid\": \"c4f242ba-cdaa-11ea-bd20-23afdef35487\",\n    \"name\": \"otra pruebita\",\n\t\"tags\": [\n\t\t\t{\"uuid\": \"7cd69f3f-d0fa-11ea-bd20-4fac74b77323\"},\n\t\t\t{\"tag\": \"otro tag desde patch onda app\",\n\t\t\t \"uuid\": \"c56ff9fc-d1cf-11ea-bd20-577ae32a9f68\"\n\t\t\t}\n\t\t],\n    \n    \"data\": {\"N\": 15,\n    \t\t \"P\": 56 }\n    \t\n                \n}\n"
						},
						"url": {
							"raw": "{{URL}}/api/spots/spot",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"spot"
							]
						}
					},
					"response": []
				},
				{
					"name": "Spots",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{URL}}/api/spots/spot?uuid=e102da70-dbd5-11e9-8e7b-2b602a7eca94",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"spot"
							],
							"query": [
								{
									"key": "uuid",
									"value": "e102da70-dbd5-11e9-8e7b-2b602a7eca94"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Get All spots (including all msgs)",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"field_id\": 16024,\n    \"page_size\": 59,\n    \"page\": 0\n}"
						},
						"url": {
							"raw": "{{URL}}/api/spots/all",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"all"
							]
						}
					},
					"response": []
				},
				{
					"name": "Msg",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"uuid\": \"4bebaee4-cd2b-11ea-bd20-5be37c52d1e6\",\n\n    \"texts\": [{\"text\": \"prueba2 post msg\", \n    \t\t   \"timestamp_usr\": \"2020-07-22T17:59:35Z\",\n\t\t   \t    \"imgs\": [{\"uuid\": \"8e3017f1-cdbb-11ea-bd20-47f229dcf616\",\n\t\t\t\t\t\t \"coordinate\": \"POINT (-62.185 -32.62)\"}]\n    \t\t   },\n    \t\t   {\"text\": \"prueba post msg\", \n    \t\t   \"timestamp_usr\": \"2020-07-22T17:58:35Z\",\n    \t\t\t\"uuid\": \"8e3017f0-cdbb-11ea-bd20-affcc8974c3c\"        }]\n}"
						},
						"url": {
							"raw": "{{URL}}/api/spots/msgs",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"msgs"
							]
						}
					},
					"response": []
				},
				{
					"name": "Msgs",
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{URL}}/api/spots/msgs?uuid=4bebaee4-cd2b-11ea-bd20-5be37c52d1e6&page_size=1&page=1",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"msgs"
							],
							"query": [
								{
									"key": "uuid",
									"value": "4bebaee4-cd2b-11ea-bd20-5be37c52d1e6"
								},
								{
									"key": "page_size",
									"value": "1"
								},
								{
									"key": "page",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Msg",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{URL}}/api/spots/msgs?uuid=",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"msgs"
							],
							"query": [
								{
									"key": "uuid",
									"value": "",
									"description": "msg uuid"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Img",
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{URL}}/api/spots/msgs/imgs/8e3017f1-cdbb-11ea-bd20-47f229dcf616?",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"msgs",
								"imgs",
								"8e3017f1-cdbb-11ea-bd20-47f229dcf616"
							],
							"query": [
								{
									"key": "uuid",
									"value": "8e3017f1-cdbb-11ea-bd20-47f229dcf616",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "img",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "img",
									"type": "file",
									"src": ""
								}
							]
						},
						"url": {
							"raw": "{{URL}}/api/spots/msgs/imgs?uuid=8e3017f1-cdbb-11ea-bd20-47f229dcf616",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"msgs",
								"imgs"
							],
							"query": [
								{
									"key": "uuid",
									"value": "8e3017f1-cdbb-11ea-bd20-47f229dcf616"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Tag",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"uuid\": null,\n\t\"tag\": \"prueba_\"\n}"
						},
						"url": {
							"raw": "{{URL}}/api/spots/tags",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"tags"
							]
						}
					},
					"response": []
				},
				{
					"name": "Tags",
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{URL}}/api/spots/tags?general=false",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"tags"
							],
							"query": [
								{
									"key": "general",
									"value": "false"
								},
								{
									"key": "user",
									"value": "false",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Tags",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"uuid\": \"a0e5955a-d121-11ea-bd20-e3ea01ceae5e\",\n\t\"tag\": \"prueba_\"\n}"
						},
						"url": {
							"raw": "{{URL}}/api/spots/tags",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"tags"
							]
						}
					},
					"response": []
				},
				{
					"name": "Tags",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "{{URL}}/api/spots/tags?uuid=24f0957e-d123-11ea-bd20-6fe11499a67b",
							"host": [
								"{{URL}}"
							],
							"path": [
								"api",
								"spots",
								"tags"
							],
							"query": [
								{
									"key": "uuid",
									"value": "24f0957e-d123-11ea-bd20-6fe11499a67b"
								}
							]
						}
					},
					"response": []
				}
			]
		}
	]
}