Movatterモバイル変換


[0]ホーム

URL:


    Synapse

      Experimental Features API

      This API allows a server administrator to enable or disable some experimental features on a per-userbasis. The currently supported features are:

      • MSC3881: enable remotely toggling push notificationsfor another client
      • MSC3575: enable experimental sliding sync support
      • MSC4222: addingstate_after to sync v2

      To use it, you will need to authenticate by providing anaccess_tokenfor a server admin: seeAdmin API.

      Enabling/Disabling Features

      This API allows a server administrator to enable experimental features for a given user. The request mustprovide a body containing the user id and listing the features to enable/disable in the following format:

      {   "features": {      "msc3026":true,      "msc3881":true   }}

      where true is used to enable the feature, and false is used to disable the feature.

      The API is:

      PUT /_synapse/admin/v1/experimental_features/<user_id>

      Listing Enabled Features

      To list which features are enabled/disabled for a given user send a request to the following API:

      GET /_synapse/admin/v1/experimental_features/<user_id>

      It will return a list of possible features and indicate whether they are enabled or disabled for theuser like so:

      {   "features": {      "msc3026": true,      "msc3881": false,      "msc3967": false   }}

      [8]ページ先頭

      ©2009-2025 Movatter.jp