Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @swagger
- * /api/v1.0/login:
- * post:
- * tags:
- * - Login
- * description: Login into system
- * produces:
- * - application/json
- * parameters:
- * - username: Trelleborg
- * description: The username of user
- * in: body
- * required: true
- * - password: password
- * description: Password of user
- * in: body
- * required: true
- *
- * responses:
- * 200:
- * description: Successfully login
- */
- {
- "status": "ok",
- "data": {
- "auth": true,
- "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjViYzg3ZDFkOWNhNmRkNDM5MDI1YjA1MCIsImlhdCI6MTU0MTA5MzMxMSwiZXhwIjoxNTQxMTc5NzExfQ.3BIl0dIQg-cEU9fyM7BocKLHEugH8cws5_E-dmRVHZM",
- "faId": "HSo7q2o0",
- "roles": "Owner"
- }
Add Comment
Please, Sign In to add comment