mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 16:25:33 +01:00
PaperlessTask and consumption_tasks endpoint
This commit is contained in:
parent
a4927477fb
commit
5c980c31be
7 changed files with 180 additions and 0 deletions
|
|
@ -595,3 +595,11 @@ class UiSettingsViewSerializer(serializers.ModelSerializer):
|
|||
defaults={"settings": validated_data.get("settings", None)},
|
||||
)
|
||||
return ui_settings
|
||||
|
||||
|
||||
class ConsupmtionTasksViewSerializer(serializers.Serializer):
|
||||
|
||||
type = serializers.ChoiceField(
|
||||
choices=["all", "incomplete", "complete", "failed"],
|
||||
default="all",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue