{"openapi":"3.0.2","info":{"title":"VACCIN.LIVE Rest API","description":"A REST API for VACCIN.LIVE","contact":{"name":"VACCIN.LIVE","url":"https://vaccin.live","email":"contact@vaccin.live"},"version":"2.0.0"},"servers":[{"url":"https://vaccin-live.restapi.online/","description":"LIVE Server"}],"paths":{"/v2/user/profile":{"get":{"summary":"Get user information from the DB","description":"Get user information after the authentification (access token needed)","tags":["User data"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"User data is retrieved","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200UserData"}}}}},"400":{"description":"User not found in DB","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/400UserNotFound"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/user/checkQR":{"post":{"summary":"Check a QR","description":"Check a QR","tags":["User data"],"security":[{"bearerAuth":[]}],"requestBody":{"description":"Check QR","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QR"},"examples":{"1":{"$ref":"#/components/examples/InsertQR"}}}},"required":true},"responses":{"200":{"description":"QR is valid","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200QRConfirmed"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/user/report":{"post":{"summary":"Get a scan report for a selected day for the current user","description":"Get a scan report for a selected day (access token needed)","tags":["User data"],"security":[{"bearerAuth":[]}],"requestBody":{"description":"Date","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Date"},"examples":{"1":{"$ref":"#/components/examples/InsertDate"}}}},"required":true},"responses":{"200":{"description":"Scan report","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200ScanReport"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/user/auth":{"post":{"summary":"User Authentication (Login to the App)","description":"Get access token and refresh token","tags":["Token"],"security":[{"bearerAuth":[]}],"requestBody":{"description":"Insert a user and a password for the login","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"},"examples":{"1":{"$ref":"#/components/examples/SelectUser"}}}},"required":true},"responses":{"200":{"description":"A successful login operation","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200UserLogin"}}}}},"400":{"description":"Unable to log in","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/400UnabletoLogin"}}}}}}}},"/v2/user/add":{"put":{"summary":"Register a new user in the App","description":"Registers a user and outputs success message","tags":["Actions"],"security":[],"requestBody":{"description":"Provide user data (email & password)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"},"examples":{"1":{"$ref":"#/components/examples/SelectUser"}}}},"required":true},"responses":{"200":{"description":"A successful registration.","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200UserAdded"}}}}},"400":{"description":"Unable to register","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/400Unabletoregister"},"2":{"$ref":"#/components/examples/400UserAlreadyRegistered"},"3":{"$ref":"#/components/examples/400MissingData"}}}}}}}},"/v2/user/delete":{"delete":{"summary":"Delete a user from the App","description":"Delete a user from the App if the email is already registered (access token needed)","tags":["Actions"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"A successful delete operation","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200UserDeleted"}}}}},"400":{"description":"Unable to delete","content":{"application/json":{"examples":{"2":{"$ref":"#/components/examples/400UserEmailNotFound"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/token/refresh":{"get":{"summary":"Get new access token with a refresh token","description":"Generate a new acces token","tags":["Token"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Acces token generated","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200TokenRefresh"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/user/confirm":{"post":{"summary":"Double optin function to confirm email address","description":"Double optin function to confirm email address","tags":["Actions"],"security":[{"bearerAuth":[]}],"requestBody":{"description":"Insert confirmation hash","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Confirmation"},"examples":{"1":{"$ref":"#/components/examples/InsertConfirmation"}}}},"required":true},"responses":{"200":{"description":"Email is confirmed","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200EmailConfirmed"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/user/resetPassword":{"post":{"summary":"Send forgot password email","description":"A email will be sent with a reset password link","tags":["Actions"],"requestBody":{"description":"Insert email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Email"},"examples":{"1":{"$ref":"#/components/examples/InsertEmail"}}}},"required":true},"responses":{"200":{"description":"Email is confirmed","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200EmailConfirmed"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/user/checkHash":{"post":{"summary":"Validate forgot password hash","description":"Validate the hash for requesting changing the password","tags":["Actions"],"requestBody":{"description":"Insert hash","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Confirmation"},"examples":{"1":{"$ref":"#/components/examples/InsertConfirmation"}}}},"required":true},"responses":{"200":{"description":"Hash is confirmed","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200HashConfirmed"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}},"/v2/user/setPassword":{"post":{"summary":"Set user password","description":"Set user password","tags":["Actions"],"requestBody":{"description":"Insert new password","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewPassword"},"examples":{"1":{"$ref":"#/components/examples/InsertNewPassword"}}}},"required":true},"responses":{"200":{"description":"Hash is confirmed","content":{"application/json":{"examples":{"200":{"$ref":"#/components/examples/200NewPassword"}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"examples":{"1":{"$ref":"#/components/examples/401TokenMissing"},"2":{"$ref":"#/components/examples/401TokenWrong"},"3":{"$ref":"#/components/examples/401TokenExpired"},"4":{"$ref":"#/components/examples/401TokenFailed"}}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"User":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"}}},"Email":{"type":"object","properties":{"email":{"type":"string"}}},"QR":{"type":"object","properties":{"QR":{"type":"string"},"verifySignature":{"type":"string"}}},"Date":{"type":"object","properties":{"date":{"type":"string"}}},"Confirmation":{"type":"object","properties":{"hash":{"type":"string"}}},"NewPassword":{"type":"object","properties":{"email":{"type":"string"},"hash":{"type":"string"},"password":{"type":"string"}}}},"examples":{"SelectUser":{"summary":"Insert user data","description":"Insert user data (email & password)","value":{"email":"traian.oprean@cultdesign.ro","password":"secret"}},"InsertNewPassword":{"summary":"Insert new password","description":"Insert new password","value":{"email":"traian.oprean@cultdesign.ro","hash":"04068f1a7e70a7761d2a4e187ef5c48d","password":"secret2"}},"InsertConfirmation":{"summary":"Insert confirmation hash and email","description":"Insert confirmation hash and email","value":{"hash":"04068f1a7e70a7761d2a4e187ef5c48d"}},"InsertDate":{"summary":"Insert date","description":"Insert date (d.m.Y)","value":{"date":"31.08.2021"}},"InsertCertificate":{"summary":"Insert a vaccination certificate","description":"Insert a vaccination certificate","value":{"filename":"certificate.pdf","base64_data":"W5ndGggMTA+PnN0cmVhbQp4nCvkAgAA7gB8CmVuZHN0cmVhbQplbmRvYmoKNTQgMCBvYmoKPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCA1OTI+PnN0cmVhbQp4nI2UX4+iMBTF3/kU99FNVqYtLZRJfGCUTNg4sGrd7CurdWQjMgO4m/n226ogWpxsSIx67u/cw+0fmFnv6tGfBL5ZCJ4tZDP4axHGACPf5j54CLCLoJTW4iw6hAHBTIsYIWC0K9KOyFyb8Btdw9jHDUwMuBFPMDFh6jUwNeGzeIKpCRPnk85n8W7n00A0jE34LJ7ga11Pk7PzME3fk0Su286sJ2FhQOrBSvOAeFSXidx6+JmpPwmIjTUQ26yCdbE65HJfg/peZa97uYZfH1/EbysU1ju47tHF9W3Ejk6YMdvxYJWDciIwKeCqmUM8XXZp5qiXOzZbKO+0LsrGuwPRW4g2UBJNbGIzm9q+NyKuQz1C8VftcMXShh2M41EUL0QklmI5hTgQURIHU5iEBuO0zCJQdYEI4fvyaRqNA9OftLXJ/9rj+/YwHs0TcwrH0SGnZ3STtJYPIsvlndF1oXZ0L8UeXtIPvScwekT8kXoQhgtxmxT7DT0giOD+XNjze3JFVXWQ5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W%8UE9.955B9-NT0 2$$0X4PCY0+-CVYCDEBD0HX2JR$4O1K8KES/F-1JZ.KO.K:HGX2M%DB.-B97U: K4$NLDTMY9S/BK:H9NT3C7J3K2KK57U8+9W2K8.71FD$W435Q 54M.S-YNWEMTU1%0MQ+MN/QP9QE8QHOO16RHQEK9O8-GZEAOET1XNQ8Q18SSSUY2UA5OO$TWJRIX79X5%XB8M8SFMHOSRXP3OQJE2%3NCTU606P1Q%96LN9/FH HV:OJ6QISJ5IGQ IF","verifySignature":"true"}},"InsertEmail":{"summary":"Insert email address","description":"Insert email address","value":{"email":"traian.oprean@cultdesign.ro"}},"200UserData":{"summary":"Get user info","description":"Get user information from DB","value":{"email":"traian.oprean@cultdesign.ro","img":"https://vaccin.live/images/vinfest-sibiu.jpg","scans":12}},"200ScanReport":{"summary":"Get scan report","description":"Get scan report","value":[{"ID":"URN:UVCI:01:RO:09EKD7P62WYOZ9O8DNR51Q84GLVXM3#E","name":"C. N. G.","country":"RO","type":"Vaccinare","scanned":"31.08.2021 11:01"},{"ID":"URN:UVCI:01:RO:YD731X8E2VOZ1PRE71NGP046LRM59W#B","name":"O. D.","country":"RO","type":"Vaccinare","scanned":"31.08.2021 10:50"},{"ID":"failed_1630398436","name":"","country":"","type":"","scanned":"31.08.2021 11:27"}]},"200UserQR":{"summary":"Generate user unique QR","description":"Generate user unique QR","value":{"QR":"https://vaccin.live/check/6ZjEhZ1TnqaZk4VdkN-DnYVinqmUl5pTmpjVhZ1Tn6yTlJtooayRm4VdkOiDnYVpppje"}},"200ValidSignature":{"summary":"The vaccination certification signature is valid","description":"The vaccination certification signature is valid","value":{"message":"Vaccination certificate is valid","ID":"3358"}},"200UserLogin":{"summary":"Authentication is successful","description":"Access and refresh tokens are generated","value":{"message":"Successful login","access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2YWNjaW4tbGl2ZS5yZXN0YXBpLm9ubGluZSIsImF1ZCI6InZhY2Npbi5saXZlIiwiaWF0IjoxNjIyMDQ5MTM3LCJuYmYiOjE2MjIwNDkxMzcsImV4cCI6MTY1MzU4NTEzNywiZGF0YSI6eyJlbWFpbCI6InRyYWlhbi5vcHJlYW5AY3VsdGRlc2lnbi5ybyJ9fQ.BIr2632RZ3XGc1y2LzFMRHxJub3c_x4","refresh_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2YWNjaW4tbGl2ZS5yZXN0YXBpLm9ubGluZSIsImF1ZCI6InZhY2Npbi5saXZlIiwiaWF0IjoxNjIyMDQ5MTM3LCJuYmYiOjE2MjIwNDkxMzcsImV4cCI6MTY1MzU4NTEzNywiZGF0YSI6eyJlbWFpbCI6InRyYWlhbi5vcHJlYW5AY3VsdGRlc2lnbi5ybyJ9fQ.YlH9_zbtodaNCZ1gWRIXgrNr0gFqKxgdRAWgBeMb-2U","token_type":"bearer","expires":31536000,"email":"traian.oprean@cultdesign.ro","img":"https://vaccin.live/images/vinfest-sibiu.jpg","generatedQR":16,"scans":2}},"200TokenRefresh":{"summary":"New access token","description":"Access and refresh tokens are generated","value":{"auth":{"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2YWNjaW4tbGl2ZS5yZXN0YXBpLm9ubGluZSIsImF1ZCI6InZhY2Npbi5saXZlIiwiaWF0IjoxNjIxODY3NDgwLCJuYmYiOjE2MjE4Njc0ODAsImV4cCI6MTYyMTg3MTA4MCwiZGF0YSI6eyJlbWFpbCI6InRyYWlhbi5vcHJlYW5AY3VsdGRlc2lnbi5ybyJ9fQ.7k0lOFmRph9t_1O-hUtKAfwrBmAlRFp--JU6m2qNQgk","refresh_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ2YWNjaW4tbGl2ZS5yZXN0YXBpLm9ubGluZSIsImF1ZCI6InZhY2Npbi5saXZlIiwiaWF0IjoxNjIxODY3NDgwLCJuYmYiOjE2MjE4Njc0ODAsImV4cCI6MTYyMTk1Mzg4MCwiZGF0YSI6eyJlbWFpbCI6InRyYWlhbi5vcHJlYW5AY3VsdGRlc2lnbi5ybyJ9fQ.mN5WV4bJsMlcmVsHl9aWbcE4zQT8RDEY0nccTYo_o0E","token_type":"bearer","expires":"3600"}}},"200UserAdded":{"summary":"User is registered","description":"A new user was registered","value":{"message":"User was successfully registered"}},"200UserDeleted":{"summary":"User is deleted","description":"The user from the App was deleted","value":{"message":"User was successfully deleted"}},"200EmailSent":{"summary":"Email was sent","description":"Email was sent","value":{"message":"Email was sent successfully"}},"200EmailConfirmed":{"summary":"Email is confirmed","description":"Email is confirmed","value":{"message":"Email is confirmed"}},"200QRConfirmed":{"summary":"QR is confirmed","description":"valid = 0 (QR is not valid)
valid = 2 (QR is valid but with warnings ex: expired)
valid = 3 (QR is valid)","value":{"valid":3,"name":"CÂRJEA NICU-GABRIEL","message":"Certificat valid: Vaccinare","ID":"URN:UVCI:01:RO:09EKD7P62WYOZ9O8DNR51Q84GLVXM3#E","html":"
Certificat scanat 11:01 - Vaccinare
Nume: CÂRJEA NICU-GABRIEL
Data nașterii: 06.07.1979 (42 ani)

Doze efectuate: 2/2 (Pfizer)
Data vaccinării: 08.02.2021
Valabilitate (+10»270 zile): În termen
"}},"200HashConfirmed":{"summary":"Hash is confirmed","description":"Hash is confirmed","value":{"message":"Hash is confirmed","email":"mail@mail.com"}},"200NewPassword":{"summary":"New password was set","description":"New password was set","value":{"message":"New password was set"}},"400Unabletoregister":{"summary":"User not found in the DB","description":"The email address was not found in the DB","value":{"error":"Unable to register the user","message":"User not found in DB"}},"400UserAlreadyRegistered":{"summary":"User is already registered","description":"This email address is already registered in theApp","value":{"error":"Unable to register the user","message":"User already registered"}},"400UnabletoLogin":{"summary":"Authentication failed","description":"Email or password are incorrect","value":{"error":"Login failed","message":"Your email and password combination are incorrect"}},"400DataNotFound":{"summary":"Data was not found","description":"The requested data was not found in the DB","value":{"error":"Error fetching data","message":"The requested data was not found in the DB"}},"400UserNotFound":{"summary":"User was not found","description":"The user was not found in the DB","value":{"error":"Error fetching data","message":"User not found in DB"}},"400UserEmailNotFound":{"summary":"User was not found in the App","description":"This email address was not found in the App","value":{"error":"Unable to delete the user","message":"This email address was not found in the App"}},"400MissingData":{"summary":"Email or password is missing","description":"Email or password was not submited","value":{"error":"Unable to register the user","message":"Email or password is missing"}},"401TokenMissing":{"summary":"JWT Token missing","description":"The requested resource was not authorised with a valid JWT token.","value":{"error":"Access denied","message":"JWT Token missing"}},"401TokenWrong":{"summary":"JWT Token format is invalid","description":"The JWT token format is invalid","value":{"error":"Access denied","message":"Wrong number of segments"}},"401TokenExpired":{"summary":"JWT Token is expired","description":"The JWT token is no longer valid","value":{"error":"Access denied","message":"Expired token"}},"401TokenFailed":{"summary":"JWT Token is not valid","description":"The signature check failed","value":{"error":"Access denied","message":"Signature verification failed"}}}},"security":[{"bearerAuth":[]}],"tags":[{"name":"User data","description":"Interfaces for user data"},{"name":"Actions","description":"Actions interfaces for adding (registering) / deleting users in the App"},{"name":"Token","description":"Token management"}]}