diff --git a/.github/workflows/generate_api_pages.yml b/.github/workflows/generate_api_pages.yml index d2293634..d49883b2 100644 --- a/.github/workflows/generate_api_pages.yml +++ b/.github/workflows/generate_api_pages.yml @@ -24,6 +24,12 @@ jobs: - name: Install swagger-codegen run: brew install swagger-codegen + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Npm install run: npm install diff --git a/src/pages/ipa/resources/peers.mdx b/src/pages/ipa/resources/peers.mdx index 2553060b..3d91ed18 100644 --- a/src/pages/ipa/resources/peers.mdx +++ b/src/pages/ipa/resources/peers.mdx @@ -185,7 +185,8 @@ echo $response; "dns_label": "stage-host-1.netbird.cloud", "login_expiration_enabled": false, "login_expired": false, - "last_login": "2023-05-05T09:00:35.477782Z" + "last_login": "2023-05-05T09:00:35.477782Z", + "accessible_peers_count": 5 } ] ``` @@ -214,7 +215,8 @@ echo $response; "dns_label": "string", "login_expiration_enabled": "boolean", "login_expired": "boolean", - "last_login": "string" + "last_login": "string", + "accessible_peers_count": "integer" } ] ``` @@ -420,7 +422,16 @@ echo $response; "dns_label": "stage-host-1.netbird.cloud", "login_expiration_enabled": false, "login_expired": false, - "last_login": "2023-05-05T09:00:35.477782Z" + "last_login": "2023-05-05T09:00:35.477782Z", + "accessible_peers": [ + { + "id": "chacbco6lnnbn6cg5s90", + "name": "stage-host-1", + "ip": "10.64.0.1", + "dns_label": "stage-host-1.netbird.cloud", + "user_id": "google-oauth2|277474792786460067937" + } + ] } ``` ```json {{ title: 'Schema' }} @@ -447,7 +458,16 @@ echo $response; "dns_label": "string", "login_expiration_enabled": "boolean", "login_expired": "boolean", - "last_login": "string" + "last_login": "string", + "accessible_peers": [ + { + "id": "string", + "name": "string", + "ip": "string", + "dns_label": "string", + "user_id": "string" + } + ] } ``` @@ -718,7 +738,16 @@ echo $response; "dns_label": "stage-host-1.netbird.cloud", "login_expiration_enabled": false, "login_expired": false, - "last_login": "2023-05-05T09:00:35.477782Z" + "last_login": "2023-05-05T09:00:35.477782Z", + "accessible_peers": [ + { + "id": "chacbco6lnnbn6cg5s90", + "name": "stage-host-1", + "ip": "10.64.0.1", + "dns_label": "stage-host-1.netbird.cloud", + "user_id": "google-oauth2|277474792786460067937" + } + ] } ``` ```json {{ title: 'Schema' }} @@ -745,7 +774,16 @@ echo $response; "dns_label": "string", "login_expiration_enabled": "boolean", "login_expired": "boolean", - "last_login": "string" + "last_login": "string", + "accessible_peers": [ + { + "id": "string", + "name": "string", + "ip": "string", + "dns_label": "string", + "user_id": "string" + } + ] } ``` diff --git a/src/pages/ipa/resources/users.mdx b/src/pages/ipa/resources/users.mdx index cfc1cd8d..1abf95c7 100644 --- a/src/pages/ipa/resources/users.mdx +++ b/src/pages/ipa/resources/users.mdx @@ -182,7 +182,8 @@ echo $response; ], "is_current": true, "is_service_user": false, - "is_blocked": false + "is_blocked": false, + "issued": "api" } ] ``` @@ -200,7 +201,8 @@ echo $response; ], "is_current": "boolean", "is_service_user": "boolean", - "is_blocked": "boolean" + "is_blocked": "boolean", + "issued": "string" } ] ``` @@ -495,7 +497,8 @@ echo $response; ], "is_current": true, "is_service_user": false, - "is_blocked": false + "is_blocked": false, + "issued": "api" } ``` ```json {{ title: 'Schema' }} @@ -511,7 +514,8 @@ echo $response; ], "is_current": "boolean", "is_service_user": "boolean", - "is_blocked": "boolean" + "is_blocked": "boolean", + "issued": "string" } ``` @@ -785,7 +789,8 @@ echo $response; ], "is_current": true, "is_service_user": false, - "is_blocked": false + "is_blocked": false, + "issued": "api" } ``` ```json {{ title: 'Schema' }} @@ -801,7 +806,8 @@ echo $response; ], "is_current": "boolean", "is_service_user": "boolean", - "is_blocked": "boolean" + "is_blocked": "boolean", + "issued": "string" } ```