{
	"info": {
		"_postman_id": "",
		"name": "DC CMS",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": ""
	},
	"item": [
		{
			"name": "Page",
			"item": [
				{
					"name": "Page Data",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/page-data?type=id&value=1&image=yes&post=yes&file=yes&gallery=yes",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"page-data"
							],
							"query": [
								{
									"key": "type",
									"value": "id",
									"description": "id/slug/type"
								},
								{
									"key": "value",
									"value": "1",
									"description": "Page ID / Page Slug /  Type ID"
								},
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "post",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "file",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "yes",
									"description": "yes/no"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Child Pages Data",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/child-pages?page_id=1&image=yes&post=yes&file=no&gallery=no&sections=yes",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"child-pages"
							],
							"query": [
								{
									"key": "page_id",
									"value": "1",
									"description": "Parent page ID"
								},
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "post",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "file",
									"value": "no",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "no",
									"description": "yes/no"
								},
								{
									"key": "sections",
									"value": "yes",
									"description": "yes/no  Sections of child pages"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Posts Data",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/page-post-data?page_id=1&type=slug&value&limit",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"page-post-data"
							],
							"query": [
								{
									"key": "page_id",
									"value": "1",
									"description": "Always required (Page ID /Section ID)"
								},
								{
									"key": "type",
									"value": "slug",
									"description": "page/slug/type"
								},
								{
									"key": "value",
									"value": null,
									"description": "post_slug, type_id"
								},
								{
									"key": "limit",
									"value": null,
									"description": "10/15/20"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Page & Sections Data",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/sections?type=slug&value=home&get_section=yes&image=yes&post=yes&file=no&gallery=no",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"sections"
							],
							"query": [
								{
									"key": "type",
									"value": "slug",
									"description": "id/slug/type"
								},
								{
									"key": "value",
									"value": "home",
									"description": "page id/page slug/type id"
								},
								{
									"key": "get_section",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "post",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "file",
									"value": "no",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "no",
									"description": "yes/no"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Search",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/search?keyword=home",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"search"
							],
							"query": [
								{
									"key": "keyword",
									"value": "home"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Global Settings Data",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/settings-data",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"settings-data"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Category",
			"item": [
				{
					"name": "All Category",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/all-category",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"all-category"
							]
						}
					},
					"response": []
				},
				{
					"name": "Category Data",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/category-data?type=id&value=1&image=yes&gallery=yes&specification=no",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"category-data"
							],
							"query": [
								{
									"key": "type",
									"value": "id",
									"description": "id/slug"
								},
								{
									"key": "value",
									"value": "1",
									"description": "Category ID/Category Slug"
								},
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "specification",
									"value": "no",
									"description": "yes/no"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Child Categories",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/child-category?category_id=1&image=yes&gallery=yes&specification=no",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"child-category"
							],
							"query": [
								{
									"key": "category_id",
									"value": "1",
									"description": "Parent Category ID"
								},
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "specification",
									"value": "no",
									"description": "yes/no"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Product",
			"item": [
				{
					"name": "Product Data",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/product-data?type=id&value=1&image=yes&post=yes&file=yes&specification=yes&gallery=yes&variation=yes",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"product-data"
							],
							"query": [
								{
									"key": "type",
									"value": "id",
									"description": "id / slug"
								},
								{
									"key": "value",
									"value": "1",
									"description": "Product ID / Product Slug"
								},
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "post",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "file",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "specification",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "variation",
									"value": "yes",
									"description": "yes/no"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "All Featured Products",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/all-featured-products?image=yes&post=yes&file=yes&specification=yes&gallery=yes&variation=yes&limit",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"all-featured-products"
							],
							"query": [
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "post",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "file",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "specification",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "variation",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "limit",
									"value": null,
									"description": "10/15/20"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "All Products",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/all-products?image=yes&post=yes&file=yes&specification=yes&gallery=yes&variation=yes&limit",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"all-products"
							],
							"query": [
								{
									"key": "image",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "post",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "file",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "specification",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "variation",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "limit",
									"value": null,
									"description": "10/20/30"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Products by Category",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/product-by-category?category_id=2&image&post&file=yes&specification&gallery&variation",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"product-by-category"
							],
							"query": [
								{
									"key": "category_id",
									"value": "2",
									"description": "Category ID"
								},
								{
									"key": "image",
									"value": null,
									"description": "yes/no"
								},
								{
									"key": "post",
									"value": null,
									"description": "yes/no"
								},
								{
									"key": "file",
									"value": "yes",
									"description": "yes/no"
								},
								{
									"key": "specification",
									"value": null,
									"description": "yes/no"
								},
								{
									"key": "gallery",
									"value": null,
									"description": "yes/no"
								},
								{
									"key": "variation",
									"value": null,
									"description": "yes/no"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Form",
			"item": [
				{
					"name": "Form  Fields",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/form-fields?form_id=contact-form",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"form-fields"
							],
							"query": [
								{
									"key": "form_id",
									"value": "contact-form"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Form Submit",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "spam_protector",
									"value": "",
									"type": "text"
								},
								{
									"key": "form_id",
									"value": "contact-form",
									"type": "text"
								},
								{
									"key": "name",
									"value": "Dcastalia",
									"type": "text"
								},
								{
									"key": "phone",
									"value": "01400 999 666",
									"type": "text"
								},
								{
									"key": "email",
									"value": "test@mail.com",
									"type": "text"
								},
								{
									"key": "message",
									"value": "Test message from API",
									"type": "text"
								},
								{
									"key": "file",
									"type": "file",
									"src": []
								}
							]
						},
						"url": {
							"raw": "{{BASE_URL}}/api/post-req-data/form-submit",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"post-req-data",
								"form-submit"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Menu",
			"item": [
				{
					"name": "Menu by ID",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{BASE_URL}}/api/get-req-data/menu-data?menu_id=1",
							"host": [
								"{{BASE_URL}}"
							],
							"path": [
								"api",
								"get-req-data",
								"menu-data"
							],
							"query": [
								{
									"key": "menu_id",
									"value": "1"
								}
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"variable": [
		{
			"key": "BASE_URL",
			"value": "http://localhost/CMS/"
		}
	]
}