projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into frontend-switcher-9000
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
filter_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/filter_operation.ex
b/lib/pleroma/web/api_spec/operations/filter_operation.ex
index 5102921bc35eae7607554c2052ca45eea09190e3..ac0444aef46d1d305873e0a0ebca74774836574d 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/filter_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/filter_operation.ex
@@
-225,6
+225,12
@@
defmodule Pleroma.Web.ApiSpec.FilterOperation do
type: :integer,
description:
"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire."
type: :integer,
description:
"Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire."
+ },
+ expires_at: %Schema{
+ nullable: true,
+ type: :string,
+ description:
+ "When the filter should no longer be applied. String (ISO 8601 Datetime), or null if the filter does not expire."
}
},
required: [:phrase, :context],
}
},
required: [:phrase, :context],