[Task]: Expose whether a version is soft or hard-blocked in the blocked API (original) (raw)

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

┆Issue is synchronized with this Jira Task