Clean up the pushrules API doc

* make it clearer which fields go in which parts of the rule
* the example given appeared to be for a content rule, so use a content rule
  consistently through the examples.
This commit is contained in:
Richard van der Hoff 2016-07-27 13:50:11 +01:00
parent 9a2af4fbc1
commit 8328e485ea
4 changed files with 76 additions and 19 deletions

View file

@ -7,6 +7,8 @@
(`#362 <https://github.com/matrix-org/matrix-doc/pull/362>`_).
- Emphasise that ``POST /tokenrefresh`` should expire the access token
(`#363 <https://github.com/matrix-org/matrix-doc/pull/363>`_).
- Clarify the fields which are applicable to different types of push rule
(`#365 <https://github.com/matrix-org/matrix-doc/pull/365>`_).
- Changes to the API which will be backwards-compatible for clients: