mirror of
https://github.com/caronc/apprise.git
synced 2025-08-14 10:28:38 +02:00
Updated Notify_pushjet (markdown)
@ -5,23 +5,30 @@
|
|||||||
* **Message Limit**: 32768 Characters per message
|
* **Message Limit**: 32768 Characters per message
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
Valid syntax is as follows:
|
If you want to use your own custom Pushjecct server, then the following identify the syntax you may use:
|
||||||
* **pjet**:://**{apikey}**@**{host}**
|
* **pjet**:://**{secret_key}**@**{host}**
|
||||||
* **pjet**:://**{apikey}**@**{host}**:**{port}**
|
* **pjet**:://**{secret_key}**@**{host}**:**{port}**
|
||||||
* **pjets**:://**{apikey}**@**{host}**
|
* **pjets**:://**{secret_key}**@**{host}**
|
||||||
* **pjets**:://**{apikey}**@**{host}**:**{port}**
|
* **pjets**:://**{secret_key}**@**{host}**:**{port}**
|
||||||
|
|
||||||
|
However, if you're using the Pushjet official server (and not your own, then you only need to provide the secret key:
|
||||||
|
* **pjet**:://**{secret_key}**
|
||||||
|
|
||||||
### Parameter Breakdown
|
### Parameter Breakdown
|
||||||
| Variable | Required | Description
|
| Variable | Required | Description
|
||||||
| ----------- | -------- | -----------
|
| ----------- | -------- | -----------
|
||||||
| apikey | Yes | The API Key associated with your Pushjet account.
|
| secret_key | Yes | The Secret Key associated with your Pushjet account.
|
||||||
| host | Yes | The Pushjet server.
|
| host | No | The Pushjet server is only required if you're hosting your own notification server yourself (and not using https://pushjet.io/)
|
||||||
| port | No | The port Pushjet is listening on. By default the port is **80** for **pjet://** and **443** for all **pjets://** references.
|
| port | No | The Pushjet port optional and only required if you're hosting your own notification server. By default the port is **80** for **pjet://** and **443** for all **pjets://** references.
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
Send a Pushjet notification:
|
Send a Pushjet notification:
|
||||||
```bash
|
```bash
|
||||||
# Assuming our {apikey} is abcdefghijklmnop-abcdefg
|
# Assuming our {secret_key} is abcdefghijklmnopqrstuvwxyzabc
|
||||||
# Assuming our {hostname} is pushjet.server.local
|
# Assuming our {hostname} is pushjet.server.local
|
||||||
notify pjet://abcdefghijklmnop-abcdefg@pushjet.server.local
|
notify pjet://abcdefghijklmnopqrstuvwxyzabc@pushjet.server.local
|
||||||
|
|
||||||
|
# Alternatively if you're just using the pushjet.io server you might
|
||||||
|
# provide the following:
|
||||||
|
notify pjet://abcdefghijklmnopqrstuvwxyzabc
|
||||||
```
|
```
|
Reference in New Issue
Block a user