krdlab / direct-http-agent

EXPERIMENTAL: Provide REST API and Webhook for direct

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

direct HTTP agent

direct-http-agent is a small web service to provide REST API and Webhook for direct.

Build & Launch

This project uses Docker containers. If you would like to launch the service locally, execute commands as below:

$ docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d
$ open http://localhost:3000/

You can also launch the service as production mode.

$ docker-compose -f docker-compose.yml -f docker-compose.vps.yml   up -d

Usage

Please see /home.

API

  • POST /control/restart
  • GET /dapi/domains
  • GET /dapi/domains/:domainId/talks
  • POST /dapi/domains/:domainId/talks/:talkId/messages
  • GET /webhooks
  • POST /webhooks
  • GET /webhooks/:webhookId
  • PUT /webhooks/:webhookId
  • DELETE /webhooks/:webhookId

About

EXPERIMENTAL: Provide REST API and Webhook for direct

License:MIT License


Languages

Language:TypeScript 75.7%Language:Pug 22.2%Language:Dockerfile 1.3%Language:JavaScript 0.8%