Skip to content

Commit

Permalink
fix: API rules updated
Browse files Browse the repository at this point in the history
  • Loading branch information
7Sageer committed Aug 13, 2024
1 parent 178e6f5 commit 000e5eb
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
36 changes: 18 additions & 18 deletions doc/API-doc-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,24 +87,24 @@ These can be used in the `selectedRules` parameter for Sing-Box and Clash config

Instead of using predefined rule sets, you can provide a custom list of rules as a JSON array in the `selectedRules` parameter. Available rules include:

- Ad Block
- AI Services
- Bilibili
- Youtube
- Google
- Private
- Location:CN
- Telegram
- Microsoft
- Apple
- Bahamut
- Social Media
- Streaming
- Gaming
- Github
- Education
- Financial
- Cloud Services
- Ad Block (site-rule:category-ads-all)
- AI Services (site-rule:openai,anthropic,jetbrains-ai)
- Bilibili (site-rule:bilibili)
- Youtube (site-rule:youtube)
- Google (site-rule:google)
- Private (site-rule:private)
- Location:CN (ip-rule:cn), (site-rule:geolocation-cn)
- Telegram (ip-rule:telegram)
- Microsoft (site-rule:microsoft)
- Apple (site-rule:apple)
- Bahamut (site-rule:bahamut)
- Social Media (site-rule:facebook, instagram, twitter, tiktok, linkedin)
- Streaming (site-rule:netflix, hulu, disney, hbo, amazon)
- Gaming (site-rule:steam, epicgames, ea, ubisoft, blizzard)
- Github (site-rule:github, gitlab)
- Education (site-rule:coursera, edx, udemy, khanacademy)
- Financial (site-rule:paypal, visa, mastercard)
- Cloud Services (site-rule:aws, azure, digitalocean, heroku, dropbox)

## Error Handling

Expand Down
36 changes: 18 additions & 18 deletions doc/API-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,24 +87,24 @@ API 支持以下预定义规则集:

除了使用预定义规则集,您还可以在 `selectedRules` 参数中提供自定义规则列表作为 JSON 数组。可用规则包括:

- Ad Block
- AI Services
- Bilibili
- Youtube
- Google
- Private
- Location:CN
- Telegram
- Microsoft
- Apple
- Bahamut
- Social Media
- Streaming
- Gaming
- Github
- Education
- Financial
- Cloud Services
- Ad Block (site-rule:category-ads-all)
- AI Services (site-rule:openai,anthropic,jetbrains-ai)
- Bilibili (site-rule:bilibili)
- Youtube (site-rule:youtube)
- Google (site-rule:google)
- Private (site-rule:private)
- Location:CN (ip-rule:cn), (site-rule:geolocation-cn)
- Telegram (ip-rule:telegram)
- Microsoft (site-rule:microsoft)
- Apple (site-rule:apple)
- Bahamut (site-rule:bahamut)
- Social Media (site-rule:facebook, instagram, twitter, tiktok, linkedin)
- Streaming (site-rule:netflix, hulu, disney, hbo, amazon)
- Gaming (site-rule:steam, epicgames, ea, ubisoft, blizzard)
- Github (site-rule:github, gitlab)
- Education (site-rule:coursera, edx, udemy, khanacademy)
- Financial (site-rule:paypal, visa, mastercard)
- Cloud Services (site-rule:aws, azure, digitalocean, heroku, dropbox)

## 错误处理

Expand Down

0 comments on commit 000e5eb

Please sign in to comment.