Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "/auth/login": {
- "post": {
- "tags": [
- "Authentication"
- ],
- "summary": "Authenticatoin endpoint for users to login. If login is successfull, session key is generated which is used in all other authenticated calls.",
- "operationId": "LoginAsync",
- "consumes": [
- "multipart/form-data"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "name": "login",
- "in": "formData",
- "description": "Login",
- "required": false,
- "type": "string"
- },
- {
- "name": "password",
- "in": "formData",
- "description": "Password",
- "required": false,
- "type": "string"
- },
- {
- "name": "X-AppVersion",
- "in": "header",
- "description": "",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/ConfidentialSessionInfo"
- }
- },
- "400": {
- "description": "Bad Request",
- "schema": {
- "$ref": "#/definitions/ProblemDetails"
- }
- },
- "401": {
- "description": "Unauthorized",
- "schema": {
- "$ref": "#/definitions/ProblemDetails"
- }
- }
- },
- "deprecated": false
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement