labs
Preview Team Code
Return ONLY the team NAME a code points at, so a joiner can confirm which team they're requesting to join before submitting (POST /join). Grants nothing and reveals nothing else — no owner, members, or seat counts; the owner-approval gate still governs actual membership. Any invalid / expired / inactive code returns a uniform 404 so probing a wrong code learns nothing.
MUST stay defined BEFORE /{lab_id} so the static path wins the route match (FastAPI matches in definition order).
get/api/labs/preview
Request
- Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
- URL: https://api.omicos.cn/api/labs/preview
- Auth: none declared
Query parameters
codestring required
Headers
authorizationstring nullable
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 20 revisions of this API.