Skip to content
Snippets Groups Projects

wip: collection api: Open filtering deposit per user and origin_url

1 unresolved thread

This would allow opening a cli to filter on origin_url and find the latest swhid.

Note: I'm not sold on this approach but I don't see how to actually implement the need in the end.

todo:

  • escape input to avoid injection
  • allow inverting order result (typically, following through, the order on id should be inverted and even filtered on status done)

Related to #3192 (closed)

Test Plan

tox (should be happy)


Migrated from D6210 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
73 76 response["Link"] = ",".join(links)
74 77 return response
75 78
76 def get_queryset(self):
77 """List the deposits for the authenticated user (pagination is handled by the
79 def get_queryset(self, **kwargs):
  • I'm more and more inclined towards using the web client instead. See swh-web-client!19 (closed)

  • Merge request was abandoned

  • Please register or sign in to reply
    Loading