Creating files search api endpoint.

This commit is contained in:
Roland 2022-01-31 17:00:40 -07:00
parent cd2ce1d691
commit 30ca95d627
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 28 additions and 2 deletions

View file

@ -10,3 +10,9 @@ class FilesRequest:
@dataclass
class DeleteRequest:
file: str
class FilesSearchRequest:
search_str = doc.String()
limit = doc.Integer()
offset = doc.Integer()