-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,093 additions
and
1,090 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -1814,7 +1814,7 @@ Path: api/v1/users/domain/:domain/count | |
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| domain | <code>any</code> | (example: traziventures.com) | | ||
| domain | <code>any</code> | (example: dragohm.com) | | ||
| limit | <code>any</code> | Number of maximum results. (example: 2) (example: 5) | | ||
| skip | <code>any</code> | Number of db rows skipped. (example: 10) (example: 10) | | ||
| filter | <code>any</code> | Filter parameters (example: locked=false,created_on>2021-06-03,created_on<2021-06-06) (example: created_on>2022-06-01,created_on<2022-06-08) | | ||
|
@@ -1853,7 +1853,7 @@ Path: api/v1/users/domain/:domain | |
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| domain | <code>any</code> | (example: traziventures.com) | | ||
| domain | <code>any</code> | (example: dragohm.com) | | ||
| sort | <code>any</code> | Sort by any user object key (examples: id, domain, locked, etc.) (example: created_on) | | ||
| limit | <code>any</code> | Number of maximum results. (example: 2) (example: 1) | | ||
| skip | <code>any</code> | Number of db rows skipped. (example: 10) (example: 10) | | ||
|
@@ -2794,14 +2794,14 @@ Path: api/v1/auth/password/forgot/domain/:domain | |
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| body | <code>Object</code> | | | ||
| domain | <code>any</code> | Domain name (example: test.com) (example: traziventures.com) | | ||
| domain | <code>any</code> | Domain name (example: test.com) (example: dragohm.com) | | ||
| authorization_bearer | <code>string</code> | The client_credentials generated OAUth2 access token. | | ||
|
||
**Example** | ||
body | ||
```json | ||
{ | ||
"email": "kelvin@traziventures.com" | ||
"email": "kelvin@dragohm.com" | ||
} | ||
``` | ||
<a name="AuthDomain.login"></a> | ||
|
@@ -2825,7 +2825,7 @@ Path: api/v1/auth/login/domain/:domain | |
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| body | <code>Object</code> | | | ||
| domain | <code>any</code> | Domain name (example: test.com) (example: traziventures.com) | | ||
| domain | <code>any</code> | Domain name (example: test.com) (example: dragohm.com) | | ||
| authorization_bearer | <code>string</code> | The client_credentials generated OAUth2 access token. | | ||
|
||
**Example** | ||
|
@@ -2858,8 +2858,8 @@ Path: api/v1/auth/register/domain/:domain | |
body | ||
```json | ||
{ | ||
"email": "mark+test@trazi.com", | ||
"password": "Trazi123**" | ||
"email": "mark+test@dragohm.com", | ||
"password": "dragohm123**" | ||
} | ||
``` | ||
<a name="AuthDomainToken"></a> | ||
|
@@ -2883,7 +2883,7 @@ Path: api/v1/auth/token/otp/domain/:domain/id/:id | |
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| domain | <code>any</code> | (example: traziventures.com) | | ||
| domain | <code>any</code> | (example: dragohm.com) | | ||
| id | <code>any</code> | (example: [email protected]) | | ||
| authorization_bearer | <code>string</code> | The client_credentials generated OAUth2 access token. | | ||
|
||
|
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
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 |
---|---|---|
|
@@ -3246,7 +3246,7 @@ function SDK(host, opts) { | |
| last_login | _optional_ (example: null) | | ||
* | ||
* Path: api/v1/users/domain/:domain/count | ||
* @param {any} domain (example: traziventures.com) | ||
* @param {any} domain (example: dragohm.com) | ||
* @param {any} limit Number of maximum results. (example: 2) (example: 5) | ||
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10) | ||
* @param {any} filter Filter parameters (example: locked=false,created_on>2021-06-03,created_on<2021-06-06) (example: created_on>2022-06-01,created_on<2022-06-08) | ||
|
@@ -3305,7 +3305,7 @@ function SDK(host, opts) { | |
| last_login | _optional_ (example: null) | | ||
* | ||
* Path: api/v1/users/domain/:domain | ||
* @param {any} domain (example: traziventures.com) | ||
* @param {any} domain (example: dragohm.com) | ||
* @param {any} sort Sort by any user object key (examples: id, domain, locked, etc.) (example: created_on) | ||
* @param {any} limit Number of maximum results. (example: 2) (example: 1) | ||
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10) | ||
|
@@ -5028,13 +5028,13 @@ function SDK(host, opts) { | |
* | ||
* Path: api/v1/auth/password/forgot/domain/:domain | ||
* @param {Object} body | ||
* @param {any} domain Domain name (example: test.com) (example: traziventures.com) | ||
* @param {any} domain Domain name (example: test.com) (example: dragohm.com) | ||
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token. | ||
* @example | ||
* body | ||
* ```json | ||
* { | ||
* "email": "kelvin@traziventures.com" | ||
* "email": "kelvin@dragohm.com" | ||
* } | ||
* ``` | ||
*/ | ||
|
@@ -5072,7 +5072,7 @@ function SDK(host, opts) { | |
* | ||
* Path: api/v1/auth/login/domain/:domain | ||
* @param {Object} body | ||
* @param {any} domain Domain name (example: test.com) (example: traziventures.com) | ||
* @param {any} domain Domain name (example: test.com) (example: dragohm.com) | ||
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token. | ||
* @example | ||
* body | ||
|
@@ -5117,8 +5117,8 @@ function SDK(host, opts) { | |
* body | ||
* ```json | ||
* { | ||
* "email": "mark+test@trazi.com", | ||
* "password": "Trazi123**" | ||
* "email": "mark+test@dragohm.com", | ||
* "password": "dragohm123**" | ||
* } | ||
* ``` | ||
*/ | ||
|
@@ -5173,7 +5173,7 @@ function SDK(host, opts) { | |
**CAUTION SECURITY RISK: Would not expose this URL publicly or have it be allowed by anyone who is not a superadmin type level** | ||
* | ||
* Path: api/v1/auth/token/otp/domain/:domain/id/:id | ||
* @param {any} domain (example: traziventures.com) | ||
* @param {any} domain (example: dragohm.com) | ||
* @param {any} id (example: [email protected]) | ||
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token. | ||
*/ | ||
|
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
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 |
---|---|---|
|
@@ -7399,7 +7399,7 @@ function SDK(host, opts) { | |
| last_login | _optional_ (example: null) | | ||
* | ||
* Path: api/v1/users/domain/:domain/count | ||
* @param {any} domain (example: traziventures.com) | ||
* @param {any} domain (example: dragohm.com) | ||
* @param {any} limit Number of maximum results. (example: 2) (example: 5) | ||
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10) | ||
* @param {any} filter Filter parameters (example: locked=false,created_on>2021-06-03,created_on<2021-06-06) (example: created_on>2022-06-01,created_on<2022-06-08) | ||
|
@@ -7458,7 +7458,7 @@ function SDK(host, opts) { | |
| last_login | _optional_ (example: null) | | ||
* | ||
* Path: api/v1/users/domain/:domain | ||
* @param {any} domain (example: traziventures.com) | ||
* @param {any} domain (example: dragohm.com) | ||
* @param {any} sort Sort by any user object key (examples: id, domain, locked, etc.) (example: created_on) | ||
* @param {any} limit Number of maximum results. (example: 2) (example: 1) | ||
* @param {any} skip Number of db rows skipped. (example: 10) (example: 10) | ||
|
@@ -9181,13 +9181,13 @@ function SDK(host, opts) { | |
* | ||
* Path: api/v1/auth/password/forgot/domain/:domain | ||
* @param {Object} body | ||
* @param {any} domain Domain name (example: test.com) (example: traziventures.com) | ||
* @param {any} domain Domain name (example: test.com) (example: dragohm.com) | ||
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token. | ||
* @example | ||
* body | ||
* ```json | ||
* { | ||
* "email": "kelvin@traziventures.com" | ||
* "email": "kelvin@dragohm.com" | ||
* } | ||
* ``` | ||
*/ | ||
|
@@ -9225,7 +9225,7 @@ function SDK(host, opts) { | |
* | ||
* Path: api/v1/auth/login/domain/:domain | ||
* @param {Object} body | ||
* @param {any} domain Domain name (example: test.com) (example: traziventures.com) | ||
* @param {any} domain Domain name (example: test.com) (example: dragohm.com) | ||
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token. | ||
* @example | ||
* body | ||
|
@@ -9270,8 +9270,8 @@ function SDK(host, opts) { | |
* body | ||
* ```json | ||
* { | ||
* "email": "mark+test@trazi.com", | ||
* "password": "Trazi123**" | ||
* "email": "mark+test@dragohm.com", | ||
* "password": "dragohm123**" | ||
* } | ||
* ``` | ||
*/ | ||
|
@@ -9326,7 +9326,7 @@ function SDK(host, opts) { | |
**CAUTION SECURITY RISK: Would not expose this URL publicly or have it be allowed by anyone who is not a superadmin type level** | ||
* | ||
* Path: api/v1/auth/token/otp/domain/:domain/id/:id | ||
* @param {any} domain (example: traziventures.com) | ||
* @param {any} domain (example: dragohm.com) | ||
* @param {any} id (example: [email protected]) | ||
* @param {string} authorization_bearer The client_credentials generated OAUth2 access token. | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -99,7 +99,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
userContainer.parseUserDomainCookie(res.headers['set-cookie']); | ||
|
@@ -136,7 +136,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
userContainer.parseUserDomain2Cookie(res.headers['set-cookie']); | ||
|
@@ -150,7 +150,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
userContainer.parseUserDomain3Cookie(res.headers['set-cookie']); | ||
|
@@ -209,7 +209,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d5', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
userContainer.parseUser5Cookie(res.headers['set-cookie']); | ||
|
@@ -222,7 +222,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d6', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
userContainer.parseUserDomain6Cookie(res.headers['set-cookie']); | ||
|
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 |
---|---|---|
|
@@ -128,7 +128,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d5', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
expect(res.statusCode).toEqual(200); | ||
|
@@ -141,7 +141,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d6', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
expect(res.statusCode).toEqual(200); | ||
|
@@ -154,7 +154,7 @@ module.exports = () => { | |
password: 'Pas5w0r!d6', | ||
email: '[email protected]' | ||
}, | ||
'traziventures.com' | ||
'dragohm.com' | ||
); | ||
|
||
expect(res.statusCode).toEqual(200); | ||
|
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
Oops, something went wrong.