Space
SpaceImplements
Fields
Whether a Host has archived this Space. The Network's own apps hide archived
Spaces from members; Network.spaces(includeArchived: false) leaves them out.
Dark-mode variant of the avatar image URL.
Avatar image URL.
When the viewer bookmarked this conversation, or null when it is not bookmarked
The Space's branding image slots, each with the image currently in it. Slots the Space's Imagery settings do not offer appear only when they hold an image. Null to a viewer who may not change this Space's branding.
When the Space was created.
Whether the space is discoverable by non-members (drives welcome-checklist pin eligibility and other visibility-aware UI).
Whether a non-member can preview the space without joining (drives welcome-checklist routing between preview and join).
The Space's per-Space features (Feed, Course, Chat, Events, Members, Page,
Hashtags, Single Event, Discovery), each with whether it is currently enabled
on this Space. Same key vocabulary as Network.availableSpaceFeatures and
updateSpace(featureToggles:); network-wide toggles live on
Network.featureToggles.
Which of the Space's branding image slots currently hold an image, as slot
names without the urls. The slim counterpart of brandingImages, for asking
which Spaces are missing a slot across a whole page of Spaces at once. Null to
a viewer who may not change this Space's branding.
ID of the object.
When the most recent message was sent
The most recent message in the conversation
Number of members in the Space. Computed live.
Required scopes: host:read:network, host:read:network_spaces,
host:write:network_spaces, host:read:network_members,
host:write:network_members (any one)
Messages in this conversation, newest first. System messages (renames, member changes) are excluded unless includeSystemMessages is true. Each cursor names a message, so paging from it continues at that message while messages arrive or are deleted.
Returns the elements in the list that come after the specified cursor.
Center the page on this message — resource ID or GlobalID: about half the page is newer than it, then the message itself, then older ones; a side with fewer messages lends its share to the other. Takes first only, not after, before, or last. The message must be visible in this list, so a system message needs includeSystemMessages.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Include system lifecycle messages (renames, member adds and removes). Defaults to false.
Returns the last n elements from the list.
Curated pins on this Space for the given list, in curator-set order.
Required scopes: read:network, host:read:network (any one)
Pass true, as a Network Host or Network moderator, to also return posts whose type their Space does not allow: a type whose feature is off in that Space, such as Events for an event. Otherwise they are left out. Anyone else passing true gets the default.
Which curated list to return.
Sort position of the Space within its Collection (lower = higher in the sidebar). Compare positions only between Spaces in the same Collection.
Posts, events, and polls within the space. In a Space with course content enabled, coursework that is not posted is included for a Host or moderator of that Space, or when includeUnpublished is true for a Network Host token holding host:read:network_posts, host:read:network, or host:write:network_posts.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Pass true, as a Network Host or Network moderator, to also return posts whose type their Space does not allow: a type whose feature is off in that Space, such as Events for an event. Otherwise they are left out. Anyone else passing true gets the default.
Include coursework that is not posted. For a Network Host without a role in the Space, requires host:read:network_posts, host:read:network, or host:write:network_posts.
Returns the last n elements from the list.
Profile questions shown to prospective members joining this Space.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Filter to a single join flow. Omit to return questions for every context.
Returns the first n elements from the list.
Returns the last n elements from the list.
Resource ID for this object, for interop with the Admin API.
The Collection this Space belongs to, if any.
Number of messages the viewer has not read in this conversation
When the Space record last changed.
Canonical web URL.
Whether the current member marked this space as not interested (downranked in their feed).
The welcome-checklist items for this Space, in curator-set order, with the viewer's completion state.
Required scopes: read:network, host:read:network (any one)