Richard van der Hoff
909aef2b18
Merge pull request #389 from matrix-org/erikj/create_room_is_direct
...
Spec /createRoom is_direct flag, is_direct in member event and m.direct
8 years ago
Richard van der Hoff
83b89aa1ce
dm: clarify client behaviour
8 years ago
David Baker
e0a434b248
Aaha, found a syntax that swagger will accept!
8 years ago
David Baker
ed2d364440
consistency
8 years ago
David Baker
96b6fb0129
'In the m.room.member' event
8 years ago
David Baker
301595c071
Linkify account_data API
...
Also change other links because it turns out the .. isn't part
of the syntax
8 years ago
David Baker
e2736ba167
Linkify createroom in changelog too
8 years ago
David Baker
bd753d4bf4
Re-add required flags the correct way
8 years ago
David Baker
af2c74c186
Revert `required`s
...
They're not boolean flags for object fields
8 years ago
David Baker
14944fe237
More PR feedback
8 years ago
David Baker
fd8c1a43c7
ms, not s. Also add required flags
8 years ago
David Baker
2a987c3369
Linkify endpoints properly
8 years ago
David Baker
2259a00ba2
links
8 years ago
David Baker
3f66ba713c
Reference m.room.member section
8 years ago
David Baker
e2024e5829
Add note on how to use the account data event
8 years ago
David Baker
d791f35007
Remove unnecessary paragraph
8 years ago
David Baker
4480553bf9
Move m.direct description to the swagger
...
Also change the swagger to yaml so I can put that description in it
without having to figure out how to embed that in json.
8 years ago
David Baker
b789251f70
More PR feedback
8 years ago
David Baker
fe61433553
Merge pull request #397 from matrix-org/rav/401_on_interactive_auth_fail
...
UI Auth: servers should 401 when a request fails
8 years ago
David Baker
4a020025bc
Make swagger happpy
...
These aren't strings, but 'any' causes swagger to break and
leaving it out makes the doc fail to build.
8 years ago
David Baker
b4c89accb2
Params in query, not path
8 years ago
Richard van der Hoff
a8d35b2409
UI Auth: servers should 401 when a request fails
...
(ref https://matrix.org/jira/browse/SYN-744 )
8 years ago
Oddvar Lovaas
692e40bec9
Add telematrix
8 years ago
David Baker
a463820d83
Typo
8 years ago
David Baker
c1fa342b90
Swagger is failing on type 'any'
8 years ago
David Baker
136d5dc9ad
Almost valid...
8 years ago
David Baker
595b75f299
Try & make example closer to valid
8 years ago
David Baker
41781e95b2
Attempt valid json
8 years ago
David Baker
c16ba9488f
Spec notifs API
8 years ago
Richard van der Hoff
37fb1ceb65
Merge pull request #395 from matrix-org/rav/kill_refresh_tokens
...
Remove references to refresh tokens and tokenrefresh
8 years ago
David Baker
1d7531e9a1
Typo
8 years ago
David Baker
8e096bdc48
Link to createRoom, not initialsync
8 years ago
David Baker
8af90bfc21
Clarify 'this room'
8 years ago
David Baker
85bc989c02
pr feedback
8 years ago
Oddvar Lovaas
92291dcfda
Add MatrixTool, update the riots
8 years ago
David Baker
976d41351e
spelling
8 years ago
David Baker
d39f662df5
PR feedback
8 years ago
Richard van der Hoff
bc6c5858ea
Merge pull request #386 from matrix-org/rav/store_and_forward
...
Specification for direct-to-device messages
8 years ago
Richard van der Hoff
556ced36a4
Merge remote-tracking branch 'origin/master' into rav/store_and_forward
8 years ago
David Baker
accb3941bf
Changelog
8 years ago
David Baker
203ea99328
Spec m.direct
8 years ago
David Baker
8fe8bd6a81
Add is_direct to member event spec.
8 years ago
Richard van der Hoff
f4c7fdfd03
Remove references to refresh tokens and tokenrefresh
...
refresh tokens are dead.
8 years ago
David Baker
5fedc64230
double space
8 years ago
David Baker
ae1c576648
Merge remote-tracking branch 'origin/master' into erikj/create_room_is_direct
8 years ago
Richard van der Hoff
1f45724bfd
Merge pull request #394 from matrix-org/rav/required_response_fields
...
Mark required fields in response objects as such
8 years ago
Richard van der Hoff
2dde1a8d28
Merge pull request #390 from matrix-org/erikj/filter_url
...
Add contains_url filter option and /messages filter
8 years ago
Richard van der Hoff
23d5073820
Mark required fields in response objects as such
...
Actually this means we can remove a bunch of code which special-cased this.
8 years ago
Richard van der Hoff
91e899338d
Merge pull request #393 from matrix-org/rav/speculator_api
...
Serve the api docs from the speculator
8 years ago
Richard van der Hoff
1320a86cbe
Serve the api docs from the speculator
...
There are a few parts to this:
* when we generate the spec for a particular git sha, also run the script which
turns our yaml api descriptions into a swagger json file.
* tweak serveSpec to add another header when serving the generated json.
* add a link to the generated index which will (via js hackery) redirect to our
hosted swagger UI at http://matrix.org/docs/api/client-server , with a "url"
query-param pointing at the generated json.
Also, factor makeTempDir out of gitClone, so that we can give clearer log lines.
8 years ago