Skip to content

Add an (author only) AddonViewSet list function - #25318

Open
eviljeff wants to merge 1 commit into
mozilla:masterfrom
eviljeff:16378-addons-my-addons-list
Open

Add an (author only) AddonViewSet list function#25318
eviljeff wants to merge 1 commit into
mozilla:masterfrom
eviljeff:16378-addons-my-addons-list

Conversation

@eviljeff

@eviljeff eviljeff commented Aug 18, 2026

Copy link
Copy Markdown
Member

Fixes mozilla/addons#16378

Description

Enables GET on /api/v5/addons/addon/ to list all the add-ons the user is an author of. Also implements ?sort= and ?type= to match functionality on existing devhub

Context

  • name is omitted from a possible sort, after talking with Mat (perf concerns).
  • all sort parameters default to ascending and can be made descending with a - prefix, e.g. ?sort=-created, which is different to the /addons/search/ endpoint, which only supports descending (i.e. sort=created is already descending, and can't be reversed to ascending)

Testing

Checklist

  • Add #ISSUENUM at the top of your PR to an existing open issue in the mozilla/addons repository.
  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
  • Add before and after screenshots (Only for changes that impact the UI).
  • Add or update relevant docs reflecting the changes made.

@eviljeff
eviljeff force-pushed the 16378-addons-my-addons-list branch 3 times, most recently from 67e6d41 to 1a3ff9c Compare August 20, 2026 11:53
@eviljeff
eviljeff marked this pull request as ready for review August 20, 2026 11:58
@eviljeff
eviljeff force-pushed the 16378-addons-my-addons-list branch from 1a3ff9c to f03be4f Compare August 20, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Add API to list add-ons for the current user

1 participant