nextspace
    Preparing search index...

    Function listArtifacts

    • Every artifact in a container, newest first, each with currentVersion populated, so a list view can render the whole set without a request per artifact. A topic listing read with the topic passcode holds only topic-scoped artifacts; the topic owner and admins also get the artifacts of the topic's conversations.

      Parameters

      • container: ArtifactContainer

        Exactly one of conversationId or topicId.

      • OptionalartifactPasscode: string

        The container's read passcode. Omit it when the caller owns the container or is an admin.

      Returns Promise<Artifact[]>

      The container's artifacts.