Skip to content

[Task]: Expose whether a version is soft or hard-blocked in the blocked API #15015

@diox

Description

@diox

Description

Depends on #15012

AMO API needs to expose for a specific version if it's soft-blocked or hard-blocked.

This could be done via adding a new property to https://mozilla.github.io/addons-server/topics/api/blocklist.html, or completely changing the existing versions property to be a list of objects, but if going that route note that v4 API needs to stay backwards-compatible.

The frontend will use this information in #15016.

Acceptance Criteria

  ### Milestones/checkpoints
  - [ ] Whether a version is soft or hard-blocked is exposed in some API
  - [ ] Blocklist v4 API remains backwards-compatible

Checks

  • If the issue is ready to work on, I have removed the "needs:info" label.
  • If I have identified that the work is specific to a repository, I have removed "repository:addons-server" or "repository:addons-frontend"

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions