-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for returned response on login
- Loading branch information
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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' | ||
|
@@ -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. | ||
|
||
|
@@ -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: | ||
|