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

363 lines
12 KiB
Plaintext

---
id: tenants-domains-retrieve
title: "tenants_domains_retrieve"
description: "Domain ViewSet"
sidebar_label: "tenants_domains_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVVFr2zAQ/itGTxuEuEs7GHla2UIJtFtZur6UEi72xVYrS6okZ82M//vubKfx5qQw6JNl63T3fd+dPlfCWHQQpNHzVExFQA06+GVqCpDaLx0GJ3GDYiRS9ImTlkMp8GsTEN1K/LXAQNsWHBQY0HkxvauE5CALIactTRv0JlNa+yTHAsS0EmFrm686YIZO1P9WOI9KLZ9KjLqIaAOK31LUQa63UmdRyKWPWiRjyu3wqZQOiUdwJdb3IxEgYzg7WuKeg7w12qNnDJOTE34khkrowEuwVsmkESR+8AykGmI2qwdMwjFNFugkKPmbSJEsjgUOsq1HEgyZMyZIv2u17YBT3iZTL9ZTG3RGoQU8X6LOSNfp5OMphUq/tE4W4La98JUxCkGzqC31Q6nWxhVAO6IsCVdd9wW820EYtW3rsrCkMih8IUvHBo3jqmdvKuwtyZk2R6OZc2aoqzZ6uZao0iXyvu+lBOdgyzQCFn4oA8NPTIqHdyBNJZcFdd2vV+9l2ENrkR3V4/QN9bhATTOWROfX8yOCpBhAqgOkXmP7V/vbBL2Gd0VfoUmfyAFyw0aSdabAgyri7v7Fna3ElUzrmN0A3WbnGKVTHApWxpvTWPD19ZiUTobtgnVpiUEZcjaAxx6FPAS7s5Zm+hEcOwrfDr02TWRHYn98JLhyC31yMjkbfxp/GAh9BY/sM7tTbbsiLwurkB2H+wlJ009qHAsuclTKfM7MS6WxNCw7NRvJdpppbf3wan5DKVraTMFP4ziTIS9X48QUcS9FvF+tlFnFLGJ8Of8y+7aYNTSt8aEA3UveKR51ikfHjLw3k0NP7/QN+Bxiq5rr3gGuutburXVnWryaNp7Bw5MTMI6qqhV4/OlUXfNnsnX2qztaboDccsXNoRlIpec1DdAalMdXsL770Q3r++j/fxQHee38QrNbNCl4qEfiEbftz6u+p6icrJpmi8G2G+dJgjb0jgwuNk/yy724mN1Qx/4A+dqRkw==
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={"tenants_domains_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/tenants/domains/{id}/"}
>
</MethodEndpoint>
Domain ViewSet
<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 Domain.","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={"id"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"domain"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 253 characters`"}
schema={{"type":"string","maxLength":253}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"is_primary"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"tenant"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"id\": 0,\n \"domain\": \"string\",\n \"is_primary\": true,\n \"tenant\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\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>