Files
authentik/website/docs/developer-docs/api/reference/admin-workers-retrieve.api.mdx
2024-09-13 12:17:54 -05:00

304 lines
10 KiB
Plaintext

---
id: admin-workers-retrieve
title: "admin_workers_retrieve"
description: "Get currently connected worker count."
sidebar_label: "admin_workers_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVE1v2zAM/SuGzkHUtT0MPa0YgiLAOhRotx2GIpBtNlYjS6pEZwsM//eRstOonxiwnSxL/Hh8fGQvnIegUDu7rMWZUHWr7eqXCxsIcRUAg4YtiJmoIVZBezYkswvAoupCAItmV1TOWqgQ6mJ0pIvO4py8UK2jOPs5hhW3MxGB3DTu6LIXqsOGIugN/d0O9BogemcjkE8vjo+O+EPBkYz4qLw3ukpg5X1kIL2IVQOt4hPuPBA0V94TFsrtA5eGeoyWIGVmmqKuIYhh4LQPnQ5QM9LRjrCgRsOGP0YuyHB4zoKgm9N/RPk04ndldJ1ci0UILrwowzq7utNg6hXwe8xCqhDUjhw0QpvfR+qhXadCK1fD6y+qrjWnVeYqzzcceDhAG5G9ycfJf+TjAiwEXRXnV8s3CKkBlTavFPVetXnDpwBZx6ek75RJVy1g43hi1pDEprChH5mELqf5kYIFH7YsH9Z7F0yy8VpuT6QYsnm4ZkLGirKpeMTeIHoOlqzovwQVJvFqe+eS5YT+4D4TnHnEfHx0fDr/OP/wguFLtSFWir3X2Kci6tYb4AnmRqoqNZI6xkyLBoxxn9buMdNcO+abugw0vEmmKsG8XN5QiLFsLiGeSbnW2HTlvHKtzELIw6k0rpSUysovy8+Lr9eLVKZ3EVtls+CJ6mnjxOKtVZVJ8e+31kg6wm+U3hASri5V0U+N3m+0mZjy04kl1BBKfu37UkX4Fsww8PVDB4FXHh23KmhVcqdo5ZEDqJoayerYAJmI86oCz4raKtOlMp+PD8vmUX0XC2aYycvUMqljtj9w9P2SsLssNsFMFjduA5agziYQyP+UiMT/B/NYHs8=
sidebar_class_name: "get api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"admin_workers_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/admin/workers/"}
>
</MethodEndpoint>
Get currently connected worker count.
<div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"count"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"count\": 0\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"non_field_errors"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"non_field_errors\": [\n \"string\"\n ],\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>