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
Branch
deposits-list-username-filtering
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24511
Build 38245: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 38244: arc lint + arc unit

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.