Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 832 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 832 Bytes

liblaf's API

GitHub Actions Workflow Status Website

Endpoints

Detailed API documentation can be found here.

Bot

  • POST /bot/send/{id}: send a message to chat
  • POST /bot/send/{id}/dns: send a DNS update message to chat
  • GET /bot/webhook: set Telegram bot webhook
  • POST /bot/webhook: Telegram bot webhook

Subscription

  • GET /rules/{client}/{type}/{filename}: download rules
  • GET /sub/dummy/{type}/{name}: get dummy subscription
  • GET /sub/{id}/info: get subscription user info
  • GET /sub/{id}/sing-box: get subscription sing-box config