Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Ntfy_archive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Ntfy_archive
Commits
dc03c136
Commit
dc03c136
authored
3 years ago
by
Philipp Heckel
Browse files
Options
Downloads
Patches
Plain Diff
Update docs for UnifiedPush 2.0 spec
parent
739b2058
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+8
-0
8 additions, 0 deletions
Makefile
docs/releases.md
+7
-0
7 additions, 0 deletions
docs/releases.md
docs/subscribe/phone.md
+23
-21
23 additions, 21 deletions
docs/subscribe/phone.md
with
38 additions
and
21 deletions
Makefile
+
8
−
0
View file @
dc03c136
...
@@ -149,6 +149,14 @@ release-check-tags:
...
@@ -149,6 +149,14 @@ release-check-tags:
echo
"ERROR: Must update docs/install.md with latest tag first."
;
\
echo
"ERROR: Must update docs/install.md with latest tag first."
;
\
exit
1
;
\
exit
1
;
\
fi
fi
if
grep
-q
XXXXX docs/releases.md
;
then
\
echo
"ERROR: Must update docs/releases.md, found XXXXX."
;
\
exit
1
;
\
fi
if
!
grep
-q
$(
LATEST_TAG
)
docs/releases.md
;
then
\
echo
"ERROR: Must update docs/releases.mdwith latest tag first."
;
\
exit
1
;
\
fi
release
:
build-deps release-check-tags check
release
:
build-deps release-check-tags check
goreleaser release
--rm-dist
--debug
goreleaser release
--rm-dist
--debug
...
...
This diff is collapsed.
Click to expand it.
docs/releases.md
+
7
−
0
View file @
dc03c136
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
Binaries for all releases can be found on the GitHub releases pages for the
[
ntfy server
](
https://github.com/binwiederhier/ntfy/releases
)
Binaries for all releases can be found on the GitHub releases pages for the
[
ntfy server
](
https://github.com/binwiederhier/ntfy/releases
)
and the
[
ntfy Android app
](
https://github.com/binwiederhier/ntfy-android/releases
)
.
and the
[
ntfy Android app
](
https://github.com/binwiederhier/ntfy-android/releases
)
.
## ntfy Android app v1.10.0
Released XXXXXXXXXXXXXXX
**Features:**
*
Support for UnifiedPush 2.0 specification (bytes messages, #130)
## ntfy server v1.17.1
## ntfy server v1.17.1
Released Mar 12, 2022
Released Mar 12, 2022
...
...
This diff is collapsed.
Click to expand it.
docs/subscribe/phone.md
+
23
−
21
View file @
dc03c136
...
@@ -130,19 +130,21 @@ notification popups:
...
@@ -130,19 +130,21 @@ notification popups:
Here's a list of extras you can access. Most likely, you'll want to filter for
`topic`
and react on
`message`
:
Here's a list of extras you can access. Most likely, you'll want to filter for
`topic`
and react on
`message`
:
| Extra name | Type | Example | Description |
| Extra name | Type | Example | Description |
|---|---|---|---|
|-----------------|------------------------------|--------------------|------------------------------------------------------------------------------------|
|
`id`
|
*string*
|
`bP8dMjO8ig`
| Randomly chosen message identifier (likely not very useful for task automation) |
|
`id`
|
*String*
|
`bP8dMjO8ig`
| Randomly chosen message identifier (likely not very useful for task automation) |
|
`base_url`
|
*string*
|
`https://ntfy.sh`
| Root URL of the ntfy server this message came from |
|
`base_url`
|
*String*
|
`https://ntfy.sh`
| Root URL of the ntfy server this message came from |
|
`topic`
❤️ |
*string*
|
`mytopic`
| Topic name;
**you'll likely want to filter for a specific topic**
|
|
`topic`
❤️ |
*String*
|
`mytopic`
| Topic name;
**you'll likely want to filter for a specific topic**
|
|
`muted`
|
*bool*
|
`true`
| Indicates whether the subscription was muted in the app |
|
`muted`
|
*Boolean*
|
`true`
| Indicates whether the subscription was muted in the app |
|
`muted_str`
|
*string (`true` or `false`)*
|
`true`
| Same as
`muted`
, but as string
`true`
or
`false`
|
|
`muted_str`
|
*String (`true` or `false`)*
|
`true`
| Same as
`muted`
, but as string
`true`
or
`false`
|
|
`time`
|
*int*
|
`1635528741`
| Message date time, as Unix time stamp |
|
`time`
|
*Int*
|
`1635528741`
| Message date time, as Unix time stamp |
|
`title`
|
*string*
|
`Some title`
| Message
[
title
](
../publish.md#message-title
)
; may be empty if not set |
|
`title`
|
*String*
|
`Some title`
| Message
[
title
](
../publish.md#message-title
)
; may be empty if not set |
|
`message`
❤️ |
*string*
|
`Some message`
| Message body;
**this is likely what you're interested in**
|
|
`message`
❤️ |
*String*
|
`Some message`
| Message body;
**this is likely what you're interested in**
|
|
`tags`
|
*string*
|
`tag1,tag2,..`
| Comma-separated list of
[
tags
](
../publish.md#tags-emojis
)
|
|
`message_bytes`
|
*ByteArray*
|
`(binary data)`
| Message body as binary data |
|
`tags_map`
|
*string*
|
`0=tag1,1=tag2,..`
| Map of tags to make it easier to map first, second, ... tag |
|
`encoding`
️ |
*String*
| - | Message encoding (empty or "base64") |
|
`priority`
|
*int (between 1-5)*
|
`4`
| Message
[
priority
](
../publish.md#message-priority
)
with 1=min, 3=default and 5=max |
|
`tags`
|
*String*
|
`tag1,tag2,..`
| Comma-separated list of
[
tags
](
../publish.md#tags-emojis
)
|
|
`tags_map`
|
*String*
|
`0=tag1,1=tag2,..`
| Map of tags to make it easier to map first, second, ... tag |
|
`priority`
|
*Int (between 1-5)*
|
`4`
| Message
[
priority
](
../publish.md#message-priority
)
with 1=min, 3=default and 5=max |
#### Send messages using intents
#### Send messages using intents
To send messages from other apps (such as
[
MacroDroid
](
https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid
)
To send messages from other apps (such as
[
MacroDroid
](
https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid
)
...
@@ -164,14 +166,14 @@ Here's what that looks like:
...
@@ -164,14 +166,14 @@ Here's what that looks like:
The following intent extras are supported when for the intent with the
`io.heckel.ntfy.SEND_MESSAGE`
action:
The following intent extras are supported when for the intent with the
`io.heckel.ntfy.SEND_MESSAGE`
action:
| Extra name | Required | Type | Example | Description |
| Extra name
| Required | Type
| Example
| Description
|
|---
|---|---|---|
---|
|---
-----------|----------|-------------------------------|-------------------|---------------------------------------------------------------------------------
---|
|
`base_url`
| - |
*
s
tring*
|
`https://ntfy.sh`
| Root URL of the ntfy server this message came from, defaults to
`https://ntfy.sh`
|
|
`base_url`
| -
|
*
S
tring*
|
`https://ntfy.sh`
| Root URL of the ntfy server this message came from, defaults to
`https://ntfy.sh`
|
|
`topic`
❤️ | ✔ |
*
s
tring*
|
`mytopic`
| Topic name;
**you must set this**
|
|
`topic`
❤️
| ✔
|
*
S
tring*
|
`mytopic`
| Topic name;
**you must set this**
|
|
`title`
| -
|
*
s
tring*
|
`Some title`
| Message
[
title
](
../publish.md#message-title
)
; may be empty if not set |
|
`title`
| -
|
*
S
tring*
|
`Some title`
| Message
[
title
](
../publish.md#message-title
)
; may be empty if not set
|
|
`message`
❤️ | ✔ |
*
s
tring*
|
`Some message`
| Message body;
**you must set this**
|
|
`message`
❤️ | ✔
|
*
S
tring*
|
`Some message`
| Message body;
**you must set this**
|
|
`tags`
| -
|
*
s
tring*
|
`tag1,tag2,..`
| Comma-separated list of
[
tags
](
../publish.md#tags-emojis
)
|
|
`tags`
| -
|
*
S
tring*
|
`tag1,tag2,..`
| Comma-separated list of
[
tags
](
../publish.md#tags-emojis
)
|
|
`priority`
| - |
*
s
tring or
i
nt (between 1-5)*
|
`4`
| Message
[
priority
](
../publish.md#message-priority
)
with 1=min, 3=default and 5=max |
|
`priority`
| -
|
*
S
tring or
I
nt (between 1-5)*
|
`4`
| Message
[
priority
](
../publish.md#message-priority
)
with 1=min, 3=default and 5=max |
## iPhone/iOS
## iPhone/iOS
I almost feel devious for putting the
*Download on the App Store*
button on this page. Currently, there is no iOS app
I almost feel devious for putting the
*Download on the App Store*
button on this page. Currently, there is no iOS app
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment