{
	"info": {
		"_postman_id": "random-uuid",
		"name": "Pathshalaa Tutor APIs",
		"description": "Collection of all APIs related to tutor role (role_id=3)",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Authentication",
			"item": [
				{
					"name": "Login Tutor",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"email_or_mobile\": \"tutor@example.com\",\n    \"password\": \"123456\",\n    \"device_token_id\": \"your_device_token_here\"\n}"
						},
						"url": {
							"raw": "{{base_url}}/api/tutor/login",
							"path": ["api", "tutor", "login"]
						},
						"description": "Login with mobile number or email and password"
					}
				},
				{
					"name": "Register Tutor",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"John Doe\",\n    \"email\": \"tutor@example.com\",\n    \"mobile\": \"1234567890\",\n    \"password\": \"123456\"\n}"
						},
						"url": {
							"raw": "{{base_url}}/api/tutor/register",
							"path": ["api", "tutor", "register"]
						},
						"description": "Register a new tutor"
					}
				},
				{
					"name": "Verify OTP",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"mobile\": \"1234567890\",\n    \"otp\": \"123456\"\n}"
						},
						"url": {
							"raw": "{{base_url}}/api/tutor/verify-otp",
							"path": ["api", "tutor", "verify-otp"]
						},
						"description": "Verify OTP for tutor registration or login"
					}
				}
			]
		},
		{
			"name": "Profile Management",
			"item": [
				{
					"name": "Change Password",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"value": "Bearer {{token}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"old_password\": \"old_password\",\n    \"new_password\": \"new_password\",\n    \"confirm_password\": \"new_password\"\n}"
						},
						"url": {
							"raw": "{{base_url}}/api/tutor/change-password",
							"path": ["api", "tutor", "change-password"]
						},
						"description": "Change tutor's password"
					}
				},
				{
					"name": "Update Profile Details",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"value": "Bearer {{token}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"name\": \"John Doe\",\n    \"email\": \"tutor@example.com\",\n    \"mobile\": \"1234567890\",\n    \"profile_image\": \"image_file\"\n}"
						},
						"url": {
							"raw": "{{base_url}}/api/tutor/update-profile-detail",
							"path": ["api", "tutor", "update-profile-detail"]
						},
						"description": "Update tutor's profile details"
					}
				}
			]
		},
		{
			"name": "Dashboard",
			"item": [
				{
					"name": "Get Dashboard Counts",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{token}}"
							}
						],
						"url": {
							"raw": "{{base_url}}/api/tutor/dashboard",
							"path": ["api", "tutor", "dashboard"]
						},
						"description": "Get tutor dashboard statistics"
					}
				}
			]
		},
		{
			"name": "School Management",
			"item": [
				{
					"name": "Get School List",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{token}}"
							}
						],
						"url": {
							"raw": "{{base_url}}/api/tutor/login-as-school-list",
							"path": ["api", "tutor", "login-as-school-list"]
						},
						"description": "Get list of schools associated with tutor"
					}
				},
				{
					"name": "Login As School",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"value": "Bearer {{token}}"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"school_id\": \"1\"\n}"
						},
						"url": {
							"raw": "{{base_url}}/api/tutor/login-as-school-update",
							"path": ["api", "tutor", "login-as-school-update"]
						},
						"description": "Login as a specific school"
					}
				}
			]
		},
		{
			"name": "Wallet",
			"item": [
				{
					"name": "Get Redeemed Request History",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "Bearer {{token}}"
							}
						],
						"url": {
							"raw": "{{base_url}}/api/tutor/redeemed-request-history",
							"path": ["api", "tutor", "redeemed-request-history"]
						},
						"description": "Get history of wallet redemption requests"
					}
				}
			]
		}
	],
	"variable": [
		{
			"key": "base_url",
			"value": "http://localhost",
			"type": "string"
		}
	]
}