247 lines
7.2 KiB
Plaintext
247 lines
7.2 KiB
Plaintext
---
|
|
id: core-applications-set-icon-create
|
|
title: "core_applications_set_icon_create"
|
|
description: "Set application icon"
|
|
sidebar_label: "core_applications_set_icon_create"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJyNVN9P2zAQ/lciP21SqFHhYerTALGpEmyIwhOqKie5NqZu7NkXtK7K/747J6GBlmlPcez79X333e2EdeAValtNCzERufWwUM4ZncfLsAiAC53bapF7UAgiFQWE3GvHz+QxA0wGDgnbkpFTXm0AwQcxedoJzaZOYUlPFT3QXzD1iv5CXsJGiclO4NbFe/S6Wh3kmVYUrFLmTTIOlSZ1gCLRVfJ4fxNGokmFh1+19kCA0NfQzFOBasWFRHxi3lpAwEtbbDk11YxQIR83tUFN1aNcWr85KRTG4g7KtNkz5HiEDq+V0X/AJ2iT2hmrimSpDRPnPJONGgLHiZdHYHNaRaWITFfKbxlPbkD5gW1mLd1UMflSUcFislQmQEO2qJHjim8U/jGmv2+xiqbh9wB57TVuY1tUjSXh1mv6mzeRl+Co622F49NT/rwDWOc5hMBlnR97vyS8vs/INmfvCB70Tz4H9vl/dr9DRfzmycXdNLn23voDVgtApc0hr8yiLY4Q3rzRy1MfYL5nskva5oscvi0qhiCtl5YnyNmAUf+k9YmQLDg5HCi5Y+E3sp8ryTMA/qWflNob9lNOy5czKbgpfctmzFILc9C4V0AlousHKqqERAM+VqerpY2WHaS9eyo4cwtkfDo+H30ZjQ9ov1VroirpvbrhC3rjDIxEGrur8thdaiPTL0owxn5d2ddMI225CcQDkL7YtNsDt9MHCtHCZghhIuVKY1lno9xu5CCE3J8yYzNJqSp5M726/jG7jjCZ+42qBsGZ/uHGCAnxHndUcnyfDaT60Wrr6Eb4jdIZqoFxxfp3Xdu7PZMOtR7od9LvvK73dGShlSwZctrtMhXg0Zum4WuaIc9jSscXRVsl49aRQgod+Fx0Q/8PAJ/uO2F/Tj6qu7tU1ZaloEzNf3Rcw7bf0c2c7EpQBYmJ87dPV22WkwcOsHc9tj6btHe6oN3hcGB+sAxY76+zdPdzxtrIui29iQMcF2SMm+6PvL7SKOvhmmwHIO0PXPxRvER8tHiwa6iI/B4+8j/jb5q/1j13EQ==
|
|
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={"core_applications_set_icon_create"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"post"}
|
|
path={"/core/applications/{slug}/set_icon/"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Set application icon
|
|
|
|
<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":"slug","schema":{"type":"string","description":"Internal application name, used in URLs."},"required":true}}
|
|
>
|
|
|
|
</ParamsItem>
|
|
</ul>
|
|
</div>
|
|
</details><MimeTabs
|
|
className={"openapi-tabs__mime"}
|
|
>
|
|
<TabItem
|
|
label={"multipart/form-data"}
|
|
value={"multipart/form-data-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>
|
|
</summary><div
|
|
style={{"textAlign":"left","marginLeft":"1rem"}}
|
|
>
|
|
|
|
</div><ul
|
|
style={{"marginLeft":"1rem"}}
|
|
>
|
|
<SchemaItem
|
|
collapsible={false}
|
|
name={"file"}
|
|
required={false}
|
|
schemaName={"binary"}
|
|
qualifierMessage={undefined}
|
|
schema={{"type":"string","format":"binary"}}
|
|
>
|
|
|
|
</SchemaItem><SchemaItem
|
|
collapsible={false}
|
|
name={"clear"}
|
|
required={false}
|
|
schemaName={"boolean"}
|
|
qualifierMessage={undefined}
|
|
schema={{"type":"boolean","default":false}}
|
|
>
|
|
|
|
</SchemaItem>
|
|
</ul>
|
|
</details>
|
|
</TabItem>
|
|
</MimeTabs><div>
|
|
<div>
|
|
<ApiTabs
|
|
label={undefined}
|
|
id={undefined}
|
|
>
|
|
<TabItem
|
|
label={"200"}
|
|
value={"200"}
|
|
>
|
|
<div>
|
|
|
|
|
|
Success
|
|
|
|
|
|
</div><div>
|
|
|
|
</div>
|
|
</TabItem><TabItem
|
|
label={"400"}
|
|
value={"400"}
|
|
>
|
|
<div>
|
|
|
|
|
|
Bad request
|
|
|
|
|
|
</div><div>
|
|
|
|
</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>
|
|
|