From f4cbecea810e216375e0b302013189880c437858 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Fri, 4 Dec 2020 09:19:16 +0100 Subject: [PATCH] [MM-30982] Add filter metadata to Marketplace response (#16446) --- model/marketplace_plugin.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/model/marketplace_plugin.go b/model/marketplace_plugin.go index cccfb7f6f8..16df0b2fde 100644 --- a/model/marketplace_plugin.go +++ b/model/marketplace_plugin.go @@ -20,8 +20,12 @@ type BaseMarketplacePlugin struct { IconData string `json:"icon_data"` DownloadURL string `json:"download_url"` ReleaseNotesURL string `json:"release_notes_url"` - Labels []MarketplaceLabel `json:"labels"` - Signature string `json:"signature"` // Signature represents a signature of a plugin saved in base64 encoding. + Labels []MarketplaceLabel `json:"labels,omitempty"` + Hosting string `json:"hosting"` // Indicated if the plugin is limited to a certain hosting type + AuthorType string `json:"author_type"` // The maintainer of the plugin + ReleaseStage string `json:"release_stage"` // The stage in the software release cycle that the plugin is in + Enterprise bool `json:"enterprise"` // Indicated if the plugin is an enterprise plugin + Signature string `json:"signature"` // Signature represents a signature of a plugin saved in base64 encoding. Manifest *Manifest `json:"manifest"` }