Skip to content

Stop exposing license text in versions API #8339

Description

@diox

The versions list API exposes the license text for each version returned, which is wasteful. We should only return it for the version detail endpoint. This would speed up the add-on versions page endpoint as mentioned in #14131.

For backwards-compatibility we should only do this in v5, at least for now. Ideally we should also defer the field in the ORM to avoid even fetching the text from the database.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions