Implement linter validation result serializer #6380
Labels
component:api
component:code_manager
component:reviewer_tools
migration:no-jira
migration:2024
repository:addons-server
Issue relating to addons-server
state:stale
Issues marked as stale. These can be re-opened should there be plans to fix them.
triaged
In #6287 I only added a link to the linter validation result but thinking about this more I think it makes sense to actually implement a serializer that can control and adjust data as we need it.
@willdurand @bobsilverberg when touching this, does it make sense for you to inline the contents
validation_url_json
into the browse API directly? Otherwise, I may make this a separate endpoint to request results (instead of exposing that URL as I did) or just inline the information. On the other hand, for bigger files, and diffs, that may end up being quite a bit of content so retrieving it in a second step sounds reasonable to me.The text was updated successfully, but these errors were encountered: