Version Check API (check.json) - Add details field to API response

What / Why

We are currently working on exposing more data to GitLab admins in regards to critical security updates. This effort is tracked here: #344682 (closed)

Recently the new details field was added to The Version model via https://gitlab.com/gitlab-services/version-gitlab-com/-/merge_requests/689. We also will need to expose this data to the check.json API so that GitLab instances can consume the information.

Proposal

  1. Add new Version.details to the check.json api

cc/ @twk3 @dorrino

Edited by Zack Cuddy