summaryrefslogtreecommitdiff
path: root/internal/api/model/instancev2.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-06-03 11:20:53 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-03 11:20:53 +0200
commitd79c2f26888b512faaa0526936b8752cfb6c8b28 (patch)
tree3e93405e81eb84492e192181f199f34f9ac227cb /internal/api/model/instancev2.go
parent[feature] Add from: search operator and account_id query param (#2943) (diff)
downloadgotosocial-d79c2f26888b512faaa0526936b8752cfb6c8b28.tar.xz
[feature/frontend] Add debug sections to settings panel (#2950)
* [feature/frontend] Add debug sections to settings panel * max-width * swagger
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"`