diff options
Diffstat (limited to 'internal/api/model/instancev2.go')
-rw-r--r-- | internal/api/model/instancev2.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/api/model/instancev2.go b/internal/api/model/instancev2.go index b3d11dee2..96399ea06 100644 --- a/internal/api/model/instancev2.go +++ b/internal/api/model/instancev2.go @@ -74,6 +74,13 @@ type InstanceV2 struct { Terms string `json:"terms,omitempty"` // Raw (unparsed) version of terms. TermsText string `json:"terms_text,omitempty"` + + // Random stats generated for the instance. + // Only used if `instance-stats-randomize` is true. + // Not serialized to the frontend. + // + // swagger:ignore + RandomStats `json:"-"` } // Usage data for this instance. |