···288288 self.get_record_impl(repo, collection, rkey, cid).await
289289 }
290290291291+ /// blue.microcosm.repo.getRecordByUri
292292+ ///
293293+ /// alias of `com.bad-example.repo.getUriRecord` with intention to stabilize under this name
294294+ #[oai(
295295+ path = "/blue.microcosm.repo.getRecordByUri",
296296+ method = "get",
297297+ tag = "ApiTags::Custom"
298298+ )]
299299+ async fn get_record_by_uri(
300300+ &self,
301301+ /// The at-uri of the record
302302+ ///
303303+ /// The identifier can be a DID or an atproto handle, and the collection
304304+ /// and rkey segments must be present.
305305+ #[oai(example = "example_uri")]
306306+ Query(at_uri): Query<String>,
307307+ /// Optional: the CID of the version of the record.
308308+ ///
309309+ /// If not specified, then return the most recent version.
310310+ ///
311311+ /// > [!tip]
312312+ /// > If specified and a newer version of the record exists, returns 404 not
313313+ /// > found. That is: slingshot only retains the most recent version of a
314314+ /// > record.
315315+ Query(cid): Query<Option<String>>,
316316+ ) -> GetRecordResponse {
317317+ self.get_uri_record(Query(at_uri), Query(cid)).await
318318+ }
319319+291320 /// com.bad-example.repo.getUriRecord
292321 ///
293322 /// Ergonomic complement to [`com.atproto.repo.getRecord`](https://docs.bsky.app/docs/api/com-atproto-repo-get-record)
···411440 JustDidResponse::Ok(Json(FoundDidResponseObject {
412441 did: alleged_did.to_string(),
413442 }))
443443+ }
444444+445445+ /// blue.microcosm.identity.resolveMiniDoc
446446+ ///
447447+ /// alias of `com.bad-example.identity.resolveMiniDoc` with intention to stabilize under this name
448448+ #[oai(
449449+ path = "/blue.microcosm.identity.resolveMiniDoc",
450450+ method = "get",
451451+ tag = "ApiTags::Custom"
452452+ )]
453453+ async fn resolve_mini_doc(
454454+ &self,
455455+ /// Handle or DID to resolve
456456+ #[oai(example = "example_handle")]
457457+ Query(identifier): Query<String>,
458458+ ) -> ResolveMiniIDResponse {
459459+ self.resolve_mini_id(Query(identifier)).await
414460 }
415461416462 /// com.bad-example.identity.resolveMiniDoc