David Baker
0c79798f70
More WIP API docs and remove spurious line.
9 years ago
David Baker
b7a6e8f7b5
Finish non-API doc parts of push rules.
9 years ago
David Baker
f68fa8d6f8
Push rules c/s spec.
9 years ago
David Baker
c27fb8a262
Add WIP docs for the client-server bit of push.
9 years ago
David Baker
0a07d68818
Add overview on push.
9 years ago
Kegan Dougal
b01e8165d0
Update JSFiddles/how-to to support the new registration format.
9 years ago
Kegan Dougal
c19bced03d
Update jsfiddles to have more helpful error messages when there is no connection when logging in.
9 years ago
Kegan Dougal
07399b0966
Added demo.details
9 years ago
Kegan Dougal
5614f7051b
Updated howto.rst to use the new APIs. Updated JSFiddles to use 8008. Linked new fiddles with howto.rst. Added more explanations.
9 years ago
Matthew Hodgson
ca0a642e66
change the world: make the default matrix API URL prefix /_matrix rather than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions.
...
perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js
9 years ago
Kegan Dougal
1f3811b1b8
Fix JSFiddles to work with the new C-S API.
9 years ago
Kegan Dougal
d5da30422c
Added final jsfiddle: an example app demonstrating most of the c2s api.
9 years ago
Kegan Dougal
eee7cd7730
Added more jsfiddles.
9 years ago
Kegan Dougal
8fb3367238
More fiddles, more fun!
9 years ago
Kegan Dougal
3dafe4133c
Added registration/login jsfiddle, formatted so it can be loaded directly from jsfiddle. Requires jQuery 1.8.3
9 years ago
Kegan Dougal
0e2a3a892f
Presence modifications from MatrixPresence notes.
...
- Idle is no longer a flag but a full state like online|offline.
- Clarify status examples.
- Add device ID to presence state API given it is per device.
- Add note on device specificity on event stream presence parameter.
- Add global appear-offline API.
9 years ago
Matthew Hodgson
9a9d4b15d2
Merge pull request #8 from matrix-org/spec-18
...
Add spec for m.notice (SPEC-18)
9 years ago
Paul "LeoNerd" Evans
a9a4c46a57
Add spec for m.notice (SPEC-18)
9 years ago
Kegsay
bd48e4ab6d
Move invite data to a note
...
Done in order to clarify that this API "should probably have something like this" rather than "will have this".
9 years ago
Kegsay
e309db547a
Specifically reference join_rules
...
In reference to SPEC-63
9 years ago
Kegsay
03eaa21508
Add blurb on invites for initialSync
9 years ago
Kegsay
51a7681ece
Merge pull request #4 from matrix-org/use-cases
...
Add Client-Server v2 General API Design
9 years ago
Kegsay
fcbdc39674
Add section on device IDs for reg/login
...
Final cleanup before merge
9 years ago
Kegsay
ccf8408e92
More tweaks from comments
9 years ago
Kegsay
31deddccdf
Add presence API from notes
9 years ago
Kegsay
90dfee1c27
Remove TODO note on regex
9 years ago
Kegsay
23d3e50812
Add use case justification for regex
9 years ago
Kegan Dougal
62471348ca
This is a comment, not a directive. Remove ::
9 years ago
Kegan Dougal
109c8a97a8
Use title heading sizings of =,-,~,+ since that is what most of our docs use. Inconsistent use breaks when you try to merge them.
9 years ago
Kegsay
7a2b6abee5
Flesh out ID conventions
...
Going down the API route.
9 years ago
Erik Johnston
5279541c28
Update erikj_federation.rst
...
Update state resolution rules to indicate what you should do if none of the merged events are allowed by the newly merged auth events.
9 years ago
Kegsay
3b35e95630
Tweaks based on feedback
9 years ago
Kegsay
61b8664286
Clarify profile propagation section more
9 years ago
Kegsay
a1964b466b
Add profile propagation notes
...
After much IRL discussion
9 years ago
Kegsay
ef0091f3f2
Remove session section
...
This is no longer required.
9 years ago
Kegsay
ae0fb938ad
Update IRC example to reflect new room ID
9 years ago
Kegsay
117b090192
Add registration API extension.
...
For AS provisioning of users with its namespace.
9 years ago
Kegsay
603361bfd6
Update user and room query APIs
...
Expect the AS to create these entities, rather than the HS.
9 years ago
Erik Johnston
38efa9c5c2
Reword auth resolution section
9 years ago
Erik Johnston
91aba39fe7
Reword note about auth chains
9 years ago
Erik Johnston
5f99858575
Mention possible types for auth events.
9 years ago
Erik Johnston
bb968e5bdd
Clarify m.room.create auth
9 years ago
Kegsay
828d6992e5
Small thoughts about the IRC example.
9 years ago
Kegsay
bd6fc4b5bf
Add draft Pushing API. Add Examples section.
...
Work through an IRC example; raise issues in the notes
section. Add retry notes on HS>AS API calls.
9 years ago
Kegsay
1d45dc08ca
Add room query API. Remove linking API.
...
Also add section on ID conventions which need thinking about.
9 years ago
Erik Johnston
78a697c535
Briefly touch on how to handle incoming events
9 years ago
Erik Johnston
406742afaa
A few notes on how we could do state resolution of auth events
9 years ago
Erik Johnston
4b76181f74
Rearrange sections
9 years ago
Kegsay
f33b722e4b
More clarifications
...
s/as_token/access_token/ for CS extensions. Clarify when room queries are made.
9 years ago
Kegsay
1b3e27a05a
Add Linking HTTP API
...
Also add note on masquerading problem.
9 years ago