Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Update API spec for 0.0.11. Closes #1666
Gabe Kangas52e3bd726bf3
diff --git a/openapi.yaml b/openapi.yamlindex 1bc4486366..c82c4ef292 100644--- a/openapi.yaml+++ b/openapi.yaml@@ -2,7 +2,7 @@ openapi: 3.0.1info:title: Owncastdescription: Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software. The following APIs represent the state in the development branch.- version: '0.0.10-dev'+ version: '0.0.11'contact:name: Gabe Kangasemail: [email protected]@@ -11,7 +11,6 @@ info:url: >-data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAEvmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1s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LRBY/+vAr5vI4sFBfKSJSvdkHYEAIDv163bbI3eE6lXn1BQ/3vpuhvSkgAAUAfMsKovtvLuJRBAfNvZ36ezkLYEqKio8Dwb/DdrdVGU4Z3v4FlE3Ci6LyBtCQAAKyuqtjQAJ1qri9tBgEYC73WC+l0CaU0AAKioqGisa2g41lh7mQV2xtv+G7XzPGs3d472nY+0cgRFw45du+yWbds/7ZPbcy6FOUrmA4h1TzCgusCDnLtm7doufRNJKpF2jiA/GNG/v2tzcs5Tx7maZClC/o5msltVbYDqTasrKqLefbyvoFsSIBwlBQWOuK6rqkIAULVBY4Lr1q/ff3XcfuzH/wfoPFiLyqlaYQAAAABJRU5ErkJggg==servers: []-tags:- name: Admindescription: Admin operations requiring authentication.@@ -19,34 +18,41 @@ tags:description: Endpoints related to the chat interface.- name: Integrationsdescription: APIs built to allow 3rd parties to interact with an Owncast server.+ - name: Moderation+ description: Chat-related actions that can take place by a moderator.components:schemas:ClientArray:type: arrayitems:- $ref: "#/components/schemas/Client"+ $ref: '#/components/schemas/Client'UserArray:type: arrayitems:- $ref: "#/components/schemas/User"+ $ref: '#/components/schemas/User'LogEntryArray:type: arrayitems:- $ref: "#/components/schemas/LogEntry"+ $ref: '#/components/schemas/LogEntry'++ FollowerArray:+ type: array+ items:+ $ref: '#/components/schemas/Follower'Client:type: objectdescription: A single representation of a client.example:- connectedAt: "2020-10-06T23:20:44.588649-07:00"+ connectedAt: '2020-10-06T23:20:44.588649-07:00'messageCount: 0userAgent: >-Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36(KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36- ipAddress: "::1"+ ipAddress: '::1'clientID: 2ba20dd34f911c198df3218ddc64c740geo:countryCode: US@@ -62,7 +68,7 @@ components:userAgent:description: The web client used to connect to this servertype: string- example: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"+ example: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'ipAddress:description: The public IP address of this clienttype: string@@ -80,7 +86,7 @@ components:timeZone:type: stringuser:- $ref: "#/components/schemas/User"+ $ref: '#/components/schemas/User'x-last-modified: 1602052347511BasicResponse:@@ -123,7 +129,7 @@ components:extraPageContent:type: stringdescription: Additional HTML content to render in the body of the web interface.- example: "<p>This page is <strong>super</strong> cool!"+ example: '<p>This page is <strong>super</strong> cool!'version:type: stringexample: Owncast v0.0.3-macOS (ef3796a033b32a312ebf5b334851cbf9959e7ecb)@@ -190,8 +196,8 @@ components:description: The target frames per second of the video.cpuUsageLevel:type: integer- description: "The amount of hardware utilization selected for this HLS variant."-+ description: 'The amount of hardware utilization selected for this HLS variant.'+TimestampedValue:type: objectproperties:@@ -212,19 +218,28 @@ components:- type: object- type: boolean+ BooleanValue:+ description: A wrapper object used to set boolean values in many config endpoints.+ type: object+ properties:+ value:+ type: boolean+ example:+ value: true+LogEntry:type: objectproperties:time:type: stringformat: date-time- description: "Timestamp for this log entry"+ description: 'Timestamp for this log entry'level:type: string- description: "The level of this log entry"+ description: 'The level of this log entry'message:type: string- description: "The log entry contents"+ description: 'The log entry contents'Webhook:type: objectproperties:@@ -270,8 +285,57 @@ components:previousNames:type: stringdescription: Comma separated list of names previously used by this user.- example: "awesome-pizza,user42"-+ example: 'awesome-pizza,user42'+ scopes:+ type: array+ items:+ description: A specific attribute assigned to this user+ type: string+ example: 'MODERATOR'++ Follower:+ type: object+ required:+ - link+ - username+ - timestamp+ properties:+ link:+ type: string+ description: URL linking to this follower+ example: https://mastodon.cloud/users/gabektest+ name:+ type: string+ description: Optional display name for this follower+ example: John Smith+ image:+ type: string+ description: Optional image for this follower+ example: http://mastodon.cloud/users/gabektest/avatar.png+ timestamp:+ type: string+ format: date-time+ description: Timestamp of when the follow occured+ disabledAt:+ type: string+ format: date-time+ description: Timestamp when the follow was removed++ FederatedAction:+ type: object+ properties:+ iri:+ type: string+ description: The unique identifier for this action.+ example: https://fediverse.server/jfk-3827+ actorIRI:+ type: string+ description: The identifier for the actor that performed this action.+ example: https://mastodon.cloud/users/gabektest+ type:+ type: string+ enum: [FEDIVERSE_ENGAGEMENT_FOLLOW, FEDIVERSE_ENGAGEMENT_LIKE, FEDIVERSE_ENGAGEMENT_REPOST]+securitySchemes:AdminBasicAuth:type: http@@ -285,7 +349,12 @@ components:type: apiKeyname: accessTokenin: query- description: 3rd party integration auth where a service user must provide an access token.+ description: A standard user must provide a valid access token.+ ModeratorUserToken:+ type: apiKey+ name: accessToken+ in: query+ description: A moderator user must provide a valid access token.responses:UsersResponse:@@ -293,21 +362,28 @@ components:content:application/json:schema:- $ref: "#/components/schemas/UserArray"+ $ref: '#/components/schemas/UserArray'++ FollowersResponse:+ description: A collection of users.+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/FollowerArray'ClientsResponse:description: Successful response of an array of clientscontent:application/json:schema:- $ref: "#/components/schemas/ClientArray"+ $ref: '#/components/schemas/ClientArray'example:- - connectedAt: "2020-10-06T23:20:44.588649-07:00"+ - connectedAt: '2020-10-06T23:20:44.588649-07:00'messageCount: 3userAgent: >-Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36(KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36- ipAddress: "172.217.164.110"+ ipAddress: '172.217.164.110'geo:countryCode: USregionName: California@@ -316,34 +392,34 @@ components:id: yklw5ImngdisplayName: awesome-pizzadisplayColor: 42- createdAt: "2021-07-08T20:21:25.303402404-07:00"- previousNames: "awesome-pizza,coolPerson23"+ createdAt: '2021-07-08T20:21:25.303402404-07:00'+ previousNames: 'awesome-pizza,coolPerson23'LogsResponse:description: Response of server log entriescontent:application/json:schema:- $ref: "#/components/schemas/LogEntryArray"+ $ref: '#/components/schemas/LogEntryArray'examples:success:summary: Logs returnedvalue:[{- "message": "Owncast v0.0.0-localdev (unknown)",- "level": "info",- "time": "2020-10-29T18:35:34.422386-07:00",+ 'message': 'Owncast v0.0.0-localdev (unknown)',+ 'level': 'info',+ 'time': '2020-10-29T18:35:34.422386-07:00',},{- "message": "Web server running on port: 8080",- "level": "info",- "time": "2020-10-29T18:35:35.011731-07:00",+ 'message': 'Web server running on port: 8080',+ 'level': 'info',+ 'time': '2020-10-29T18:35:35.011731-07:00',},{- "message": "RTMP server is listening for incoming stream on port: 1935",- "level": "info",- "time": "2020-10-29T18:35:35.011823-07:00",+ 'message': 'RTMP server is listening for incoming stream on port: 1935',+ 'level': 'info',+ 'time': '2020-10-29T18:35:35.011823-07:00',},]@@ -352,21 +428,21 @@ components:content:application/json:schema:- $ref: "#/components/schemas/BasicResponse"+ $ref: '#/components/schemas/BasicResponse'examples:success:summary: Operation succeeded.value:{- "success": true,- "message": "context specific success message",+ 'success': true,+ 'message': 'context specific success message',}failure:summary: Operation failed.value:{- "success": false,- "message": "context specific failure message",+ 'success': false,+ 'message': 'context specific failure message',}paths:@@ -374,32 +450,32 @@ paths:get:summary: Informationdescription: The client configuration. Information useful for the user interface.- tags: ["Server"]+ tags: ['Server']responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:- $ref: "#/components/schemas/InstanceDetails"+ $ref: '#/components/schemas/InstanceDetails'/api/ping:get:summary: Mark the current viewer as active.description: For tracking viewer count, periodically hit the ping endpoint.- tags: ["Server"]+ tags: ['Server']responses:- "200":- description: "Successful ping"+ '200':+ description: 'Successful ping'/api/status:get:summary: Current Statusdescription: This endpoint is used to discover when a server is broadcasting, the number of active viewers as well as other useful information for updating the user interface.- tags: ["Server"]+ tags: ['Server']responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:@@ -424,7 +500,7 @@ paths:examples:online:value:- lastConnectTime: "2020-10-03T21:36:22-05:00"+ lastConnectTime: '2020-10-03T21:36:22-05:00'lastDisconnectTime: nullonline: trueoverallMaxViewerCount: 420@@ -435,9 +511,9 @@ paths:post:summary: Register a chat userdescription: Register a user that returns an access token for accessing chat.- tags: ["Chat"]+ tags: ['Chat']security:- - UserToken: []+ - UserToken: []requestBody:required: falsecontent:@@ -449,8 +525,8 @@ paths:type: stringdescription: Optionally provide a display name you want to assign to this user when registering.responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:@@ -470,12 +546,12 @@ paths:get:summary: Chat Messages Backlogdescription: Used to get chat messages prior to connecting to the websocket.- tags: ["Chat"]+ tags: ['Chat']security:- - UserToken: []+ - UserToken: []responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:@@ -484,7 +560,7 @@ paths:type: objectproperties:user:- $ref: "#/components/schemas/User"+ $ref: '#/components/schemas/User'body:type: stringdescription: Escaped HTML of the chat message content.@@ -493,7 +569,7 @@ paths:description: Unique ID of the chat message.visible:type: boolean- description: "Should chat message be visibly rendered."+ description: 'Should chat message be visibly rendered.'timestamp:type: stringformat: date-time@@ -502,10 +578,10 @@ paths:get:summary: Yellow Pages Informationdescription: Information to be used in the Yellow Pages service, a global directory of Owncast servers.- tags: ["Server"]+ tags: ['Server']responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:@@ -540,10 +616,10 @@ paths:get:summary: Get Custom Emojidescription: Get a list of custom emoji that are supported in chat.- tags: ["Chat"]+ tags: ['Chat']responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:@@ -566,14 +642,100 @@ paths:- name: parrotemoji: /img/emoji/parrot.gif+ /api/followers:+ get:+ summary: Get the public followers of this instance+ responses:+ '200':+ description: Followers+ content:+ application/json:+ schema:+ type: array+ items:+ $ref: '#/components/schemas/Follower'++ /api/remotefollow:+ post:+ summary: Return the information needed to redirect a user to a fediverse server to perform a remote follow action.+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ account:+ description: The fediverse [email protected] account that wants to perform the remote follow action.+ type: string+ example: [email protected]+ responses:+ '200':+ description: Remote follow redirect details+ content:+ application/json:+ schema:+ type: object+ properties:+ redirectUrl:+ description: The URL the frontend should redirect to+ type: string+ example: https://fediverse.biz/authorize_interaction?uri=https://my.owncast.server/federation/user/streamer++ /api/chat/updatemessagevisibility:+ post:+ summary: Update the visibility of chat messages.+ description: Pass an array of IDs you want to change the chat visibility of.+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ visible:+ type: boolean+ description: Are these messages visible.+ idArray:+ type: array+ items:+ type: string+ description: IDs of the chat messages you wish to change the visibility of.+ tags: ['Moderation']+ security:+ - ModeratorUserToken: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'++ /api/chat/users/setenabled:+ post:+ summary: Disable (block) or re-enable a chat user.+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ userId:+ type: string+ description: User ID of the chat user you're changing.+ enabled:+ type: boolean+ description: State of this user. False to block/disable.+ tags: ['Moderation']+ security:+ - ModeratorUserToken: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+/api/admin/status:get:- summary: "Server status and broadcaster"- tags: ["Admin"]+ summary: 'Server status and broadcaster'+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":+ '200':description: Server status and broadcaster detailscontent:application/json:@@ -624,109 +786,109 @@ paths:description: The current version of the owncast softwareexamples:connected:- summary: "Broadcaster Connected"+ summary: 'Broadcaster Connected'value:broadcaster:remoteAddr: 172.217.164.110- time: "2020-10-06T23:20:44.588649-07:00"+ time: '2020-10-06T23:20:44.588649-07:00'streamDetails:width: 640height: 480frameRate: 24videoBitrate: 1500- videoCodec: "mp4a"+ videoCodec: 'mp4a'audioBitrate: 256- audioCodec: "aac"- encoder: "obs-output module (libobs version 25.0.8)"+ audioCodec: 'aac'+ encoder: 'obs-output module (libobs version 25.0.8)'online: trueviewerCount: 3overallPeakViewerCount: 4sessionPeakViewerCount: 4- versionNumber: "0.0.3"+ versionNumber: '0.0.3'/api/admin/disconnect:post:summary: Disconnect Broadcasterdescription: Disconnect the active inbound stream, if one exists, and terminate the broadcast.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- $ref: "#/components/responses/BasicResponse"+ '200':+ $ref: '#/components/responses/BasicResponse'/api/admin/yp/reset:post:summary: Reset your YP registration key.description: Used when there is a problem with your registration to the Owncast Directory via the YP APIs. This will reset your local registration key.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'/api/admin/chat/clients:get:summary: Return a list of currently connected clientsdescription: Return a list of currently connected clients with optional geo details.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- $ref: "#/components/responses/ClientsResponse"+ '200':+ $ref: '#/components/responses/ClientsResponse'/api/admin/users/disabled:- get:- summary: Return a list of currently connected clients- description: Return a list of currently connected clients with optional geo details.- tags: ["Admin"]- security:- - AdminBasicAuth: []- responses:- "200":- $ref: "#/components/responses/UsersResponse"+ get:+ summary: Return a list of currently connected clients+ description: Return a list of currently connected clients with optional geo details.+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/UsersResponse'/api/admin/logs:get:summary: Return recent log entriesdescription: Returns server logs.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- $ref: "#/components/responses/LogsResponse"+ '200':+ $ref: '#/components/responses/LogsResponse'/api/admin/logs/warnings:get:summary: Return recent warning and error logs.description: Return recent warning and error logs.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- $ref: "#/components/responses/LogsResponse"+ '200':+ $ref: '#/components/responses/LogsResponse'/api/admin/serverconfig:get:summary: Server Configurationdescription: Get the current configuration of the Owncast server.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:type: objectproperties:instanceDetails:- $ref: "#/components/schemas/InstanceDetails"+ $ref: '#/components/schemas/InstanceDetails'ffmpegPath:type: stringdescription: The path to the copy of ffmpeg that this server is using.@@ -737,7 +899,7 @@ paths:type: integerdescription: The port the inbound RTMP broadcast should be sent to.s3:- $ref: "#/components/schemas/S3"+ $ref: '#/components/schemas/S3'videoSettings:type: objectdescription: How the different variants of video streams are configured.@@ -745,23 +907,23 @@ paths:videoQualityVariants:type: arrayitems:- $ref: "#/components/schemas/StreamQuality"+ $ref: '#/components/schemas/StreamQuality'latencyLevel:type: integerdescription: The level of latency selected for streaming. Lower latency can create more buffering.yp:- $ref: "#/components/schemas/YP"+ $ref: '#/components/schemas/YP'/api/admin/chat/messages:get:summary: Chat messages, unfiltered.description: Get a list of all chat messages with no filters applied.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:@@ -770,7 +932,7 @@ paths:type: objectproperties:user:- $ref: "#/components/schemas/User"+ $ref: '#/components/schemas/User'body:type: stringdescription: Escaped HTML of the chat message content.@@ -779,7 +941,7 @@ paths:description: Unique ID of the chat message.visible:type: boolean- description: "Should chat message be visibly rendered."+ description: 'Should chat message be visibly rendered.'timestamp:type: stringformat: date-time@@ -802,13 +964,12 @@ paths:items:type: stringdescription: IDs of the chat messages you wish to change the visibility of.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- $ref: "#/components/responses/BasicResponse"-+ '200':+ $ref: '#/components/responses/BasicResponse'/api/admin/chat/users/setenabled:post:@@ -823,67 +984,65 @@ paths:userId:type: stringdescription: User ID to act upon.- example: "yklw5Imng"+ example: 'yklw5Imng'enabled:type: booleandescription: Set the enabled state of this user.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- $ref: "#/components/responses/BasicResponse"-+ '200':+ $ref: '#/components/responses/BasicResponse'/api/admin/config/key:post:summary: Set the stream key.description: Set the stream key. Also used as the admin password.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'/api/admin/config/pagecontent:post:summary: Set the custom page content.description: Set the custom page content using markdown.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"- example:- "# Welcome to my cool server!<br><br>I _hope_ you enjoy it."+ $ref: '#/components/schemas/ConfigValue'+ example: '# Welcome to my cool server!<br><br>I _hope_ you enjoy it.'/api/admin/config/streamtitle:post:summary: Set the stream title.description: Set the title of the currently streaming content.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value: Streaming my favorite game, Desert Bus.@@ -891,108 +1050,108 @@ paths:post:summary: Set the server name.description: Set the name associated with your server. Often is your name, username or identity.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'/api/admin/config/serversummary:post:summary: Set the server summary.description: Set the summary of your server's streaming content.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:- value: The best in Desert Bus Streaming+ value: The best in Desert Bus Streaming/api/admin/config/logo:post:summary: Set the server logo.description: Set the logo for your server. Path is relative to webroot.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:- value: "/img/mylogo.png"+ value: '/img/mylogo.png'/api/admin/config/tags:post:summary: Set the server tags.description: Set the tags displayed for your server and the categories you can show up in on the directory.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value:- games- music- - streaming+ - streaming/api/admin/config/ffmpegpath:post:summary: Set the ffmpeg binary pathdescription: Set the path for a specific copy of ffmpeg on your system.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:- value: "/home/owncast/ffmpeg"+ value: '/home/owncast/ffmpeg'/api/admin/config/webserverport:post:summary: Set the owncast web port.description: Set the port the owncast web server should listen on.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value: 8080@@ -1000,17 +1159,17 @@ paths:post:summary: Set the inbound rtmp server port.description: Set the port where owncast service will listen for inbound broadcasts.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value: 1935@@ -1018,17 +1177,17 @@ paths:post:summary: Mark if your stream is not safe for workdescription: Mark if your stream can be consitered not safe for work. Used in different contexts, including the directory for filtering purposes.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value: false@@ -1036,17 +1195,17 @@ paths:post:summary: Set if this server supports the Owncast directory.description: If set to true the server will attempt to register itself with the [Owncast Directory](https://directory.owncast.online). Off by default.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value: true@@ -1054,17 +1213,17 @@ paths:post:summary: Set the public url of this owncast server.description: Set the public url of this owncast server. Used for the directory and optional integrations.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value: https://live.mycoolserver.biz@@ -1072,12 +1231,12 @@ paths:post:summary: Set the latency level for the stream.description: Sets the latency level that determines how much video is buffered between the server and viewer. Less latency can end up with more buffering.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:@@ -1089,23 +1248,22 @@ paths:type: integerexample:value: 4-/api/admin/config/video/streamoutputvariants:post:summary: Set the configuration of your stream output.description: Sets the detailed configuration for all of the stream variants you support.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value:- framerate: 30@@ -1123,12 +1281,12 @@ paths:post:summary: Set the video codec.description: Sets the specific video codec that will be used for video encoding. Some codecs will support hardware acceleration. Not all codecs will be supported for all systems.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:@@ -1142,100 +1300,100 @@ paths:value: libx264/api/admin/config/s3:- post:- summary: Set your storage configration.- description: Sets your S3 storage provider configuration details to enable external storage.- tags: ["Admin"]- security:- - AdminBasicAuth: []- responses:- '200':- $ref: "#/components/responses/BasicResponse"- requestBody:- content:- application/json:- schema:- $ref: "#/components/schemas/ConfigValue"- example:- value:- enabled: true- endpoint: https://s3.us-west-000.backblazeb2.com- accessKey: e1ac500y7000500047156bd060- secret: "H8FH8eSxM2K/S42CUg5K000Tt4WY2fI"- bucket: "video"- region: us-west-000+ post:+ summary: Set your storage configration.+ description: Sets your S3 storage provider configuration details to enable external storage.+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ConfigValue'+ example:+ value:+ enabled: true+ endpoint: https://s3.us-west-000.backblazeb2.com+ accessKey: e1ac500y7000500047156bd060+ secret: 'H8FH8eSxM2K/S42CUg5K000Tt4WY2fI'+ bucket: 'video'+ region: us-west-000/api/admin/config/socialhandles:- post:- summary: Set your social handles.- description: Sets the external links to social networks and profiles.- tags: ["Admin"]- security:- - AdminBasicAuth: []- responses:- '200':- $ref: "#/components/responses/BasicResponse"- requestBody:- content:- application/json:- schema:- $ref: "#/components/schemas/ConfigValue"- example:- value:- - platform: github- url: https://github.com/owncast/owncast- - platform: mastodon- url: https://mastodon.social/@gabek+ post:+ summary: Set your social handles.+ description: Sets the external links to social networks and profiles.+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ConfigValue'+ example:+ value:+ - platform: github+ url: https://github.com/owncast/owncast+ - platform: mastodon+ url: https://mastodon.social/@gabek/api/admin/config/customstyles:post:summary: Custom CSS styles to be used in the web front endpoints.description: Save a string containing CSS to be inserted in to the web frontend page.- tags: ["Admin"]+ tags: ['Admin']responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:- value: "body { color: orange; background: black; }"-+ value: 'body { color: orange; background: black; }'+/api/admin/viewersOverTime:get:summary: Viewers Over Timedescription: Get the tracked viewer count over the collected period.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:type: arrayitems:- $ref: "#/components/schemas/TimestampedValue"+ $ref: '#/components/schemas/TimestampedValue'examples:default:value:- - time: "2020-10-03T21:41:00.381996-05:00"+ - time: '2020-10-03T21:41:00.381996-05:00'value: 50- - time: "2020-10-03T21:42:00.381996-05:00"+ - time: '2020-10-03T21:42:00.381996-05:00'value: 52/api/admin/hardwarestats:get:summary: Hardware Stats- description: "Get the CPU, Memory and Disk utilization levels over the collected period."- tags: ["Admin"]+ description: 'Get the CPU, Memory and Disk utilization levels over the collected period.'+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":- description: ""+ '200':+ description: ''content:application/json:schema:@@ -1244,64 +1402,193 @@ paths:cpu:type: arrayitems:- $ref: "#/components/schemas/TimestampedValue"+ $ref: '#/components/schemas/TimestampedValue'memory:type: arrayitems:- $ref: "#/components/schemas/TimestampedValue"+ $ref: '#/components/schemas/TimestampedValue'disk:type: arrayitems:- $ref: "#/components/schemas/TimestampedValue"+ $ref: '#/components/schemas/TimestampedValue'examples:default:value:cpu:- - time: "2020-10-03T21:41:00.381996-05:00"+ - time: '2020-10-03T21:41:00.381996-05:00'value: 23- - time: "2020-10-03T21:42:00.381996-05:00"+ - time: '2020-10-03T21:42:00.381996-05:00'value: 27- - time: "2020-10-03T21:43:00.381996-05:00"+ - time: '2020-10-03T21:43:00.381996-05:00'value: 22memory:- - time: "2020-10-03T21:41:00.381996-05:00"+ - time: '2020-10-03T21:41:00.381996-05:00'value: 65- - time: "2020-10-03T21:42:00.381996-05:00"+ - time: '2020-10-03T21:42:00.381996-05:00'value: 66- - time: "2020-10-03T21:43:00.381996-05:00"+ - time: '2020-10-03T21:43:00.381996-05:00'value: 72disk:- - time: "2020-10-03T21:41:00.381996-05:00"+ - time: '2020-10-03T21:41:00.381996-05:00'value: 11- - time: "2020-10-03T21:42:00.381996-05:00"+ - time: '2020-10-03T21:42:00.381996-05:00'value: 11- - time: "2020-10-03T21:43:00.381996-05:00"+ - time: '2020-10-03T21:43:00.381996-05:00'value: 11+ /api/admin/config/federation/enable:+ post:+ summary: Enable or disable federated social features.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/BooleanValue'+++ /api/admin/config/federation/private:+ post:+ summary: Enable or disable private federation mode.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/BooleanValue'+++ /api/admin/config/federation/showengagement:+ post:+ summary: Enable or disable Federation activity showing in chat.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/BooleanValue'++ /api/admin/config/federation/username:+ post:+ summary: Set the username you are seen as on the fediverse.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ConfigValue'++ /api/admin/config/federation/livemessage:+ post:+ summary: Set the message sent to the fediverse when this instance goes live.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ConfigValue'++ /api/admin/config/federation/blockdomains:+ post:+ summary: Save a collection of domains that should be ignored on the fediverse.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ConfigValue'+ example:+ value:+ - guns.eagles.biz+ - freedom.us++ /api/admin/federation/send:+ post:+ summary: Manually send a message to the fediverse from this instance.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ConfigValue'+ example:+ value: I'm still streaming, you should come visit.++ /api/admin/federation/actions:+ get:+ summary: Get a list of accepted actions that took place on the Fediverse.+ tags: ["Admin"]+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ description: Actions previously handled.+ content:+ application/json:+ schema:+ type: array+ items:+ $ref: '#/components/schemas/FederatedAction'++/api/integrations/streamtitle:post:summary: Set the stream title.description: Set the title of the currently streaming content.- tags: ["Integrations"]+ tags: ['Integrations']security:- AccessToken: []responses:'200':- $ref: "#/components/responses/BasicResponse"+ $ref: '#/components/responses/BasicResponse'requestBody:content:application/json:schema:- $ref: "#/components/schemas/ConfigValue"+ $ref: '#/components/schemas/ConfigValue'example:value: Streaming my favorite game, Desert Bus.-/api/integrations/chat/send:post:summary: Send a chat message.description: Send a chat message on behalf of a 3rd party integration, bot or service.- tags: ["Integrations"]+ tags: ['Integrations']security:- AccessToken: []requestBody:@@ -1315,7 +1602,7 @@ paths:type: stringdescription: The message text that will be sent as the user.responses:- "200":+ '200':description: Message was sent.content:application/json:@@ -1333,7 +1620,7 @@ paths:post:summary: Send a system chat message.description: Send a chat message on behalf of the system/server.- tags: ["Integrations"]+ tags: ['Integrations']security:- AccessToken: []requestBody:@@ -1347,7 +1634,7 @@ paths:type: stringdescription: The message text that will be sent as the system user.responses:- "200":+ '200':description: Message was sent.content:application/json:@@ -1365,7 +1652,7 @@ paths:post:summary: Send a chat action.description: Send an action that took place to the chat.- tags: ["Integrations"]+ tags: ['Integrations']security:- AccessToken: []requestBody:@@ -1375,18 +1662,18 @@ paths:schema:type: objectrequired:- - "body"+ - 'body'properties:body:type: stringdescription: The message text that will be sent as the system user.- example: "rolled a 15 on the dice"+ example: 'rolled a 15 on the dice'author:type: stringdescription: An optional user name that performed the action.- example: "JohnSmith"+ example: 'JohnSmith'responses:- "200":+ '200':description: Message was sent.content:application/json:@@ -1404,7 +1691,7 @@ paths:post:summary: Send system chat message to a client, identified by its ClientIddescription: Send a chat message on behalf of the system/server to a single client.- tags: ["Integrations"]+ tags: ['Integrations']security:- AccessToken: []parameters:@@ -1422,14 +1709,14 @@ paths:schema:type: objectrequired:- - "body"+ - 'body'properties:body:type: stringdescription: The message text that will be sent to the client.- example: "What a beautiful day. I love it"+ example: 'What a beautiful day. I love it'responses:- "200":+ '200':description: Message was sent.content:application/json:@@ -1442,14 +1729,14 @@ paths:messages:type: stringexample: sent- "500":+ '500':description: Message was not sent to the clientcontent:application/json:schema:type: objectproperties:- error:+ error:type: stringdescription: message explaining what went wrong sending the message to the client@@ -1457,7 +1744,7 @@ paths:post:summary: Create an access token.description: Create a single access token that has access to the access scopes provided.- tags: ["Integrations"]+ tags: ['Integrations']security:- AdminBasicAuth: []requestBody:@@ -1476,7 +1763,7 @@ paths:type: stringresponses:- "200":+ '200':description: Token was created.content:application/json:@@ -1488,13 +1775,13 @@ paths:example: your new tokentoken:type: string- example: "zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI="+ example: 'zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI='/api/admin/accesstokens/delete:post:summary: Delete an access token.description: Delete a single access token.- tags: ["Integrations"]+ tags: ['Integrations']security:- AdminBasicAuth: []requestBody:@@ -1509,7 +1796,7 @@ paths:description: The token to deleteresponses:- "200":+ '200':description: Token was deleted.content:application/json:@@ -1527,11 +1814,11 @@ paths:get:summary: Return all access tokens.description: Return all of the available access tokens.- tags: ["Integrations"]+ tags: ['Integrations']security:- AdminBasicAuth: []responses:- "200":+ '200':description: Tokens are returnedcontent:application/json:@@ -1544,60 +1831,60 @@ paths:get:summary: Return all webhooks.description: Return all of the configured webhooks for external events.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []responses:- "200":+ '200':description: Webhooks are returnedcontent:application/json:schema:- $ref: "#/components/schemas/Webhook"+ $ref: '#/components/schemas/Webhook'/api/admin/config/externalactions:post:summary: Set external action URLs.description: Set a collection of external action URLs that are displayed in the UI.- tags: ["Admin", "Integrations"]+ tags: ['Admin', 'Integrations']security:- AdminBasicAuth: []requestBody:required: truecontent:application/json:- schema:- type: array- items:- type: object- properties:- url:- type: string- description: URL of the external action content.- title:- type: string- description: The title to put on the external action button.- description:- type: string- description: Optional additional description to display in the UI.- icon:- type: string- description: The URL to an image to place on the external action button.- color:- type: string- description: Optional color to use for drawing the action button.- openExternally:- type: boolean- description: If set this action will open in a new browser tab instead of an internal modal.+ schema:+ type: array+ items:+ type: object+ properties:+ url:+ type: string+ description: URL of the external action content.+ title:+ type: string+ description: The title to put on the external action button.+ description:+ type: string+ description: Optional additional description to display in the UI.+ icon:+ type: string+ description: The URL to an image to place on the external action button.+ color:+ type: string+ description: Optional color to use for drawing the action button.+ openExternally:+ type: boolean+ description: If set this action will open in a new browser tab instead of an internal modal.responses:- "200":+ '200':description: Actions have been updated./api/admin/webhooks/delete:post:summary: Delete a single webhook.description: Delete a single webhook by its ID.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []requestBody:@@ -1611,14 +1898,14 @@ paths:type: stringdescription: The webhook id to deleteresponses:- "200":+ '200':description: Webhook is deleted/api/admin/webhooks/create:post:summary: Create a webhook.description: Create a single webhook that acts on the requested events.- tags: ["Admin"]+ tags: ['Admin']security:- AdminBasicAuth: []requestBody:@@ -1638,7 +1925,7 @@ paths:type: stringresponses:- "200":+ '200':description: Token was created.content:application/json:@@ -1650,51 +1937,50 @@ paths:example: your new tokentoken:type: string- example: "zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI="-+ example: 'zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI='/api/integrations/clients:get:summary: Return a list of currently connected clientsdescription: Return a list of currently connected clients with optional geo details.- tags: ["Integrations"]+ tags: ['Integrations']security:- AccessToken: []responses:- "200":- $ref: "#/components/responses/ClientsResponse"+ '200':+ $ref: '#/components/responses/ClientsResponse'/api/integrations/chat:- get:- summary: Historical Chat Messages- description: Used to get the backlog of chat messages.- tags: ["Integrations"]- security:- - AccessToken: []- responses:- "200":- description: ""- content:- application/json:- schema:- type: array- items:- type: object- properties:- user:- $ref: "#/components/schemas/User"- body:- type: string- description: Escaped HTML of the chat message content.- id:- type: string- description: Unique ID of the chat message.- visible:- type: boolean- description: "Should chat message be visibly rendered."- timestamp:- type: string- format: date-time+ get:+ summary: Historical Chat Messages+ description: Used to get the backlog of chat messages.+ tags: ['Integrations']+ security:+ - AccessToken: []+ responses:+ '200':+ description: ''+ content:+ application/json:+ schema:+ type: array+ items:+ type: object+ properties:+ user:+ $ref: '#/components/schemas/User'+ body:+ type: string+ description: Escaped HTML of the chat message content.+ id:+ type: string+ description: Unique ID of the chat message.+ visible:+ type: boolean+ description: 'Should chat message be visibly rendered.'+ timestamp:+ type: string+ format: date-time/api/integrations/chat/updatemessagevisibility:post:@@ -1714,9 +2000,129 @@ paths:items:type: stringdescription: IDs of the chat messages you wish to change the visibility of.- tags: ["Integrations"]+ tags: ['Integrations']security:- AccessToken: []responses:- "200":- $ref: "#/components/responses/BasicResponse"\ No newline at end of file+ '200':+ $ref: '#/components/responses/BasicResponse'++ /api/admin/chat/users/setmoderator:+ post:+ summary: Set moderator priviledges on a chat users.+ description: Give a chat user ID and be able to grant or remove moderator priviledges to this user.+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ userId:+ type: string+ description: User ID of the chat user you want to change moderation status of.+ example: xJ84_48Ghj+ isModerator:+ type: boolean+ description: The moderator status of this user.+ example: true+ tags: ['Admin', 'Moderation']+ security:+ - AdminBasicAuth: []+ responses:+ '200':+ $ref: '#/components/responses/BasicResponse'++ /api/admin/chat/users/moderators:+ get:+ tags: ['Admin', 'Moderation']+ security:+ - AdminBasicAuth: []+ summary: Get a list of chat moderator users.+ responses:+ '200':+ description: List of moderators+ content:+ application/json:+ schema:+ type: array+ items:+ $ref: '#/components/schemas/User'++ /api/admin/followers:+ get:+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ summary: Get the followers of this instance+ responses:+ '200':+ description: Followers+ content:+ application/json:+ schema:+ type: array+ items:+ $ref: '#/components/schemas/Follower'++ /api/admin/followers/pending:+ get:+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ summary: Get a list of follow requests that are pending.+ responses:+ '200':+ description: Followers+ $ref: '#/components/schemas/FollowerArray'++ /api/admin/followers/blocked:+ get:+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ summary: Get a list of follow requests that have been blocked/rejected.+ responses:+ '200':+ description: Follower requests that have been rejected or blocked.+ $ref: '#/components/schemas/FollowerArray'++ /api/admin/followers/approve:+ post:+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ summary: Approve a pending follow request.+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ actorIRI:+ type: string+ description: The requestor's remote IRI used to identify the user.+ responses:+ '200':+ description: The request has been successfully approved.+ $ref: '#/components/responses/BasicResponse'++ /api/admin/config/chat/suggestedusernames:+ post:+ tags: ['Admin']+ security:+ - AdminBasicAuth: []+ summary: A list of names to select from randomly for new chat users.+ requestBody:+ content:+ application/json:+ schema:+ type: object+ properties:+ value:+ type: array+ items:+ type: string+ responses:+ '200':+ description: The list of default names have been updated.+ $ref: '#/components/responses/BasicResponse'