mirror of
https://github.com/caronc/apprise.git
synced 2025-01-05 21:49:02 +01:00
Updated Notify_boxcar (markdown)
parent
8774d6c05d
commit
ecdd751d92
@ -4,48 +4,45 @@
|
|||||||
* **Message Format**: Text
|
* **Message Format**: Text
|
||||||
* **Message Limit**: 10000 Characters per Message
|
* **Message Limit**: 10000 Characters per Message
|
||||||
|
|
||||||
|
Boxcar just has a development platform these days. You can't get notifications through your AppleOS or Android devices anymore. You can still however sign up for an account [on their website](ttps://boxcar.io/). From there you can create projects through them.
|
||||||
|
|
||||||
|
Each _project_ you create with them will grant you access to your own unique **Access Key** and a **Secret Key**. You can post notifications knowing these 2 values.
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
Valid authentication syntaxes are as follows:
|
Valid authentication syntaxes are as follows:
|
||||||
* **boxcar**:://**{hostname}**
|
* **boxcar**://**{access_key}**/**{secret_key}**
|
||||||
* **boxcar**:://**{hostname}**:**{port}**
|
|
||||||
* **boxcar**:://**{user}**:**{hostname}**
|
|
||||||
* **boxcar**:://**{user}**@**{password}**:**{hostname}**
|
|
||||||
|
|
||||||
Tags support:
|
Tags support:
|
||||||
* **boxcar**:://**{hostname}**/**@{tag_id}**
|
* **boxcar**://**{access_key}**/**{secret_key}**/**@{tag_id}**
|
||||||
* **boxcar**:://**{hostname}**/**@{tag_id01}**/**@{tag_id02}**/**@{tag_idNN}**
|
* **boxcar**://**{access_key}**/**{secret_key}**/**@{tag_id01}**/**@{tag_id02}**/**@{tag_idNN}**
|
||||||
|
|
||||||
Device Tokens:
|
Device Tokens:
|
||||||
* **boxcar**:://**{hostname}**/**{device_id}**
|
* **boxcar**://**{access_key}**/**{secret_key}**/**{device_id}**
|
||||||
* **boxcar**:://**{hostname}**/**{device_id01}**/**{device_id02}**/**{device_idNN}**
|
* **boxcar**://**{access_key}**/**{secret_key}**/**{device_id01}**/**{device_id02}**/**{device_idNN}**
|
||||||
|
|
||||||
Alias support:
|
Alias support:
|
||||||
* **boxcar**:://**{hostname}**/**{alias}**
|
* **boxcar**://**{access_key}**/**{secret_key}**/**{alias}**
|
||||||
* **boxcar**:://**{hostname}**/**{alias01}**/**{alias02}**/**{aliasNN}**
|
* **boxcar**://**{access_key}**/**{secret_key}**/**{alias01}**/**{alias02}**/**{aliasNN}**
|
||||||
|
|
||||||
You can also form any combination of the above and perform updates from one url:
|
You can also form any combination of the above and perform updates from one url:
|
||||||
* **boxcar**:://**{accesstoken}**/**{tag_id}**/**{device_id}**/**@{alias_id}**
|
* **boxcar**://**{access_key}**/**{secret_key}**/**{tag_id}**/**{device_id}**/**@{alias_id}**
|
||||||
|
|
||||||
Secure connections can be made by using **boxcars://**.
|
|
||||||
|
|
||||||
### Parameter Breakdown
|
### Parameter Breakdown
|
||||||
| Variable | Required | Description
|
| Variable | Required | Description
|
||||||
| ----------- | -------- | -----------
|
| ----------- | -------- | -----------
|
||||||
| hostname | Yes | The server Boxcar is listening on.
|
| access_key | Yes | This is required for your account to work. You will be provided one from boxcar's website upon creating an account with them.
|
||||||
| port | No | The port Boxcar is listening on. By default the port is **80** for **boxcar://** and **443** for all **boxcars://** references.
|
| secure_key | Yes | This is required for your account to work. You will be provided one from boxcar's website upon creating an account with them.
|
||||||
| user | No | If your boxcar server is protected by a user/pass combo, you will be required to provide it.
|
|
||||||
| password | No | If your boxcar server is protected by a user/pass combo, you will be required to provide it.
|
|
||||||
| device_id | No | Associated devices with your Boxcar setup. All _device_ids_ are 64 characters in length.
|
| device_id | No | Associated devices with your Boxcar setup. All _device_ids_ are 64 characters in length.
|
||||||
| tag_id | No | Tags must be prefixed with a @ symbol or they will be interpreted as a _device_id_ and/or _alias_.
|
| tag_id | No | Tags must be prefixed with a @ symbol or they will be interpreted as a _device_id_ and/or _alias_.
|
||||||
| alias | No | Associated aliases with your Boxcar setup. All _alias_ids_ are 1 to 63 characters in length.
|
| alias | No | Associated aliases with your Boxcar setup. All _alias_ids_ are 1 to 63 characters in length.
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
Send a _secure_ Boxcar notification to an alias and a _tag_:
|
Send a Boxcar notification to all devices associated with a project:
|
||||||
```bash
|
```bash
|
||||||
# Assume:
|
# Assume:
|
||||||
# - our {hostname} is localhost
|
# - our {access_key} is Uabc_543Ehr_t1-1snO-bcgfnak5dnHHHKkbIMi3pJz1KEP5zGo9KwDnIb-7_Kab
|
||||||
# - our host is secured (we use boxcars://)
|
# - our {secret_key} is a6k_4ABnck26hDh8AA3EDHoOVdDEUlw3ntyFFkj300012fl9y0b5AW9g9Nsejb8P
|
||||||
# - our {alias} is myphone
|
Uabc_543Ehr_t1-1snO-bcgfnak5dnHHHKkbIMi3pJz1KEP5zGo9KwDnIb-7_Kab
|
||||||
# - our {tag} is @friends
|
|
||||||
|
|
||||||
notify boxcars://localhost/myphone/@friends
|
notify boxcar://Uabc_543Ehr_t1-1snO-bcgfnak5dnHHHKkbIMi3pJz1KEP5zGo9KwDnIb-7_Kab/a6k_4ABnck26hDh8AA3EDHoOVdDEUlw3ntyFFkj300012fl9y0b5AW9g9Nsejb8P
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user