Skip to content

Commit

Permalink
Add a note about deprecating the /spaces endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Aug 10, 2021
1 parent c359e5a commit 7d40874
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/msc2946_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
// +build msc2946

// This file includes tests for MSC2946, the spaces summary API.
//
// There are currently tests for two unstable versions of it for backwards
// compatibility:
//
// * The /spaces endpoint, which was the original version.
// * The /hierarchy endpoint, which is an updated version.
//
// Both endpoints return data from the same set of rooms / spaces, but have
// different API shapes.
//
// TODO When support for this is stable, the tests for /spaces should be removed.

package tests

import (
Expand Down

0 comments on commit 7d40874

Please sign in to comment.