Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

chore: update openapi

Aldino Kemal51f418b3a032
diff --git a/docs/openapi.yaml b/docs/openapi.yaml
index abb870df..4138be3e 100644
--- a/docs/openapi.yaml
+++ b/docs/openapi.yaml
@@ -70,6 +70,25 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ErrorInternalServer'
+ /app/devices:
+ get:
+ operationId: appDevices
+ tags:
+ - app
+ summary: Get list connected devices
+ responses:
+ '200':
+ description: OK
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/DeviceResponse'
+ '500':
+ description: Internal Server Error
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorInternalServer'
/user/info:
get:
operationId: userInfo
@@ -674,6 +693,26 @@ components:
status:
type: string
example: '<feature> success ....'
+ DeviceResponse:
+ type: object
+ properties:
+ code:
+ type: string
+ example: SUCCESS
+ message:
+ type: string
+ example: Fetch device success
+ results:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ example: 'Aldino Kemal'
+ device:
+ type: string
+ example: '628960561XXX.0:[email protected]'
LoginResponse:
type: object
properties: