forked from OpenG2P/openg2p-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauth.json
1 lines (1 loc) · 996 Bytes
/
auth.json
1
{"info": {"description": "", "title": "auth REST services", "version": ""}, "servers": [{"url": "https://mec.openg2p.net/session/auth"}], "paths": {"/login": {"post": {"summary": "", "responses": {"400": {"description": "One of the given parameter is not valid"}, "401": {"description": "The user is not authorized. Authentication is required"}, "404": {"description": "Requested resource not found"}, "403": {"description": "You don't have the permission to access the requested resource."}}}}, "/logout": {"post": {"summary": "", "responses": {"400": {"description": "One of the given parameter is not valid"}, "401": {"description": "The user is not authorized. Authentication is required"}, "404": {"description": "Requested resource not found"}, "403": {"description": "You don't have the permission to access the requested resource."}}, "security": [{"user": []}]}}}, "openapi": "3.0.0", "components": {"securitySchemes": {"user": {"type": "apiKey", "in": "cookie", "name": "session_id"}}}}