first pass

This commit is contained in:
Tana M Berry
2024-10-22 15:10:13 -05:00
parent 63c3da169a
commit 7a6d44d0df
878 changed files with 474272 additions and 31 deletions

View File

@@ -0,0 +1,402 @@
---
id: tenants-domains-create
title: "tenants_domains_create"
description: "Domain ViewSet"
sidebar_label: "tenants_domains_create"
hide_title: true
hide_table_of_contents: true
api: eJy9Vt1P2zAQ/1cqP7cNtFC2Po0xNCHBQJTxgqrqklwbg2NntgN0Vf/33TkpCaPlCdGHyvV9/e53H+5KmAIteGn0WSrGwqMG7d0sNTlI7WaJRfAouiJFl1hZsCKp/Qjizq3Epwl6EntYODG+29iLaVdY/FOi899NuhTjlUiMJqHnIxSFkkkIGt07drgSLskwBz75ZYEUwsT3mPhdkSdoJSj5Fy1pFJaT8BId21fQW56ct1IvSC+X+hz1wmdivE+/4Hnza3A4XHeFdLPCyhzssmUcG6MQtCB5lds2x3NjcyCJKEuZivW6Sl5aTJmTGtCLA+LGS6/wJZvriikyfGXpbYnhwhVGuyq5wd7+p5JJ6TReJAVdBCXqivRSq+ULyHdI/3SaSbab64rk1zRw1IO9vQ8k9pboTINp59Ra85ZXbfRsLlGlM2S5a7kEa2HJaXjM3VsaGH5iUtwugTSVHBbUVTveuqGhgVYh28nH8AP5+ImaeizpHF+d7SAkRQ9SbUnqvWxflb9y0Cp4HfSdNOkqR58Z3nyFcYy7AO5UEdWLLKoXYUQih/YRuVR3K1FaxVpQyOhxGIn1lMVJaaVfTpiTKikofUbsyYcW/Mz7gp0FLe58BIs2YGFWr5utefoMeaGwvdOaWWhPEc9gMzdiOIcvh/PRQe/waP+od3A4GvTi4TzpDZKvo+F8NII5jJhXqecmAKv5atB2BSdasTTYGxz0v/QHb2p6AQ8EpbOxqjqj4yRj7otuaB1IQutQj3BtRYZKmW8L8xKpLw0job5C2nBhMCCwcnF2Qy4qlpkxN46ihfRZGfcTk0ctF1FzipWJIyYqOj87Of01OQ2scmFz0C3ndW07dW072x+5VvNvee+qYnp89lGhwl6p4a7qFmrews125BP3Z8adRvLVKgaHv61ar/ma6s7FvKPjI9BCjrkod1Pym9G2pRbhvntAUhEnFbDeDaNgdVWGAv4/oevuxuI4SbDw7+pOW8NwdTlh/uP67c7DBAoLT7z76ZuGp0v/HNg6NHq4WwkFelHCgnUrn/z5B7Rb4QI=
sidebar_class_name: "post 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={"tenants_domains_create"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/tenants/domains/"}
>
</MethodEndpoint>
Domain ViewSet
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<MimeTabs
className={"openapi-tabs__mime"}
>
<TabItem
label={"application/json"}
value={"application/json-schema"}
>
<details
style={{}}
className={"openapi-markdown__details mime"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-mime"}
>
<h3
className={"openapi-markdown__details-summary-header-body"}
>
Body
</h3><strong
className={"openapi-schema__required"}
>
required
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"domain"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty` and `<= 253 characters`"}
schema={{"type":"string","minLength":1,"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>
</MimeTabs><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"201"}
value={"201"}
>
<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>