Blocklist
Note
These APIs are not frozen and can change at any time without warning. See the API versions available for alternatives if you need stability.
Blocks
This endpoint returns an add-on Block from the blocklist, specified by guid or id.
- GET /api/v5/blocklist/block/(int:block_id|string:guid)
- Query Parameters:
lang (string) – Activate translations in the specific language for that query. (See Translated Fields)
- Response JSON Object:
id (int) – The id for the block.
created (string) – The date the block was created.
modified (string) – The date the block was last updated.
addon_name (object|null) – The add-on name, if we have details of an add-on matching that guid (See translated fields).
guid (string) – The guid of the add-on being blocked.
reason (string|null) – Why the add-on needed to be blocked.
url (object|null) – A url to the report/request that detailed why the add-on should potentially be blocked. Typically a bug report on bugzilla.mozilla.org. (See Outgoing Links)
blocked[] (string) – The versions of this add-on that are (hard) blocked.
soft_blocked[] (string) – The versions of this add-on that are soft blocked (can be optionally re-enabled by existing users).
is_all_versions (boolean) – Are all versions of this add-on blocked. If
False
, some versions are not blocked.