mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: expose application name via Appearance API (#9886)
This commit is contained in:
Generated
+3
@@ -19,6 +19,7 @@ curl -X GET http://coder-server:8080/api/v2/appearance \
|
||||
|
||||
```json
|
||||
{
|
||||
"application_name": "string",
|
||||
"logo_url": "string",
|
||||
"service_banner": {
|
||||
"background_color": "string",
|
||||
@@ -61,6 +62,7 @@ curl -X PUT http://coder-server:8080/api/v2/appearance \
|
||||
|
||||
```json
|
||||
{
|
||||
"application_name": "string",
|
||||
"logo_url": "string",
|
||||
"service_banner": {
|
||||
"background_color": "string",
|
||||
@@ -82,6 +84,7 @@ curl -X PUT http://coder-server:8080/api/v2/appearance \
|
||||
|
||||
```json
|
||||
{
|
||||
"application_name": "string",
|
||||
"logo_url": "string",
|
||||
"service_banner": {
|
||||
"background_color": "string",
|
||||
|
||||
Generated
+13
-9
@@ -952,6 +952,7 @@ _None_
|
||||
|
||||
```json
|
||||
{
|
||||
"application_name": "string",
|
||||
"logo_url": "string",
|
||||
"service_banner": {
|
||||
"background_color": "string",
|
||||
@@ -970,11 +971,12 @@ _None_
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| ---------------- | ------------------------------------------------------------ | -------- | ------------ | ----------- |
|
||||
| `logo_url` | string | false | | |
|
||||
| `service_banner` | [codersdk.ServiceBannerConfig](#codersdkservicebannerconfig) | false | | |
|
||||
| `support_links` | array of [codersdk.LinkConfig](#codersdklinkconfig) | false | | |
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| ------------------ | ------------------------------------------------------------ | -------- | ------------ | ----------- |
|
||||
| `application_name` | string | false | | |
|
||||
| `logo_url` | string | false | | |
|
||||
| `service_banner` | [codersdk.ServiceBannerConfig](#codersdkservicebannerconfig) | false | | |
|
||||
| `support_links` | array of [codersdk.LinkConfig](#codersdklinkconfig) | false | | |
|
||||
|
||||
## codersdk.AssignableRoles
|
||||
|
||||
@@ -4950,6 +4952,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
|
||||
```json
|
||||
{
|
||||
"application_name": "string",
|
||||
"logo_url": "string",
|
||||
"service_banner": {
|
||||
"background_color": "string",
|
||||
@@ -4961,10 +4964,11 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| ---------------- | ------------------------------------------------------------ | -------- | ------------ | ----------- |
|
||||
| `logo_url` | string | false | | |
|
||||
| `service_banner` | [codersdk.ServiceBannerConfig](#codersdkservicebannerconfig) | false | | |
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| ------------------ | ------------------------------------------------------------ | -------- | ------------ | ----------- |
|
||||
| `application_name` | string | false | | |
|
||||
| `logo_url` | string | false | | |
|
||||
| `service_banner` | [codersdk.ServiceBannerConfig](#codersdkservicebannerconfig) | false | | |
|
||||
|
||||
## codersdk.UpdateCheckResponse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user