···216216/// Get all collections
217217///
218218/// TODO: paginate
219219+///
220220+/// WARNING: this endpoint will return an object instead of array when pagination is added
219221#[endpoint {
220222 method = GET,
221223 path = "/collections/all"
···265267/// The format of this API response will be changing soon.
266268#[endpoint {
267269 method = GET,
268268- path = "/collections"
270270+ path = "/collections",
271271+ /*
272272+ * this is going away
273273+ */
274274+ unpublished = true,
269275}]
270276async fn get_top_collections(ctx: RequestContext<Context>) -> OkCorsResponse<TopCollections> {
271277 let Context { storage, .. } = ctx.context();