Skip to content

2301 gotify output schema #2741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/content/docs/reference/components/gotify.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ Type: OBJECT
| appid | INTEGER | ID of the app that sent the message. |
| message | STRING | Content of the message that was sent. |
| title | STRING | Title of the message that was sent. |
| date | STRING | Date when the message was sent. |
| priority | INTEGER | Priority of the message that was sent. |
| extras | OBJECT <details> <summary> Properties </summary> &#123;&#123;&#123;STRING\(extra_info)&#125;\(sub_namespace)&#125;\(top_namespace)&#125; </details> | Extras of the message that was sent. |
| date | STRING | Date when the message was sent. |



Expand All @@ -102,14 +103,15 @@ Type: OBJECT
"appid" : 1,
"message" : "",
"title" : "",
"date" : "",
"priority" : 1,
"extras" : {
"top_namespace" : {
"sub_namespace" : {
"extra_info" : ""
}
}
}
},
"date" : ""
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ public class GotifySendMessageAction {
.description("Content of the message that was sent."),
string("title")
.description("Title of the message that was sent."),
string("date")
.description("Date when the message was sent."),
integer("priority")
.description("Priority of the message that was sent."),
object("extras")
.description("Extras of the message that was sent.")
.properties(
Expand All @@ -112,7 +112,9 @@ public class GotifySendMessageAction {
.description("Inner namespace of extra information.")
.properties(
string("extra_info")
.description("Extra information.")))))))
.description("Extra information.")))),
string("date")
.description("Date when the message was sent."))))
.perform(GotifySendMessageAction::perform);

private GotifySendMessageAction() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,25 +108,23 @@
"type" : "STRING"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"controlType" : "INTEGER",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"description" : "Priority of the message that was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"maxValue" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"minValue" : null,
"name" : "priority",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
"type" : "INTEGER"
}, {
"additionalProperties" : null,
"advancedOption" : null,
Expand Down Expand Up @@ -208,6 +206,27 @@
} ],
"required" : null,
"type" : "OBJECT"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
} ],
"required" : null,
"type" : "OBJECT"
Expand Down Expand Up @@ -314,25 +333,23 @@
"type" : "STRING"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"controlType" : "INTEGER",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"description" : "Priority of the message that was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"maxValue" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"minValue" : null,
"name" : "priority",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
"type" : "INTEGER"
}, {
"additionalProperties" : null,
"advancedOption" : null,
Expand Down Expand Up @@ -414,6 +431,27 @@
} ],
"required" : null,
"type" : "OBJECT"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
} ],
"required" : null,
"type" : "OBJECT"
Expand Down Expand Up @@ -719,25 +757,23 @@
"type" : "STRING"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"controlType" : "INTEGER",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"description" : "Priority of the message that was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"maxValue" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"minValue" : null,
"name" : "priority",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
"type" : "INTEGER"
}, {
"additionalProperties" : null,
"advancedOption" : null,
Expand Down Expand Up @@ -819,6 +855,27 @@
} ],
"required" : null,
"type" : "OBJECT"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
} ],
"required" : null,
"type" : "OBJECT"
Expand Down Expand Up @@ -925,25 +982,23 @@
"type" : "STRING"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"controlType" : "INTEGER",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"description" : "Priority of the message that was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"maxValue" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"minValue" : null,
"name" : "priority",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
"type" : "INTEGER"
}, {
"additionalProperties" : null,
"advancedOption" : null,
Expand Down Expand Up @@ -1025,6 +1080,27 @@
} ],
"required" : null,
"type" : "OBJECT"
}, {
"advancedOption" : null,
"controlType" : "TEXT",
"defaultValue" : null,
"description" : "Date when the message was sent.",
"displayCondition" : null,
"exampleValue" : null,
"expressionEnabled" : null,
"hidden" : null,
"label" : null,
"languageId" : null,
"maxLength" : null,
"metadata" : { },
"minLength" : null,
"name" : "date",
"options" : null,
"optionsDataSource" : null,
"placeholder" : null,
"regex" : null,
"required" : null,
"type" : "STRING"
} ],
"required" : null,
"type" : "OBJECT"
Expand Down