aboutsummaryrefslogtreecommitdiffhomepage
path: root/openapi/fortee.yaml
blob: a27c72159ce28eb3e4e83fc31b6a240b7d29505d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
openapi: 3.0.0
info:
  title: Albatross internal web API
  version: 0.1.0
paths:
  /api/user/login:
    post:
      operationId: postLogin
      summary: User login
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                username:
                  type: string
                  example: "john"
                password:
                  type: string
                  example: "password123"
              required:
                - username
                - password
      responses:
        '200':
          description: Successfully authenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  loggedIn:
                    type: boolean
                    example: true
                required:
                  - loggedIn