|
|
@ -41,7 +41,6 @@ paths:
|
|
|
|
"app_display_name": "Mat Rix",
|
|
|
|
"app_display_name": "Mat Rix",
|
|
|
|
"device_display_name": "iPhone 9",
|
|
|
|
"device_display_name": "iPhone 9",
|
|
|
|
"app_id": "com.example.app.ios",
|
|
|
|
"app_id": "com.example.app.ios",
|
|
|
|
"profile_tag": "4bea66906d0111e59d70feff819cdc9f",
|
|
|
|
|
|
|
|
"pushkey": "APA91bHPRgkF3JUikC4ENAHEeMrd41Zxv3hVZjC9KtT8OvPVGJ-hQMRKRrZuJAEcl7B338qju59zJMjw2DELjzEvxwYv7hH5Ynpc1ODQ0aT4U4OFEeco8ohsN5PjL1iC2dNtk2BAokeMCg2ZXKqpc8FXKmhX94kIxQ",
|
|
|
|
"pushkey": "APA91bHPRgkF3JUikC4ENAHEeMrd41Zxv3hVZjC9KtT8OvPVGJ-hQMRKRrZuJAEcl7B338qju59zJMjw2DELjzEvxwYv7hH5Ynpc1ODQ0aT4U4OFEeco8ohsN5PjL1iC2dNtk2BAokeMCg2ZXKqpc8FXKmhX94kIxQ",
|
|
|
|
"data": {
|
|
|
|
"data": {
|
|
|
|
"url": "https://push-gateway.location.here"
|
|
|
|
"url": "https://push-gateway.location.here"
|
|
|
@ -63,17 +62,6 @@ paths:
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
The kind of pusher to configure. ``"http"`` makes a pusher that
|
|
|
|
The kind of pusher to configure. ``"http"`` makes a pusher that
|
|
|
|
sends HTTP pokes. ``null`` deletes the pusher.
|
|
|
|
sends HTTP pokes. ``null`` deletes the pusher.
|
|
|
|
profile_tag:
|
|
|
|
|
|
|
|
type: string
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
|
|
|
This is a string that determines what set of device rules will
|
|
|
|
|
|
|
|
be matched when evaluating push rules for this pusher. It is
|
|
|
|
|
|
|
|
an arbitrary string. Multiple devices may use the same
|
|
|
|
|
|
|
|
``profile_tag``. It is advised that when an app's data is
|
|
|
|
|
|
|
|
copied or restored to a different device, this value remain
|
|
|
|
|
|
|
|
the same. Client apps should offer ways to change the
|
|
|
|
|
|
|
|
``profile_tag``, optionally copying rules from the old
|
|
|
|
|
|
|
|
profile tag. Max length, 32 bytes.
|
|
|
|
|
|
|
|
app_id:
|
|
|
|
app_id:
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
@ -116,7 +104,7 @@ paths:
|
|
|
|
different user IDs. Otherwise, the homeserver must remove any
|
|
|
|
different user IDs. Otherwise, the homeserver must remove any
|
|
|
|
other pushers with the same App ID and pushkey for different
|
|
|
|
other pushers with the same App ID and pushkey for different
|
|
|
|
users. The default is ``false``.
|
|
|
|
users. The default is ``false``.
|
|
|
|
required: ['profile_tag', 'kind', 'app_id', 'app_display_name',
|
|
|
|
required: ['kind', 'app_id', 'app_display_name',
|
|
|
|
'device_display_name', 'pushkey', 'lang', 'data']
|
|
|
|
'device_display_name', 'pushkey', 'lang', 'data']
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
200:
|
|
|
|