Improve docs
This commit is contained in:
pare
65f4884ff9
commit
4b747886b9
S'han modificat 2 arxius amb 2 adicions i 2 eliminacions
|
@ -844,7 +844,7 @@ Mastodon allows an application to have one webpush subscription per user at a ti
|
|||
.. automethod:: Mastodon.push_subscription_set
|
||||
.. automethod:: Mastodon.push_subscription_update
|
||||
|
||||
.. push_subscription_generate_keys():
|
||||
.. _push_subscription_generate_keys():
|
||||
|
||||
.. automethod:: Mastodon.push_subscription_generate_keys
|
||||
.. automethod:: Mastodon.push_subscription_decrypt_push
|
||||
|
|
|
@ -1518,7 +1518,7 @@ class Mastodon:
|
|||
requires https for this URL. `encrypt_params` is a dict with key parameters that allow
|
||||
the server to encrypt data for you: A public key `pubkey` and a shared secret `auth`.
|
||||
You can generate this as well as the corresponding private key using the
|
||||
`push_subscription_generate_keys()`_ .
|
||||
`push_subscription_generate_keys()`_ function.
|
||||
|
||||
The rest of the parameters controls what kind of events you wish to subscribe to.
|
||||
|
||||
|
|
Loading…
Referencia en una nova incidència