Overview
useFetchSpaceByShortId returns a callable function that fetches a space using its shortId. The shortId is a compact, URL-safe identifier generated automatically when a space is created.
Usage Example
Parameters
string
required
The short identifier of the space.
SpaceIncludeParam
Optional. A single value or an array; the only value is
"files". Pass it to include avatar and banner file objects.Returns
Returns a SpaceDetailed object. For most use cases, preferSpaceProvider shortId prop over calling this hook directly.
