mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 11:26:01 +03:00
Changes room hierarchy endpoint
This commit is contained in:
parent
bdc9bc0d4d
commit
3b0a565822
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ internal interface SpaceApi {
|
||||||
* @param from: Optional. Pagination token given to retrieve the next set of rooms.
|
* @param from: Optional. Pagination token given to retrieve the next set of rooms.
|
||||||
* Note that if a pagination token is provided, then the parameters given for suggested_only and max_depth must be the same.
|
* Note that if a pagination token is provided, then the parameters given for suggested_only and max_depth must be the same.
|
||||||
*/
|
*/
|
||||||
@GET(NetworkConstants.URI_API_PREFIX_PATH_UNSTABLE + "org.matrix.msc2946/rooms/{roomId}/hierarchy")
|
@GET(NetworkConstants.URI_API_PREFIX_PATH_ + "rooms/{roomID}/hierarchy")
|
||||||
suspend fun getSpaceHierarchy(
|
suspend fun getSpaceHierarchy(
|
||||||
@Path("roomId") spaceId: String,
|
@Path("roomId") spaceId: String,
|
||||||
@Query("suggested_only") suggestedOnly: Boolean?,
|
@Query("suggested_only") suggestedOnly: Boolean?,
|
||||||
|
|
Loading…
Reference in a new issue