Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
7bff9b62
Commit
7bff9b62
authored
10 years ago
by
Kegan Dougal
Committed by
Emmanuel ROHEE
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Minor spec tweaks.
parent
24f0bb4a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/specification.rst
+5
-3
5 additions, 3 deletions
docs/specification.rst
with
5 additions
and
3 deletions
docs/specification.rst
+
5
−
3
View file @
7bff9b62
...
@@ -755,15 +755,17 @@ There are several APIs provided to ``GET`` events for a room:
...
@@ -755,15 +755,17 @@ There are several APIs provided to ``GET`` events for a room:
Description:
Description:
Get all ``m.room.member`` state events.
Get all ``m.room.member`` state events.
Response format:
Response format:
``{ "start": "token", "end": "token", "chunk": [ { m.room.member event }, ... ] }``
``{ "start": "
<
token
>
", "end": "
<
token
>
", "chunk": [ { m.room.member event }, ... ] }``
Example:
Example:
TODO
TODO
|/rooms/<room_id>/messages|_
|/rooms/<room_id>/messages|_
Description:
Description:
Get all ``m.room.message`` events.
Get all ``m.room.message`` and ``m.room.member`` events. This API supports pagination
using ``from`` and ``to`` query parameters, coupled with the ``start`` and ``end``
tokens from an |initialSync|_ API.
Response format:
Response format:
``{
TODO
}``
``{
"start": "<token>", "end": "<token>"
}``
Example:
Example:
TODO
TODO
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment