You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[API] The /api/files endpoint rejects the createdAfter query parameter #22
When calling the /api/files endpoint with the createdAfter query parameter, the API returns an error because the parameter is not recognized.
Steps to reproduce
Request: GET /api/files?contentType=image/*&tag=cover&sort=recent&sortDir=desc&createdAfter=2026-10-14T22:00:00.000Z&limit=20 Error response:
Failed to deserialize query string: createdAfter: unknown field createdAfter,
expected one of limit, cursor, fileId, parentId, notParentId, rootId, tag, preset, variant, status, fileTp, contentType, includeFolders, fileName, ownerIdTag, notOwnerIdTag, localOnly, pinned, starred, hidden, sort, sortDir, channel, withParent, withPath
Expected behavior
The API should support filtering files by their creation date using the createdAfter query parameter, allowing clients to retrieve only files created after a specified timestamp.
Actual behavior
The API rejects the request because createdAfter is not a recognized query parameter.
Activity