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

431 lines
16 KiB
Plaintext

---
id: authenticators-admin-webauthn-retrieve
title: "authenticators_admin_webauthn_retrieve"
description: "Viewset for WebAuthn authenticator devices (for admins)"
sidebar_label: "authenticators_admin_webauthn_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVk1v2zAM/SuGTh2QxV3bw5DTiq0YAuwLa9cdiiKQLcbWIkuuJKfNAv/3kbLdOHGSHdpTJIuk3nukyKyZKcFyL42eCjZhvPI5aC9T7o11My4KqWePkNB3PbPgrYQlsBET4FIrS3JEt1sJjw58NDc2+g3JJVlHW7EiAUuZgotOyCbEdW8wTsktL8CDdWxyt2aSopXc53ik8QB3UuDapTkUnE3WzK/K8FV7yMCyehfKZVRp+VBB1FpES65oJwjKfCV1Fvlcug3MTwHYGC+x8FBJC6iDtxXU9yPmeUa4dmRheOIgraz0q4C6O17g7p78LLjSaAeOEJ+dntJPahCQ9rTkZakoFiKO/ziCvR4yNMkfSP1A6muwkiv5F5n9X20S2FKGvWywlIs9GhJeLr5rtWqYI2/pFVlMP5HATSKe3RwWgc7Qq+BPX0BnmKwJckTDFON4ELOG0a45wi048mcCjd56WcDg5pBNQj5rnFEqpb7Pg8jHZel0aLJ5g7bRRqmBDJxnFdbVMZAVGexW1659Xfer5q6Lu+11v9FziJI15bItv66U4gl5tKIcxruj3yE8vcxsS9xmd0SVcRAo8hy8M9Lm4lUr+xaTJYJrdGWtGWZNGz2bS1BiBnTueiG5tXyFDtJD4fbnKTViTxXTCRdC0rVc/ejfV2/k2EBrkB3U4/wV9fgMGis4jS5/TA8IIsBzqfaQOsa2Xx9tgF7i20uP0MRP2LBzQ+MiAx96OLUAFm93yTg0+bgbHvFaijqmVg522bX7yqrgWMp4eR6Ht9A11mtSqX2tm/b6TCj3vuzmAu0T4JbGAaKTem6CZUtp4z5idHND5Oz07GL8fvxuIPtXvqAh0SNDFelkUaowJSi7PA3ZxTSS/CwHpcyHzDzfNJaGkoCpB5wCoXabYfZ1eoMhGtpEwU3iOJM+r5Jxaoq4FyLerBJlkhiv0vGX6cerb9dXgWZpnC+47gXf1r8ZslGnf3RoePfq9QVzvE2LhycflwqxEv/Ac93Wx2CK0sNDd/ztMOJyEtoVVWSO/MhrvU64g19W1TV9xtFuaericsmxwYc2iaUkpKM1VuWcKwdHSJ78bF/Am+gFfxb2Eu66kaZeFGLRkxmxBayafzL1PVrl2LOxVgl1c3CZplD6nsugbdDLeH51n6+oiEix3oNoH8CoW/RG5jYc1DNY3JgFaNS0Q+dpTwDr+h/x+YE6
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={"authenticators_admin_webauthn_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/authenticators/admin/webauthn/{id}/"}
>
</MethodEndpoint>
Viewset for WebAuthn authenticator devices (for admins)
<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 WebAuthn 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={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 200 characters`"}
schema={{"type":"string","maxLength":200}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"created_on"}
required={true}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
device_type
</strong><span
className={"openapi-schema__name"}
>
object
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__nullable"}
>
nullable
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<div
style={{"marginTop":".5rem","marginBottom":".5rem"}}
>
WebAuthnDeviceType Serializer
</div><SchemaItem
collapsible={false}
name={"aaguid"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"description"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"aaguid"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"pk\": 0,\n \"name\": \"string\",\n \"created_on\": \"2024-09-13T14:05:42.078Z\",\n \"device_type\": {\n \"aaguid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"description\": \"string\"\n },\n \"aaguid\": \"string\"\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>