Skip to content

Commit

Permalink
Fixes for returned response on login
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Mar 9, 2024
1 parent 915f269 commit e33b566
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions api-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: 'Elastic License'
url: 'https://www.elastic.co/licensing/elastic-license'
version: 5.5.70
version: 5.8.34
servers:
-
url: 'https://demo.invoiceninja.com'
Expand Down Expand Up @@ -112,7 +112,7 @@ paths:
post:
tags:
- login
summary: "Attempts au thentication"
summary: "Attempts authentication"
description: |
After authenticating with the API, the returned object is a CompanyUser object which is a bridge linking the user to the company.

Expand Down Expand Up @@ -140,10 +140,17 @@ paths:
description: "The users email address."
type: string
example: "[email protected]"
required: true
password:
description: "The user password. Must meet minimum criteria ~ > 6 characters"
type: string
example: "Password0"
required: true
one_time_password:
description: "The one time password if 2FA is enabled"
type: string
example: "123456"
required: false
type: object
responses:
200:
Expand Down

0 comments on commit e33b566

Please sign in to comment.