Page MenuHomeSoftware Heritage

api/private/deposit_list: Allow to filter deposits by client username
ClosedPublic

Authored by anlambert on Oct 19 2021, 1:48 PM.

Details

Summary

Add a new username query parameter to the /private/deposits/ endpoint
enabling to filter the deposits according to the client that created them.

Related to T3174

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D6503 (id=23620)

Rebasing onto 179dff0dfa...

Current branch diff-target is up to date.
Changes applied before test
commit 801a0274c44d938b292f144de4cdb6c3a81f47a2
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Oct 19 13:42:52 2021 +0200

    api/private/deposit_list: Allow to filter deposits by client username
    
    Add a new username query parameter to the /private/deposits/ endpoint
    enabling to filter the deposits according to the client that created them.
    
    Related to T3174

See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/681/ for more details.

ardumont added a subscriber: ardumont.

That was quick ;)
Thanks.

This revision is now accepted and ready to land.Oct 19 2021, 2:29 PM

That was quick ;)
Thanks.

That's the easy part, now let's plug that in swh-web.