Fix typo in API docs: files[].size instead of files[].id
This commit is contained in:
Родитель
43d001a704
Коммит
236baaefad
|
@ -374,14 +374,14 @@ This endpoint allows you to fetch a single version belonging to a specific add-o
|
|||
:>json int files[].id: The id for a file.
|
||||
:>json string files[].created: The creation date for a file.
|
||||
:>json string files[].hash: The hash for a file.
|
||||
:>json string files[].platform: The :ref:`platform <addon-detail-platform>` for a file.
|
||||
:>json int files[].id: The size for a file, in bytes.
|
||||
:>json boolean files[].is_mozilla_signed_extension: Whether the file was signed with a Mozilla internal certificate or not.
|
||||
:>json boolean files[].is_restart_required: Whether the file requires a browser restart to work once installed or not.
|
||||
:>json boolean files[].is_webextension: Whether the file is a WebExtension or not.
|
||||
:>json array files[].permissions[]: Array of the webextension permissions for this File, as strings. Empty for non-webextensions.
|
||||
:>json string files[].platform: The :ref:`platform <addon-detail-platform>` for a file.
|
||||
:>json int files[].size: The size for a file, in bytes.
|
||||
:>json int files[].status: The :ref:`status <addon-detail-status>` for a file.
|
||||
:>json string files[].url: The (absolute) URL to download a file. Clients using this API can append an optional ``src`` query parameter to the url which would indicate the source of the request (See :ref:`download sources <download-sources>`).
|
||||
:>json array files[].permissions[]: Array of the webextension permissions for this File, as strings. Empty for non-webextensions.
|
||||
:>json object license: Object holding information about the license for the version. For performance reasons this field is omitted from add-on search endpoint.
|
||||
:>json string|object|null license.name: The name of the license (See :ref:`translated fields <api-overview-translations>`).
|
||||
:>json string|object|null license.text: The text of the license (See :ref:`translated fields <api-overview-translations>`). For performance reasons this field is omitted from add-on detail endpoint.
|
||||
|
|
Загрузка…
Ссылка в новой задаче