{
	"info": {
		"_postman_id": "9d62b6f9-b836-4c95-96bc-22a63228dc08",
		"name": "AdonisJS Base Project",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "User",
			"item": [
				{
					"name": "Get User",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "79efb391c61ea36ba578ff156df157c7XXOT6Q2fmAM2/hIET2PRijtifNKaW54SU60Zmf7Xwd1nitoNvdRhltmRmB5FXew+",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}api/user",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user"
							],
							"query": [
								{
									"key": "page",
									"value": "1",
									"disabled": true
								},
								{
									"key": "limit",
									"value": "10",
									"disabled": true
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Create User",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "1234567890",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "name",
									"value": "Ali Raza",
									"type": "text"
								},
								{
									"key": "email",
									"value": "ali.raza6@yopmail.com",
									"type": "text"
								},
								{
									"key": "mobile_no",
									"value": "1-2099216583",
									"type": "text"
								},
								{
									"key": "password",
									"value": "Admin@123",
									"type": "text"
								},
								{
									"key": "device_type",
									"value": "android",
									"type": "text"
								},
								{
									"key": "device_token",
									"value": "1234567890",
									"type": "text"
								},
								{
									"key": "confirm_password",
									"value": "Admin@123",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Record By Slug",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "79efb391c61ea36ba578ff156df157c7XXOT6Q2fmAM2/hIET2PRijtifNKaW54SU60Zmf7Xwd1nitoNvdRhltmRmB5FXew+",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}api/user/ali-raza1261",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"ali-raza1261"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update User",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "769882e1e5b52c713a7f0285bb92e85bjUUPXh3RdFEPrs7ziquXZ/5asYz49Go4HDpa31/hqVu2OPsjsRzrJvIJ7dIXhuyo",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "name",
									"value": "raza nasir",
									"type": "text",
									"disabled": true
								},
								{
									"key": "image_url",
									"type": "file",
									"src": "/home/ali/Pictures/blue-poisonous-frogs-image.jpg"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user/ali-raza1357",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"ali-raza1357"
							]
						}
					},
					"response": []
				},
				{
					"name": "User Login",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "email",
									"value": "ali.raza6@yopmail.com",
									"description": "required",
									"type": "text"
								},
								{
									"key": "password",
									"value": "Admin@123",
									"description": "required",
									"type": "text"
								},
								{
									"key": "device_type",
									"value": "ios",
									"description": "required = ios, android, web",
									"type": "text"
								},
								{
									"key": "device_token",
									"value": "1234567890",
									"description": "required",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user/login",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"login"
							]
						}
					},
					"response": []
				},
				{
					"name": "Forgot Password",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "email",
									"value": "retrocube@yopmail.com",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user/forgot-password",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"forgot-password"
							]
						}
					},
					"response": []
				},
				{
					"name": "Change Password",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "6fdc52f17f0afbc1e612c735c376268191T30e4PH2Of6q4cG7Eq0IU1Dp1p6MMr4Me8ORb3RvcRTO2J5Jj4OrHxLBJad6cy",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "current_password",
									"value": "Admin@123$",
									"type": "text"
								},
								{
									"key": "new_password",
									"value": "Admin@123",
									"type": "text"
								},
								{
									"key": "confirm_password",
									"value": "Admin@123",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user/change-password",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"change-password"
							]
						}
					},
					"response": []
				},
				{
					"name": "User Logout",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "6fdc52f17f0afbc1e612c735c376268191T30e4PH2Of6q4cG7Eq0IU1Dp1p6MMr4Me8ORb3RvcRTO2J5Jj4OrHxLBJad6cy",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "device_type",
									"value": "ios",
									"description": "required = ios, android",
									"type": "text"
								},
								{
									"key": "device_token",
									"value": "1234567890",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user/logout",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"logout"
							]
						}
					},
					"response": []
				},
				{
					"name": "Social Login",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "12345678",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "name",
									"value": "Ali Razaaa",
									"description": "optional",
									"type": "text"
								},
								{
									"key": "email",
									"value": "ali.raza3@yopmail.com",
									"description": "optional",
									"type": "text"
								},
								{
									"key": "platform_id",
									"value": "1234567890",
									"description": "required",
									"type": "text"
								},
								{
									"key": "platform_type",
									"value": "google",
									"description": "required = google, facebook, apple",
									"type": "text"
								},
								{
									"key": "device_type",
									"value": "android",
									"description": "required = android, ios, web",
									"type": "text"
								},
								{
									"key": "device_token",
									"value": "1234567890",
									"description": "required",
									"type": "text"
								},
								{
									"key": "image_url",
									"value": "https://www.pngfind.com/pngs/m/610-6104451_image-placeholder-png-user-profile-placeholder-image-png.png",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user/social-login",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"social-login"
							]
						}
					},
					"response": []
				},
				{
					"name": "Verify Code",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "1234567890",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "f81616a61ab3737107cd5c49ae713033uzsG+eP2E3iF7u5NBBF2o91yjRqRLNubVR+a890Zl9nIz+opXHtLyw0QpXSzGHTy",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "code",
									"value": "3770",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "{{base_url}}api/user/verify/code",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"verify",
								"code"
							]
						}
					},
					"response": []
				},
				{
					"name": "Resend Code",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "token",
								"value": "1234567890",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "f81616a61ab3737107cd5c49ae713033uzsG+eP2E3iF7u5NBBF2o91yjRqRLNubVR+a890Zl9nIz+opXHtLyw0QpXSzGHTy",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}api/user/resend/code",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"user",
								"resend",
								"code"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Notification",
			"item": [
				{
					"name": "Notification List",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "token",
								"value": "1234567890",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "de251d881388a0d2b5f8b8ad81865ee4A33q3gHGJqgJVRyt+J/02q50tKMUz4Zrf/VtTSdwayTWZHbjfa8bqjW7rCKpqBXG",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}api/notification",
							"host": [
								"{{base_url}}api"
							],
							"path": [
								"notification"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Admin",
			"item": [
				{
					"name": "Auth",
					"item": [
						{
							"name": "Login",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "retrocube@yopmail.com",
											"type": "text"
										},
										{
											"key": "password",
											"value": "Admin@123$",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{base_url}}api/admin/login",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"admin",
										"login"
									]
								}
							},
							"response": []
						},
						{
							"name": "Forgot Password",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "email",
											"value": "retrocube@yopmail.com",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{base_url}}api/user/forgot-password",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"user",
										"forgot-password"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update User",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "token",
										"value": "12345678",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "769882e1e5b52c713a7f0285bb92e85bjUUPXh3RdFEPrs7ziquXZ/5asYz49Go4HDpa31/hqVu2OPsjsRzrJvIJ7dIXhuyo",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "name",
											"value": "raza nasir",
											"type": "text",
											"disabled": true
										},
										{
											"key": "image_url",
											"type": "file",
											"src": "/home/ali/Pictures/blue-poisonous-frogs-image.jpg"
										}
									]
								},
								"url": {
									"raw": "{{base_url}}api/user/ali-raza1357",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"user",
										"ali-raza1357"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Record By Slug",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "350ddf1be22ce4f4dd5c84652951dac2xAMoU9Rgem/KX5q/tK3Kf71wTy0n+Iml+0eZH1W1skGpVxVcNwMFiVifh5zviQ+O",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{base_url}}api/user/retrocube",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"user",
										"retrocube"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update User",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "token",
										"value": "12345678",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "769882e1e5b52c713a7f0285bb92e85bjUUPXh3RdFEPrs7ziquXZ/5asYz49Go4HDpa31/hqVu2OPsjsRzrJvIJ7dIXhuyo",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "name",
											"value": "raza nasir",
											"type": "text",
											"disabled": true
										},
										{
											"key": "image_url",
											"type": "file",
											"src": "/home/ali/Pictures/blue-poisonous-frogs-image.jpg"
										}
									]
								},
								"url": {
									"raw": "{{base_url}}api/user/ali-raza1357",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"user",
										"ali-raza1357"
									]
								}
							},
							"response": []
						},
						{
							"name": "Change Password",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "token",
										"value": "12345678",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "6fdc52f17f0afbc1e612c735c376268191T30e4PH2Of6q4cG7Eq0IU1Dp1p6MMr4Me8ORb3RvcRTO2J5Jj4OrHxLBJad6cy",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "current_password",
											"value": "Admin@123$",
											"type": "text"
										},
										{
											"key": "new_password",
											"value": "Admin@123",
											"type": "text"
										},
										{
											"key": "confirm_password",
											"value": "Admin@123",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{base_url}}api/user/change-password",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"user",
										"change-password"
									]
								}
							},
							"response": []
						}
					]
				},
				{
					"name": "Cms Role",
					"item": [
						{
							"name": "Create Role",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "120ebc1e064ca0a52c078a99c1f67e1bAC2SRRq4J2StSzvE4TvNFEDCme8MJnlzjIP0zkjSHy4J8OfSxrAxWlJ143IWYZBK",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "title",
											"value": "Sub Adminsss",
											"description": "required",
											"type": "text"
										},
										{
											"key": "is_super_admin",
											"value": "0",
											"description": "required = 0, 1",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_add]",
											"value": "1",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_view]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_delete]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_update]",
											"value": "1",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_add]",
											"value": "1",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_view]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_delete]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_update]",
											"value": "1",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{base_url}}api/admin/cms-role",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"admin",
										"cms-role"
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Cms Role",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "120ebc1e064ca0a52c078a99c1f67e1bAC2SRRq4J2StSzvE4TvNFEDCme8MJnlzjIP0zkjSHy4J8OfSxrAxWlJ143IWYZBK",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{base_url}}api/admin/cms-role",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"admin",
										"cms-role"
									],
									"query": [
										{
											"key": "keyword",
											"value": "Sub Adminsss",
											"disabled": true
										}
									]
								}
							},
							"response": []
						},
						{
							"name": "Get Cms Role By Slug",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "120ebc1e064ca0a52c078a99c1f67e1bAC2SRRq4J2StSzvE4TvNFEDCme8MJnlzjIP0zkjSHy4J8OfSxrAxWlJ143IWYZBK",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{base_url}}api/admin/cms-role/sub-adminsss",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"admin",
										"cms-role",
										"sub-adminsss"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update Cms Role",
							"request": {
								"method": "PUT",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "120ebc1e064ca0a52c078a99c1f67e1bAC2SRRq4J2StSzvE4TvNFEDCme8MJnlzjIP0zkjSHy4J8OfSxrAxWlJ143IWYZBK",
										"type": "text"
									}
								],
								"body": {
									"mode": "formdata",
									"formdata": [
										{
											"key": "title",
											"value": "Sub Admin",
											"type": "text"
										},
										{
											"key": "is_super_admin",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_add]",
											"value": "1",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_view]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_delete]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b471][is_update]",
											"value": "1",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_add]",
											"value": "1",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_view]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_delete]",
											"value": "0",
											"type": "text"
										},
										{
											"key": "module_id[622236e2626b02fe87e1b472][is_update]",
											"value": "0",
											"type": "text"
										}
									]
								},
								"url": {
									"raw": "{{base_url}}api/admin/cms-role/sub-adminsss",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"admin",
										"cms-role",
										"sub-adminsss"
									]
								}
							},
							"response": []
						},
						{
							"name": "Delete Cms Role",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "token",
										"value": "1234567890",
										"type": "text"
									},
									{
										"key": "Authorization",
										"value": "120ebc1e064ca0a52c078a99c1f67e1bAC2SRRq4J2StSzvE4TvNFEDCme8MJnlzjIP0zkjSHy4J8OfSxrAxWlJ143IWYZBK",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{base_url}}api/admin/cms-role/sub-adminsss",
									"host": [
										"{{base_url}}api"
									],
									"path": [
										"admin",
										"cms-role",
										"sub-adminsss"
									]
								}
							},
							"response": []
						}
					]
				}
			]
		},
		{
			"name": "Test Push Notification",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "token",
						"value": "1234567890",
						"type": "text"
					},
					{
						"key": "Authorization",
						"value": "de251d881388a0d2b5f8b8ad81865ee4A33q3gHGJqgJVRyt+J/02q50tKMUz4Zrf/VtTSdwayTWZHbjfa8bqjW7rCKpqBXG",
						"type": "text"
					}
				],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "device_token[]",
							"value": "2aa8d3ea-8cdf-11ec-993d-ca1b82451ba4",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "{{base_url}}api/send-notification",
					"host": [
						"{{base_url}}api"
					],
					"path": [
						"send-notification"
					]
				}
			},
			"response": []
		}
	]
}