linuxserver / fleet

Status and image fleet metadata management application for Docker images
GNU General Public License v3.0
143 stars 11 forks source link

Request to add field "deprecated" to Fleet API #14

Closed technorabilia closed 3 years ago

technorabilia commented 3 years ago

Fleet has the following capabilities:

If an image is hidden, it will not be displayed as part of the main list, nor will it be returned as part of any API calls. Unstable and deprecated images are displayed on the main list at Fleet.

The field stable is already part of the Fleet API.

{
  "name":"cardigann",
  "pullCount":18678969,
  "version":"v1.10.2-ls18",
  "category":"",
  "stable":true,
  "templateSpec":null
}

This is a request to add deprecated to the Fleet API as well.

The response would then look similar to:

{
  "name":"cardigann",
  "pullCount":18678969,
  "version":"v1.10.2-ls18",
  "category":"",
  "stable":true,
  "deprecated": true,
  "templateSpec":null
}

I think the source code that needs to be changed can be found here.