|
| | GetLocalAliasesJob (std::string serverUrl, std::string _accessToken, std::string roomId) |
| | Get a list of local aliases on a given room. More...
|
| |
| GetLocalAliasesJob | withData (JsonWrap j) && |
| |
| GetLocalAliasesJob | withData (JsonWrap j) const & |
| |
| | BaseJob (std::string serverUrl, std::string requestUrl, Method method, std::string jobId, std::string token={}, ReturnType returnType=ReturnType::Json, Body body=EmptyBody{}, Query query={}, Header header={}, std::optional< FileDesc > responseFile=std::nullopt) |
| |
| | ~BaseJob () |
| |
| bool | shouldReturnJson () const |
| |
| std::string | url () const |
| |
| Body | requestBody () const |
| |
| Header | requestHeader () const |
| |
| ReturnType | returnType () const |
| |
| Query | requestQuery () const |
| | returns the non-encoded query as an array of pairs More...
|
| |
| Method | requestMethod () const |
| |
| Response | genResponse (Response r) const |
| |
| BaseJob | withData (JsonWrap j) && |
| |
| BaseJob | withData (JsonWrap j) const & |
| |
| BaseJob | withQueue (std::string id, JobQueuePolicy policy=AlwaysContinue) && |
| |
| BaseJob | withQueue (std::string id, JobQueuePolicy policy=AlwaysContinue) const & |
| |
| json | dataJson (const std::string &key) const |
| |
| std::string | dataStr (const std::string &key) const |
| |
| std::string | jobId () const |
| |
| std::optional< std::string > | queueId () const |
| |
| JobQueuePolicy | queuePolicy () const |
| |
| std::optional< FileDesc > | responseFile () const |
| |
Get a list of local aliases on a given room.
Get a list of aliases maintained by the local server for the given room.
This endpoint can be called by users who are in the room (external users receive an M_FORBIDDEN error response). If the room's m.room.history_visibility maps to world_readable, any user can call this endpoint.
Servers may choose to implement additional access control checks here, such as allowing server administrators to view aliases regardless of membership.
Note: Clients are recommended not to display this list of aliases prominently as they are not curated, unlike those listed in the m.room.canonical_alias state event.