Chore: Update Swagger API docs (#608)

This commit is contained in:
Pranav Raj S
2020-03-11 16:19:13 +05:30
committed by GitHub
parent a5b1e2b650
commit 260e40831a
23 changed files with 1014 additions and 463 deletions

View File

@@ -0,0 +1,28 @@
patch:
tags:
- Widget
operationId: widgetInboxUpdate
summary: Update a website inbox
description: Update widget color of an inbox
parameters:
- name: data
in: body
required: true
schema:
type: object
properties:
website:
type: object
properties:
widget_color:
type: string
description: A Hex-color string used to customize the widget
responses:
200:
description: Success
schema:
$ref: '#/definitions/inbox'
404:
description: Inbox not found
403:
description: Access denied