Files
authentik/website/docs/developer-docs/api/reference/outposts-service-connections-docker-create.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

474 lines
18 KiB
Plaintext

---
id: outposts-service-connections-docker-create
title: "outposts_service_connections_docker_create"
description: "DockerServiceConnection Viewset"
sidebar_label: "outposts_service_connections_docker_create"
hide_title: true
hide_table_of_contents: true
api: eJztV91P4zgQ/1csv/BSGmih7FWn1XEcOlX7hYDdlxWqnGTaepvYOdsBelX/95uxkyYtLXAS0r7sC6SxZ+Y3X7+ZLLkuwAgntRqlfMh16QptnR1bMPcygXGilYKEzu041ckczDgxIBzwDk/BJkYWdIiif/nTmyB3sRZj3yQ8WHB434mp5cPvayP8rsMN/FOCdX/qdMGHS47mHChHj6IoMpl4aNEPSyaW3CYzyAU9uUUBhDf+gWZejQXfSJHJf8GgSGHIdyfBkkIlcmgpts5INcVbuVQfQU3djA+PVx2e6URkrXux1hkI9QTBaMJAiTiDtMNKC8zNgHlZ1kS0y67Re2kgZQEws/TPRR/KGIwCB5aNMB7TkCCO5kuTvQRyG8mFUCwGJpXHMNEmF47pCTsolXwcRtHvhXCz9wfsYQZqDU5NmdNMVJBD4lkqINeqw7RhBzPnCkvSM8wkxe79sNc/G+xRY1DQAbML6yDvkiMus+N7zMakSvEurwJWfFOWMsXfqswyCikfOlPCEz/P0bZMZt5NUGmhpXIHll1Qjr0ZDIJlwSiGXEyFVNZ1WRWgDCaOQV64BQWJKc3usVRSj24NWZSoXbm3A92Aiz7Agkol9eY3DT0DcusiX61CU1FZUbP5ug6Fg+3mpCMo+xrkOnQjKtnQQsjxhYWkNNJho37H9qzszvHX3cp3si2QJUI39Y6Of247F/PXJAeZLP2iskWdnDo8X+kYPd5NCj+fBhKdY6yryG47uekU3saSj7WF8T6K24R8Da40ioVUHPiGaaRf0D4ustKInRT1vJEg96KtHJwY5zqF7P85g0yAkUQDXpbtU7+HXX/x6S8+XfNp03pPy7FTsy2yT6imrebb3S0v83Ig5E1XKYQnR0dvSLPf1vlhl8boHTuSVmPMdZaOgc5tS6UwRixQQGJB2h2U6Ukr3UWmeCLSVJJZkV217a2auDTQArK98ei/YTz+BoXFnbDzq9GegKRYAHIHZzzrbbuaKgWtCqiMPuNm4MGZpn2d9mhCJWj141G9WUc71vcosE7EaZAbrEPr57jnPB6JQkb3/YjTJK/n/A3FKTjamvZrl4iySJm/RTMQhAHj8VGkr5vN/vJR5EUGzZrdtHc1SEMvByzrs6ecxvsT8e50Mjg5PD07Pjs8OR30DuP+JDnsJb8N+pPBQEzEgO+mltfJInipJtq7WWWk8d23rw3aeke9k+67bu9J1XwSc+LpTfPMSopAl3d8cYrEFydWIVUPn0GW6T+mem2pK7XfMjCFuFG14vZpdMvrONUjYyrdrIy7SExRS0XUPMWZjiM0paKPo4vLzzeXPkdUKLlQLeV19bCqelo7iq1n1u6Pv1bLveY7MNSPg0cXFRnian3ZhEpufSOGat2qZbLvzeADNQ8NTZJaLmNh4avJVit6jQVoaFvFx3uBq6IfG7itogCOfpSmBpjDggZHwH94S9joelb63G/Tx6pTS5wnCRTu2bt3rU69+nJDqYurD93c0wM34oEWEfyLnd3Bj/HgHl7w75Y8E2paiindDTo9X5YUpGb5DI3XqR/Iq5qW1aKFEMPjb9zqOSgMUadyxdFvhIvK/wPOWZ8Z
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={"outposts_service_connections_docker_create"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/outposts/service_connections/docker/"}
>
</MethodEndpoint>
DockerServiceConnection 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={"name"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"local"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"If enabled, use the local connection. Required Docker socket/Kubernetes Integration"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"url"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1,"description":"Can be in the format of 'unix://<path>' when connecting to a local docker daemon, or 'https://<hostname>:2376' when connecting to a remote system."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"tls_verification"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true,"description":"CA which the endpoint's Certificate is verified against. Can be left empty for no validation."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"tls_authentication"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true,"description":"Certificate/Key used for authentication. Can be left empty for no authentication."}}
>
</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={"pk"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true,"title":"Uuid"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"local"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"If enabled, use the local connection. Required Docker socket/Kubernetes Integration"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"component"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name_plural"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's plural verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"meta_model_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return internal model name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"url"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Can be in the format of 'unix://<path>' when connecting to a local docker daemon, or 'https://<hostname>:2376' when connecting to a remote system."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"tls_verification"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true,"description":"CA which the endpoint's Certificate is verified against. Can be left empty for no validation."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"tls_authentication"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true,"description":"Certificate/Key used for authentication. Can be left empty for no authentication."}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"pk\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"name\": \"string\",\n \"local\": true,\n \"component\": \"string\",\n \"verbose_name\": \"string\",\n \"verbose_name_plural\": \"string\",\n \"meta_model_name\": \"string\",\n \"url\": \"string\",\n \"tls_verification\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"tls_authentication\": \"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>