Giter Site home page Giter Site logo

lcsouzamenezes / whatsapp-bizapi-mock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ron96g/whatsapp-bizapi-mock

1.0 0.0 0.0 17.4 MB

Mockserver for the WhatsApp Business API written in go

Dockerfile 0.86% Go 91.66% Shell 0.49% JavaScript 1.69% Makefile 5.30%

whatsapp-bizapi-mock's Introduction

WhatsApp Business API Mockserver

This repository contains the mockserver for the WhatsApp Business API (WABiz). It is used to perform integration-, system- and load-testing.

Supported Endpoints

Endpoint Usage Supported
POST /v1/generate generate webhook requests
POST /v1/generate/cancel stop generation of webhook requests
POST /v1/messages send messages
POST /v1/users create user
DEL /v1/users/{name} delete user
POST /v1/users/login login user
POST /v1/users/logout logout user
POST /v1/media save media file
GET /v1/media/{id} delete media file
DEL /v1/{media/id} get media file
GET /v1/contacts check for wa_id for contact input
XXX /v1/contacts/{wa_id}/identity manage whatsapp id identity
XXX /v1/settings/** setup application settings
XXX /v1/profile/** setup all profile settings
XXX /v1/stickerpacks/** all stickerpacks functionality
XXX /v1/certificates/** webhook ca certificates functionality
XXX /v1/account registration functionality
XXX /v1/account/verify registration functionality

Functionaliy

The following list shows the core functionality that is currently supported.

  1. Generate inbound traffic with different messages and media
  2. Generate stati for outbound traffic
  3. Rate limiting
  4. (TBD) Validate outbound traffic
  5. (TBD) strict validation (only allow outbound messages to users that have sent a inbound message)

Supported Messages

The following message types are currently supported. Inbound types are generated and sent via the webhook. Outbound types are accepted by the messages resource and validated.

Type Inbound Outbound
Text
Image
Audio
Video
Document
Location
Interactive
Template
Contact
System

Notes

Generate model code

make build-protoc

whatsapp-bizapi-mock's People

Contributors

ron96g avatar

Stargazers

LUÍS CARLOS DE SOUZA  MENEZES avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.