NDEx JavaScript Client API Reference - v0.6.0-alpha.5
    Preparing search index...

    Variable VisibilityConst

    Visibility: { PUBLIC: "PUBLIC"; PRIVATE: "PRIVATE"; UNLISTED: "UNLISTED" } = ...

    Visibility settings for networks, folders, and shortcuts. Based on YouTube's permission model.

    PUBLIC

    • Accessibility: Anyone can discover and view the content
    • Searchability: Appears in search results and can be found through search engines
    • Sharing: Can be shared freely with anyone
    • Visibility: Shows up on the owner's public profile

    PRIVATE

    • Accessibility: Only the owner and specifically invited users can view the content
    • Searchability: Does not appear in any search results (internal or external)
    • Sharing: Even with a direct link, uninvited users cannot access the content
    • Visibility: Does not appear on the owner's public profile

    UNLISTED

    • Accessibility: Anyone with the direct link can view the content
    • Searchability: Does not appear in search results unless added to a public collection
    • Sharing: Can be shared via direct link without requiring special permissions
    • Visibility: Does not appear on the owner's public profile

    Type Declaration

    • ReadonlyPUBLIC: "PUBLIC"
    • ReadonlyPRIVATE: "PRIVATE"
    • ReadonlyUNLISTED: "UNLISTED"
    const network: NetworkSummaryV3 = {
    externalId: "12345",
    name: "Sample Network",
    visibility: Visibility.UNLISTED // Only accessible via direct link
    };