Files
authentik/website/docs/developer-docs/api/reference/authenticators-static-retrieve.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

403 lines
14 KiB
Plaintext

---
id: authenticators-static-retrieve
title: "authenticators_static_retrieve"
description: "Viewset for static authenticator devices"
sidebar_label: "authenticators_static_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVlFP2zAQ/iuRX7ZJXcMKQlOfhkaFKsGGVsYLQpWTXBNT1w6209FF+e+7c9I2NC1iiKc6se/u++6+fG7JdA6GO6HVOGFDxguXgXIi5k4bO7UOt+KpAWcELIH1WAI2NiKnADx+K+CPBRfMtAnqs8GzDEECSxGDxcCcG74AB8ay4V3JBIXn3GW4pXADn0SCaxtnsOBsWDK3yv1b5SAFw6rd2mdBocRjAUFzIlhySU8JVZ+thEoDlwkbTGpc5x5JH0sYeCyEAaTrTAHVfY85nhKqHfYMdyzEhRFu5TGvt+f4dE9xBmyulUV+iHdwdEQ/sUY4ytGS57mkXIg3fLAEuuzy09EDxK7T2QkYwaX4i7xe01xDY3SiRlL3c1PB4vBU2qlwk0GQFQuuPhvgCY8kBBQY6Fndt2TTsAV/ugSV4qyGpyc4B6fnoKY491YRbgxf4VnhYGHfSq8u+cEGvkKXmH+9j1kL4ZfTqmrP+K6JojELJymsVkQtiBu/6SN48lPJVaMKLD3fo8Ldc9uk43O2W9jPwSdq9+wAEIzuSJxwnbyrrG6x6YkPDUbGaNPVjlbTmQCZTIH27StG3EyB4Mc62aM82uFJIqgsl9ftetW2GVtoNbKD/Th+x35cgEIlxsHZ9fhAQxJwXMg9pF5i21ZBk6A19qboCzTxFXplpsmSU3DePkncLHxuUWH94YSlSKqQ3BPMcu2whZE+IBfh8jhkVcvNJtSdml7L0zZEMufytRXTcwTckAMjKqFm2p9sqGzDe4wq1wQGR4OT/tf+oNPuKz4nX26RICVascildxqaKo/9VHF81HaWgZT6W6o3lfpCU/Nx5GgRsPU7djW+wRQ1baJgh2GYCpcVUT/Wi7CVItyuIqmjEEup8HL8ffRjMvI0c20dOmMr+fO+rw3r0MXY0uf/3JFN/x08uTCXCIqIekJlI4DOHYVj8jlxMfQXKAktQ/h0tiwjbuG3kVVFr/GyNHST4XLJ0X8jGiEqJRGW1ii2GZcWXuDy8Vcj7E/Bm6/fvSTXFqPIYHwm+g56bA6r+p9BdY+nMvReFCJhrjfO4hhy1wrpeAHJfvMpXYxIIdTBltobdffWC8q+Fw5205/wVwZ2dI2uvl8QYFX9A8ULO9k=
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 Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"authenticators_static_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/authenticators/static/{id}/"}
>
</MethodEndpoint>
Viewset for static authenticator devices
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this Static Device.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><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={"name"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 64 characters`"}
schema={{"type":"string","description":"The human-readable name of this device.","maxLength":64}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
token_set
</strong><span
className={"openapi-schema__name"}
>
object[]
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}
>
Array [
</div>
</li><SchemaItem
collapsible={false}
name={"token"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 16 characters`"}
schema={{"type":"string","maxLength":16}}
>
</SchemaItem><li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}
>
]
</div>
</li>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"name\": \"string\",\n \"token_set\": [\n {\n \"token\": \"string\"\n }\n ],\n \"pk\": 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>