Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Endpoint checklist #9

Open
27 of 78 tasks
kegsay opened this issue Jan 5, 2017 · 1 comment
Open
27 of 78 tasks

Endpoint checklist #9

kegsay opened this issue Jan 5, 2017 · 1 comment

Comments

@kegsay
Copy link
Member

kegsay commented Jan 5, 2017

This issue is tracking which endpoints need to be added to gomatrix. They are grouped by their appearance in the spec.

API Standards

  • GET /_matrix/client/versions

Login

  • POST /_matrix/client/r0/login
  • POST /_matrix/client/r0/logout

Account registration and management

  • POST /_matrix/client/r0/register
  • POST /_matrix/client/r0/register/email/requestToken
  • POST /_matrix/client/r0/account/password/email/requestToken
  • POST /_matrix/client/r0/account/deactivate
  • POST /_matrix/client/r0/account/password

Adding Account Administrative Contact Information

  • GET /_matrix/client/r0/account/3pid
  • POST /_matrix/client/r0/account/3pid
  • POST /_matrix/client/r0/account/3pid/email/requestToken

Filtering

  • GET /_matrix/client/r0/user/{userId}/filter/{filterId}
  • POST /_matrix/client/r0/user/{userId}/filter

Syncing

  • GET /_matrix/client/r0/sync

Getting events for a room

  • GET /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}
  • GET /_matrix/client/r0/rooms/{roomId}/state/{eventType}
  • GET /_matrix/client/r0/rooms/{roomId}/state
  • GET /_matrix/client/r0/rooms/{roomId}/members
  • GET /_matrix/client/r0/rooms/{roomId}/messages
  • GET /_matrix/client/r0/rooms/{roomId}/initialSync

Sending events to a room

  • PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}
  • PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}
  • PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}

Redactions

  • PUT /_matrix/client/r0/rooms/{roomId}/redact/{eventId}/{txnId}

Room creation

  • POST /_matrix/client/r0/createRoom

Room Aliases

  • PUT /_matrix/client/r0/directory/room/{roomAlias}
  • DELETE /_matrix/client/r0/directory/room/{roomAlias}
  • GET /_matrix/client/r0/directory/room/{roomAlias}

Room Membership

  • POST /_matrix/client/r0/rooms/{roomId}/invite
  • POST /_matrix/client/r0/join/{roomIdOrAlias}
  • POST /_matrix/client/r0/rooms/{roomId}/join
  • POST /_matrix/client/r0/rooms/{roomId}/forget
  • POST /_matrix/client/r0/rooms/{roomId}/leave
  • POST /_matrix/client/r0/rooms/{roomId}/kick
  • POST /_matrix/client/r0/rooms/{roomId}/unban
  • POST /_matrix/client/r0/rooms/{roomId}/ban

Listing Rooms

  • GET /_matrix/client/r0/publicRooms
  • POST /_matrix/client/r0/publicRooms

Profiles

  • PUT /_matrix/client/r0/profile/{userId}/displayname
  • GET /_matrix/client/r0/profile/{userId}/displayname
  • PUT /_matrix/client/r0/profile/{userId}/avatar_url
  • GET /_matrix/client/r0/profile/{userId}/avatar_url
  • GET /_matrix/client/r0/profile/{userId}

VoIP

  • GET /_matrix/client/r0/voip/turnServer

Typing

  • PUT /_matrix/client/r0/rooms/{roomId}/typing/{userId}

Presence

  • PUT /_matrix/client/r0/presence/{userId}/status
  • GET /_matrix/client/r0/presence/{userId}/status
  • POST /_matrix/client/r0/presence/list/{userId}
  • GET /_matrix/client/r0/presence/list/{userId}

Content Repository

  • GET /_matrix/media/r0/download/{serverName}/{mediaId}
  • POST /_matrix/media/r0/upload
  • GET /_matrix/media/r0/thumbnail/{serverName}/{mediaId}

Send-to-device Messaging

  • PUT /_matrix/client/r0/sendToDevice/{eventType}/{txnId}

Device Management

  • GET /_matrix/client/r0/devices
  • GET /_matrix/client/r0/devices/{deviceId}
  • PUT /_matrix/client/r0/devices/{deviceId}
  • DELETE /_matrix/client/r0/devices/{deviceId}

Push Notifications

  • GET /_matrix/client/r0/pushers
  • POST /_matrix/client/r0/pushers/set
  • GET /_matrix/client/r0/notifications
  • GET /_matrix/client/r0/pushrules/
  • GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}
  • DELETE /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}
  • PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}
  • GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled
  • PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/enabled
  • GET /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions
  • PUT /_matrix/client/r0/pushrules/{scope}/{kind}/{ruleId}/actions

Search

  • POST /_matrix/client/r0/search

Room Tagging

  • PUT /_matrix/client/r0/user/{userId}/rooms/{roomId}/tags/{tag}
  • DELETE /_matrix/client/r0/user/{userId}/rooms/{roomId}/tags/{tag}
  • GET /_matrix/client/r0/user/{userId}/rooms/{roomId}/tags

Client Config

  • PUT /_matrix/client/r0/user/{userId}/rooms/{roomId}/account_data/{type}
  • PUT /_matrix/client/r0/user/{userId}/account_data/{type}

Server Administration

  • GET /_matrix/client/r0/admin/whois/{userId}

Event Context

  • GET /_matrix/client/r0/rooms/{roomId}/context/{eventId}

AS Membership List APIs

  • GET /_matrix/client/r0/rooms/{roomId}/joined_members
  • GET /_matrix/client/r0/joined_rooms
@NotAFile
Copy link

GET /_matrix/client/r0/rooms/{roomId}/members
GET /_matrix/client/r0/rooms/{roomId}/messages

these exist now afaict, implemented by client.JoinedMembers and client.Messages

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants