Blocklist
Note
These v4 APIs are now frozen. See the API versions available for details of the different API versions available.
Blocks
This endpoint returns an add-on Block from the blocklist, specified by guid or id.
- GET /api/v4/blocklist/block/(int:block_id|string:guid)
- Query Parameters:
lang (string) – Activate translations in the specific language for that query. (See Translated Fields)
wrap_outgoing_links (string) – (v3/v4 only) If this parameter is present, wrap outgoing links through
outgoing.prod.mozaws.net
(See Outgoing Links)
- 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 (string|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.
min_version (string) – The minimum version of the add-on that will be blocked. “0” is the lowest version, meaning all versions up to max_version will be blocked. (“0” - “*” would be all versions).
max_version (string) – The maximum version of the add-on that will be blocked. “*” is the highest version, meaning all versions from min_version will be blocked. (“0” - “*” would be all versions).
reason (string|null) – Why the add-on needed to be blocked.
url (string|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)