-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #230 from sinamics/extend_api
Extend API endpoints
- Loading branch information
Showing
17 changed files
with
813 additions
and
33 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 |
---|---|---|
|
@@ -40,3 +40,4 @@ yarn-error.log* | |
|
||
# typescript | ||
*.tsbuildinfo | ||
zeronsd.sh* |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
.mdx | ||
*.mdx | ||
*.js |
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
32 changes: 32 additions & 0 deletions
32
docs/ztnet/docs/Rest Api/_example/NetworkMemberExample.yml
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
NetworkMemberExample: | ||
nodeid: 1 | ||
id: "abcdef01234" | ||
nwid: "8056c2e21c000001" | ||
lastSeen: "2023-12-09T12:06:24.529Z" | ||
online: false | ||
deleted: false | ||
name: "my-awesome-computer" | ||
address: "abcdef01234" | ||
creationTime: 1702110030561 | ||
activeBridge: false | ||
authenticationExpiryTime: 0 | ||
authorized: true | ||
capabilities: [] | ||
identity: "abcdef0123:0:abcdef0123abcdef0123abcdef0123abcdef0123abcdef0123abcdef0123abcdef0123" | ||
ipAssignments: | ||
- "10.0.0.3" | ||
lastAuthorizedCredential: null | ||
lastAuthorizedCredentialType: "api" | ||
lastAuthorizedTime: 1599853637989 | ||
lastDeauthorizedTime: 0 | ||
noAutoAssignIps: false | ||
objtype: "member" | ||
remoteTraceLevel: 0 | ||
remoteTraceTarget: null | ||
revision: 3 | ||
ssoExempt: false | ||
tags: [] | ||
vMajor: 1 | ||
vMinor: 12 | ||
vProto: 12 | ||
vRev: 2 |
102 changes: 102 additions & 0 deletions
102
docs/ztnet/docs/Rest Api/_schema/NetworkMemberResponse.yml
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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
NetworkMemberResponse: | ||
type: object | ||
properties: | ||
nodeid: | ||
type: integer | ||
description: Node identifier | ||
id: | ||
type: string | ||
description: Unique user identifier | ||
nwid: | ||
type: string | ||
description: Network identifier | ||
lastSeen: | ||
type: string | ||
format: date-time | ||
description: Timestamp of last seen | ||
online: | ||
type: boolean | ||
description: Online status | ||
deleted: | ||
type: boolean | ||
description: Deleted status | ||
name: | ||
type: string | ||
description: Name of the user | ||
address: | ||
type: string | ||
description: Address of the user | ||
creationTime: | ||
type: integer | ||
description: User creation time in milliseconds since epoch | ||
activeBridge: | ||
type: boolean | ||
description: Active bridge status | ||
authenticationExpiryTime: | ||
type: integer | ||
description: Authentication expiry time | ||
authorized: | ||
type: boolean | ||
description: Authorization status | ||
capabilities: | ||
type: array | ||
items: | ||
type: string | ||
description: List of capabilities | ||
identity: | ||
type: string | ||
description: User identity information | ||
ipAssignments: | ||
type: array | ||
items: | ||
type: string | ||
description: IP assignments | ||
lastAuthorizedCredential: | ||
type: string | ||
nullable: true | ||
description: Last authorized credential | ||
lastAuthorizedCredentialType: | ||
type: string | ||
description: Type of the last authorized credential | ||
lastAuthorizedTime: | ||
type: integer | ||
description: Timestamp of the last authorized time | ||
lastDeauthorizedTime: | ||
type: integer | ||
description: Timestamp of the last deauthorized time | ||
noAutoAssignIps: | ||
type: boolean | ||
description: No auto-assign IPs status | ||
objtype: | ||
type: string | ||
description: Object type | ||
remoteTraceLevel: | ||
type: integer | ||
description: Remote trace level | ||
remoteTraceTarget: | ||
type: string | ||
nullable: true | ||
description: Remote trace target | ||
revision: | ||
type: integer | ||
description: Revision number | ||
ssoExempt: | ||
type: boolean | ||
description: SSO exempt status | ||
tags: | ||
type: array | ||
items: | ||
type: string | ||
description: Tags associated with the user | ||
vMajor: | ||
type: integer | ||
description: Major version number | ||
vMinor: | ||
type: integer | ||
description: Minor version number | ||
vProto: | ||
type: integer | ||
description: Protocol version number | ||
vRev: | ||
type: integer | ||
description: Revision version number |
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 |
---|---|---|
|
@@ -93,4 +93,4 @@ NetworkResponse: | |
rfc4193: | ||
type: boolean | ||
zt: | ||
type: boolean | ||
type: boolean |
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.