{"openapi":"3.0.3","info":{"title":"AI Assistant API","description":"Postman collection for AI Assistant backend APIs, including Android Google Play in-app purchase verification.","version":"1.0.0","contact":{}},"servers":[{"url":"http://localhost:8000"}],"paths":{"/api-docs":{"get":{"tags":["Docs"],"summary":"Swagger UI","description":"Swagger UI","operationId":"swaggerUi","responses":{"200":{"description":""}},"security":[{}]}},"/api-docs.json":{"get":{"tags":["Docs"],"summary":"OpenAPI JSON","description":"OpenAPI JSON","operationId":"openapiJson","responses":{"200":{"description":""}},"security":[{}]}},"/api/user/login":{"post":{"tags":["User"],"summary":"Login","description":"Login","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"test@example.com"},"password":{"type":"string","example":"password123"}}},"examples":{"Login":{"value":{"email":"test@example.com","password":"password123"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/user/signup":{"post":{"tags":["User"],"summary":"Signup","description":"Signup","operationId":"signup","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"{{email}}"},"name":{"type":"string","example":"Test User"},"password":{"type":"string","example":"{{password}}"},"profileImage":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/user/context":{"get":{"tags":["User"],"summary":"Current User Context","description":"Current User Context","operationId":"currentUserContext","responses":{"200":{"description":""}}}},"/api/user/forgot":{"post":{"tags":["User"],"summary":"Forgot Password","description":"Forgot Password","operationId":"forgotPassword","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"test@example.com"}}},"examples":{"Forgot Password":{"value":{"email":"test@example.com"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/user/verify-otp":{"post":{"tags":["User"],"summary":"Verify OTP","description":"Verify OTP","operationId":"verifyOtp","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"{{email}}"},"otp":{"type":"string","example":"{{otp}}"},"token":{"type":"string","example":"{{resetPasswordToken}}"}}},"examples":{"Verify OTP":{"value":{"email":"{{email}}","otp":"{{otp}}","token":"{{resetPasswordToken}}"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/user/otp/resend":{"post":{"tags":["User"],"summary":"Resend OTP","description":"Resend OTP","operationId":"resendOtp","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"test@example.com"}}},"examples":{"Resend OTP":{"value":{"email":"test@example.com"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/user/set-new-password/test@example.com":{"post":{"tags":["User"],"summary":"Set New Password","description":"Set New Password","operationId":"setNewPassword","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string","example":"{{newPassword}}"},"resetPasswordToken":{"type":"string","example":"{{resetPasswordToken}}"}}},"examples":{"Set New Password":{"value":{"password":"{{newPassword}}","resetPasswordToken":"{{resetPasswordToken}}"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/user/profile":{"put":{"tags":["User"],"summary":"Update Profile","description":"Update Profile","operationId":"updateProfile","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"Updated User"},"profileImage":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":""}}}},"/api/user/update-password":{"put":{"tags":["User"],"summary":"Update Password","description":"Update Password","operationId":"updatePassword","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"oldPassword":{"type":"string","example":"password123"},"password":{"type":"string","example":"password456"}}},"examples":{"Update Password":{"value":{"oldPassword":"password123","password":"password456"}}}}}},"responses":{"200":{"description":""}}}},"/api/user/verify-email/{mailToken}":{"get":{"tags":["User"],"summary":"Verify Email","description":"Verify Email","operationId":"verifyEmail","responses":{"200":{"description":""}},"security":[{}]},"parameters":[{"name":"mailToken","in":"path","required":true,"schema":{"type":"string"}}]},"/api/user/auth/google":{"get":{"tags":["User"],"summary":"Google OAuth Start","description":"Google OAuth Start","operationId":"googleOauthStart","responses":{"200":{"description":""}},"security":[{}]}},"/api/chat/chat":{"post":{"tags":["Chat"],"summary":"Send Chat Message","description":"Send Chat Message","operationId":"sendChatMessage","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"I has a apple."}}},"examples":{"Send Chat Message":{"value":{"message":"I has a apple."}}}}}},"responses":{"200":{"description":""}}}},"/api/chat/getChat":{"get":{"tags":["Chat"],"summary":"Get Chat History","description":"Get Chat History","operationId":"getChatHistory","responses":{"200":{"description":""}}}},"/api/chat/text-to-speech":{"post":{"tags":["Chat"],"summary":"Text To Speech","description":"Text To Speech","operationId":"textToSpeech","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","example":"Hello, this is a text to speech test."}}},"examples":{"Text To Speech":{"value":{"text":"Hello, this is a text to speech test."}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/upload":{"post":{"tags":["Upload"],"summary":"Upload File","description":"Upload File","operationId":"uploadFile","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/upload/delete":{"post":{"tags":["Upload"],"summary":"Delete Uploaded File","description":"Delete Uploaded File","operationId":"deleteUploadedFile","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","example":"{{uploadedFileUrl}}"}}},"examples":{"Delete Uploaded File":{"value":{"url":"{{uploadedFileUrl}}"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/api/subscription/plans":{"get":{"tags":["Subscription"],"summary":"Plans","description":"Plans","operationId":"plans","responses":{"200":{"description":""}}}},"/api/subscription/checkout":{"post":{"tags":["Subscription"],"summary":"Checkout","description":"Checkout","operationId":"checkout","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"string","example":"1_month"},"provider":{"type":"string","example":"stripe"}}},"examples":{"Checkout":{"value":{"plan":"1_month","provider":"stripe"}}}}}},"responses":{"200":{"description":""}}}},"/api/subscription/activate":{"post":{"tags":["Subscription"],"summary":"Activate","description":"Activate","operationId":"activate","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"string","example":"1_month"},"provider":{"type":"string","example":"stripe"}}},"examples":{"Activate":{"value":{"plan":"1_month","provider":"stripe"}}}}}},"responses":{"200":{"description":""}}}},"/api/in-app-purchase/products":{"get":{"tags":["In-App Purchase"],"summary":"Products","description":"Products","operationId":"products","responses":{"200":{"description":""}}}},"/api/in-app-purchase/google-play/verify":{"post":{"tags":["In-App Purchase"],"summary":"Verify Google Play Subscription","description":"Verify Google Play Subscription","operationId":"verifyGooglePlaySubscription","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string","example":"{{googlePlayProductId}}"},"productType":{"type":"string","example":"product"},"purchaseToken":{"type":"string","example":"{{googlePlayPurchaseToken}}"}}},"examples":{"Verify Google Play Product":{"value":{"productId":"{{googlePlayProductId}}","productType":"product","purchaseToken":"{{googlePlayPurchaseToken}}"}},"Verify Google Play Subscription":{"value":{"productId":"{{googlePlayProductId}}","productType":"subscription","purchaseToken":"{{googlePlayPurchaseToken}}"}}}}}},"responses":{"200":{"description":""}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"security":[{"bearerAuth":[]}],"tags":[{"name":"Docs"},{"name":"User"},{"name":"Chat"},{"name":"Upload"},{"name":"Subscription"},{"name":"In-App Purchase"}]}