milestone 21: abp list exceptions and a regex rule kind
This commit is contained in:
@@ -1876,7 +1876,7 @@ components:
|
||||
|
||||
Blocklist:
|
||||
type: object
|
||||
required: [id, url, name, enabled, is_suggested, last_updated, domain_count, wildcard_count, skipped_regex_count, checksum]
|
||||
required: [id, url, name, enabled, is_suggested, last_updated, domain_count, wildcard_count, exception_count, skipped_regex_count, checksum]
|
||||
properties:
|
||||
id: { type: integer }
|
||||
url: { type: string }
|
||||
@@ -1888,6 +1888,7 @@ components:
|
||||
nullable: true
|
||||
domain_count: { type: integer }
|
||||
wildcard_count: { type: integer }
|
||||
exception_count: { type: integer }
|
||||
skipped_regex_count: { type: integer }
|
||||
checksum:
|
||||
type: string
|
||||
@@ -1918,7 +1919,7 @@ components:
|
||||
|
||||
SourceStatus:
|
||||
type: object
|
||||
required: [id, state, loaded, last_attempt, last_success, url, last_error, domains, wildcards, skipped_regex]
|
||||
required: [id, state, loaded, last_attempt, last_success, url, last_error, domains, wildcards, exceptions, skipped_regex]
|
||||
properties:
|
||||
id: { type: integer }
|
||||
state:
|
||||
@@ -1933,6 +1934,7 @@ components:
|
||||
description: Empty when the last attempt succeeded.
|
||||
domains: { type: integer }
|
||||
wildcards: { type: integer }
|
||||
exceptions: { type: integer }
|
||||
skipped_regex: { type: integer }
|
||||
|
||||
Rule:
|
||||
@@ -1945,7 +1947,7 @@ components:
|
||||
pattern: { type: string }
|
||||
kind:
|
||||
type: string
|
||||
enum: [exact, wildcard]
|
||||
enum: [exact, wildcard, regex]
|
||||
action:
|
||||
type: string
|
||||
enum: [allow, block]
|
||||
@@ -1959,7 +1961,7 @@ components:
|
||||
pattern: { type: string }
|
||||
kind:
|
||||
type: string
|
||||
enum: [exact, wildcard]
|
||||
enum: [exact, wildcard, regex]
|
||||
action:
|
||||
type: string
|
||||
enum: [allow, block]
|
||||
@@ -1973,7 +1975,7 @@ components:
|
||||
pattern: { type: string }
|
||||
kind:
|
||||
type: string
|
||||
enum: [exact, wildcard]
|
||||
enum: [exact, wildcard, regex]
|
||||
action:
|
||||
type: string
|
||||
enum: [allow, block]
|
||||
|
||||
Reference in New Issue
Block a user