Skip to content

liblaf/api

Repository files navigation

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