From 331e020f6bac96059b479496c6f9b2974c56d613 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 6 Oct 2018 00:43:27 +0200 Subject: [PATCH] Clean up filters --- content/en/api/rest/filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/api/rest/filters.md b/content/en/api/rest/filters.md index e8421a35..43d6fba8 100644 --- a/content/en/api/rest/filters.md +++ b/content/en/api/rest/filters.md @@ -34,7 +34,7 @@ Returns [Filter]({{< relref "entities.md#filter" >}}) | `context` | Array of strings that means filtering context. Each string is one of `home`, `notifications`, `public`, `thread`. At least one context must be specified. | Required | | `irreversible` | Irreversible filtering will only work in `home` and `notifications` contexts by fully dropping the records. Otherwise, filtering is up to the client. | Optional | | `whole_word` | Whether to consider word boundaries when matching | Optional | -| `expires_in` | Number that indicates seconds. Filter will be expire in seconds after API processed. Null or blank string means "don't change" | Optional | +| `expires_in` | Number that indicates seconds. Filter will be expire in seconds after API processed. Leave blank for no expiration | Optional | ## GET /api/v1/filters/:id @@ -64,7 +64,7 @@ Returns [Filter]({{< relref "entities.md#filter" >}}) | `context` | Array of strings that means filtering context. Each string is one of `home`, `notifications`, `public`, `thread`. At least one context must be specified. | Required | | `irreversible` | Irreversible filtering will only work in `home` and `notifications` contexts by fully dropping the records. Otherwise, filtering is up to the client. | Optional | | `whole_word` | Whether to consider word boundaries when matching | Optional | -| `expires_in` | Number that indicates seconds. Filter will be expire in seconds after API processed. Null or blank string means "don't change" | Optional | +| `expires_in` | Number that indicates seconds. Filter will be expire in seconds after API processed. Leave blank to not change | Optional | ## DELETE /api/v1/filters/:id