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

389 lines
14 KiB
Plaintext

---
id: events-transports-retrieve
title: "events_transports_retrieve"
description: "NotificationTransport Viewset"
sidebar_label: "events_transports_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVk1v2zAM/SuCThsQxEW7w5DTii0YAqxb0Ta7DEFA20ysRpY8SU6XBf7vI20l8Zr0A8MurWRR5HtP/MhW2godBGXNJJcjiWs0wc+DA+Mr62jpMDhFn+VA5ugzpyo2JtOvNqiFytq7dzt78V3hg8dA1hU4KDGg83L0YysV36kgFHRk6IB2da1y2vmswBLkaCvDpuLvniKaJZ0srCsh7CybxwguxXQ6+SQ6c6Fygq4WG16HQnnRByj2CIfk1+HPWjkkwsHV2MwGMsCSYUb+kr54zGqnwqYFD3Uo2PuKdjO2d0jOjEfPsM/PzvhfZk0gI15CVekYObn3DHZ7TNOm95iFV+p6i06BVr/RsbSOXy2oLny1elk7Rgz5N6M3HWdirILmC9Mobfcmj/3QQWnz9gBNXbJE2magyeEDpoW1q8Nq7jVkvCeaSrOGjzHtYp6keEVxxhwjxpyv0aXWnwD1WLEbDLUzwqMmPTEXfFs8qFAIENOJ+AIp6iMFmgPu2unnFXRK9sxLel22eIXoptYaUuYcQ3o0+dyarM8qtVYjmCNajFXwBWH6mcy3B4IiCfwFZaWJKuVma8ipDyLiFMoES9usgMB/jEE9lE3TT/8ffysds2DAKTV74bnI01FBskrv/msxfKeczzveY+fscfIba+YLhTqfI5/7nktwDjZ0QQUs/YnUJrBZzO3jE8hzxWFBX/fjNQdVDtA6ZE/qcfEf9fiMhhpBJi6vJ08IkmPg6jtVyU+z7WdEdNB7/xj0GZpcshgKyyNkGbs/dfqRTLqGmhwGSrLl2mgSbvzo1rvx0NagTKBSyfoikU2vA9+yNh25Xh/e0yhCqHZTpC0nBIeuxaTMwraWkcjh+kBy5A7++dn5u+H74fmR2Fewaisq3or15xUXHY8RflPI2jftWh6BQa3th6XdRxoqy9LTg6PpelkcfleTO3LR0WYKfpQkS+pZdTrMbJn0XCSHVaptmlAok3yZfBx/vR23NCvrQwmm57xTXRxUF0+N8V5mvjjRo+ABf4Wk0oSCmcXm2b33foCS8T42bUaxH3JWFYSWLbfbFDxOnW4a/vyzRsfDlpZroFnXdk1KjFx5XlNmLUB7fAb+m5uYxW/FP/8yOElx108Md5M16Jp3tFzhZv/bZEZ2BQ0YyjxG3R1dZhlWoXfpqPQ5z/eV83nMKcGv3Z8OXToPdgv2fhIQ6dla3NkVGtJ0hy/wngE2zR955nTN
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={"events_transports_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/events/transports/{uuid}/"}
>
</MethodEndpoint>
NotificationTransport 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":"uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Notification Transport.","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={"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={"mode"}
required={false}
schemaName={"NotificationTransportModeEnum (string)"}
qualifierMessage={"**Possible values:** [`local`, `webhook`, `webhook_slack`, `email`]"}
schema={{"enum":["local","webhook","webhook_slack","email"],"type":"string","title":"NotificationTransportModeEnum"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"mode_verbose"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return selected mode with a UI Label","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"webhook_url"}
required={false}
schemaName={"uri"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uri"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"webhook_mapping"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"send_once"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Only send notification once, for example when sending a webhook into a chat channel."}}
>
</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 \"mode\": \"local\",\n \"mode_verbose\": \"string\",\n \"webhook_url\": \"string\",\n \"webhook_mapping\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"send_once\": true\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>