{
	"info": {
		"_postman_id": "e45f91e2-b06c-4b68-8097-40ffc86dbe32",
		"name": "Visit Ekiti APIs",
		"description": "Collection containing the API to upload tourist centers for the Visit Ekiti platform.",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Add Tourist Center",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "center_name",
							"value": "Ikogosi Warm Springs",
							"type": "text"
						},
						{
							"key": "description",
							"value": "A popular tourist attraction in Ekiti State where warm and cold springs meet.",
							"type": "text"
						},
						{
							"key": "location",
							"value": "Ikogosi, Ekiti State",
							"type": "text"
						},
						{
							"key": "conditions",
							"value": "No pets allowed, swimming only in designated areas.",
							"type": "text"
						},
						{
							"key": "fee",
							"value": "1500.00",
							"type": "text"
						},
						{
							"key": "features[]",
							"value": "Warm Spring",
							"type": "text"
						},
						{
							"key": "features[]",
							"value": "Cold Spring",
							"type": "text"
						},
						{
							"key": "features[]",
							"value": "Nature Trail",
							"type": "text"
						},
						{
							"key": "images[]",
							"description": "Image 1 (Required)",
							"type": "file",
							"src": []
						},
						{
							"key": "images[]",
							"description": "Image 2 (Optional)",
							"type": "file",
							"src": []
						},
						{
							"key": "images[]",
							"description": "Image 3 (Optional)",
							"type": "file",
							"src": []
						},
						{
							"key": "images[]",
							"description": "Image 4 (Optional)",
							"type": "file",
							"src": []
						},
						{
							"key": "images[]",
							"description": "Image 5 (Optional)",
							"type": "file",
							"src": []
						},
						{
							"key": "images[]",
							"description": "Image 6 (Optional)",
							"type": "file",
							"src": []
						},
						{
							"key": "images[]",
							"description": "Image 7 (Optional)",
							"type": "file",
							"src": []
						},
						{
							"key": "images[]",
							"description": "Image 8 (Optional)",
							"type": "file",
							"src": []
						}
					]
				},
				"url": {
					"raw": "http://localhost/visitekiti/add-tourist-center.php",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"path": [
						"visitekiti",
						"add-tourist-center.php"
					]
				}
			},
			"response": [
				{
					"name": "Success Response",
					"originalRequest": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": []
						},
						"url": {
							"raw": "http://localhost/visitekiti/add-tourist-center.php",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"path": [
								"visitekiti",
								"add-tourist-center.php"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Content-Type",
							"value": "application/json"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": true,\n    \"message\": \"Tourist center added successfully\",\n    \"center_id\": 1\n}"
				},
				{
					"name": "Error - Missing Fields",
					"originalRequest": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": []
						},
						"url": {
							"raw": "http://localhost/visitekiti/add-tourist-center.php",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"path": [
								"visitekiti",
								"add-tourist-center.php"
							]
						}
					},
					"status": "Unprocessable Entity",
					"code": 422,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Content-Type",
							"value": "application/json"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": false,\n    \"message\": \"center_name is required\"\n}"
				},
				{
					"name": "Error - Too Many Images",
					"originalRequest": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": []
						},
						"url": {
							"raw": "http://localhost/visitekiti/add-tourist-center.php",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"path": [
								"visitekiti",
								"add-tourist-center.php"
							]
						}
					},
					"status": "Unprocessable Entity",
					"code": 422,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "Content-Type",
							"value": "application/json"
						}
					],
					"cookie": [],
					"body": "{\n    \"status\": false,\n    \"message\": \"You can only upload up to 8 images\"\n}"
				}
			]
		}
	]
}
