Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 1.53 KB

File metadata and controls

61 lines (49 loc) · 1.53 KB

Tools

Ändere deine Tools

PUT https://api.slive.app/channel/<channelId>/tools

Setze das Tool fest, welches du über das Overlay anzeigen lassen kannst.
Beim ändern lädt dein Overlay automatisch neu und zeigt deine Auswahl an.

Wenn du diesen Endpoint aufrufst, switchst du den Wert in unserer Datenbank. Achte daher darauf, welche Informationen du in der Response erhältst.

Path Parameters

Name Type Description
channelId* String

Headers

Name Type Description
Authorization* Bearer

Request Body

Name Type Description
id* String ID des Tools

{% tabs %} {% tab title="200: OK " %}

{
	"id": "app.slive.tool.chat",
	"selected_tools": [
		"app.slive.tool.chat"
	],
	"added": true,
	"removed": false
}

{% endtab %}

{% tab title="401: Unauthorized " %}

{
	"code": 401,
	"message": "Authorization has failed - invalid Bearer token"
}

{% endtab %}

{% tab title="404: Not Found " %}

{
	"code": 404,
	"message": "Tool not found"
}

{% endtab %} {% endtabs %}