summaryrefslogtreecommitdiff
path: root/internal/api/model/instancev2.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/model/instancev2.go')
-rw-r--r--internal/api/model/instancev2.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/model/instancev2.go b/internal/api/model/instancev2.go
index dda9033b4..a1b98ea65 100644
--- a/internal/api/model/instancev2.go
+++ b/internal/api/model/instancev2.go
@@ -40,6 +40,8 @@ type InstanceV2 struct {
//
// example: 0.1.1 cb85f65
Version string `json:"version"`
+ // Whether or not instance is running in DEBUG mode. Omitted if false.
+ Debug *bool `json:"debug,omitempty"`
// The URL for the source code of the software running on this instance, in keeping with AGPL license requirements.
// example: https://github.com/superseriousbusiness/gotosocial
SourceURL string `json:"source_url"`