-
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: delete message * feat: add FE and docs * feat: update syntax using newest proto * feat: update docs
- Loading branch information
1 parent
7292058
commit 1f3948e
Showing
17 changed files
with
392 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: WhatsApp API MultiDevice | ||
version: 3.11.0 | ||
version: 4.0.0 | ||
description: This API is used for sending whatsapp via API | ||
servers: | ||
- url: http://localhost:3000 | ||
|
@@ -200,7 +200,7 @@ paths: | |
summary: Send Message | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
@@ -427,7 +427,7 @@ paths: | |
summary: Send Contact | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
@@ -470,7 +470,7 @@ paths: | |
summary: Send Link | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
@@ -513,7 +513,7 @@ paths: | |
summary: Send Location | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
@@ -618,7 +618,49 @@ paths: | |
description: Message ID | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
phone: | ||
type: string | ||
example: '[email protected]' | ||
description: Phone number with country code | ||
responses: | ||
'200': | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/SendResponse' | ||
'400': | ||
description: Bad Request | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/ErrorBadRequest' | ||
'500': | ||
description: Internal Server Error | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/ErrorInternalServer' | ||
/message/{message_id}/delete: | ||
post: | ||
operationId: deleteMessage | ||
tags: | ||
- message | ||
summary: Delete Message | ||
parameters: | ||
- in: path | ||
name: message_id | ||
schema: | ||
type: string | ||
required: true | ||
description: Message ID | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
@@ -660,7 +702,7 @@ paths: | |
description: Message ID | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
@@ -840,7 +882,7 @@ paths: | |
summary: Join group with link | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
@@ -874,7 +916,7 @@ paths: | |
summary: Leave group | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.