> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Wistia

> 63 actions available for Wistia through StackOne. Use via Actions RPC, Toolset SDK, MCP, or A2A.

export const GettingStarted = ({connector}) => {
  const linkStyle = {
    textDecoration: 'none'
  };
  const authConfigGuides = connector?.authentication?.filter(a => a?.setupGuide) ?? [];
  const linkAccountGuides = connector?.authentication?.filter(a => a?.configGuide) ?? [];
  return <div style={{
    marginTop: '32px',
    paddingTop: '24px'
  }} className="getting-started-section">
      <div style={{
    fontSize: '20px',
    fontWeight: '600',
    marginBottom: '12px'
  }}>Getting Started</div>
      <Steps>
        <Step title="Create or Select a Project">
          Set up a new project or select an existing one. See the <a href="/guides/managing-projects" style={linkStyle}>Projects Guide</a>.
        </Step>
        <Step title="Configure the Connector">
          <>
            Enable the connector and set up auth configuration in your project. See <a href="/guides/explore-connectors" style={linkStyle}>Managing Connectors</a>.
            {authConfigGuides.length > 0 && <>
              <Columns cols={2}>
                {authConfigGuides.map(auth => <Card title="Auth Config" href={`/${auth.setupGuide}`} icon={connector.icon} horizontal>
                    {connector.name} - {auth.label}
                  </Card>)}
              </Columns> 
              </>}
          </>
        </Step>
        <Step title="Link an Account">
          <>
            Connect an account using <a href="/guides/embedding-stackone-hub" style={linkStyle}>StackOne Hub</a> or <a href="/guides/auth-link" style={linkStyle}>Auth Link</a>.
            {linkAccountGuides.length > 0 && <>
                <Columns cols={2}>
                  {linkAccountGuides.map(auth => <Card title="Link Account" href={`/${auth.configGuide}`} icon={connector.icon} horizontal>
                      {connector.name} - {auth.label}
                    </Card>)}
                </Columns>
              </>}
          </>
        </Step>
        <Step title="Use Actions">
          <>
            Invoke actions using one of the methods below:
            <ul style={{
    marginTop: '8px',
    paddingLeft: '20px'
  }}>
              <li style={{
    marginBottom: '4px'
  }}><a href="/mcp/quickstart" style={linkStyle}>MCP</a> – Model Context Protocol for AI assistants</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/a2a/quickstart" style={linkStyle}>A2A</a> – Agent-to-Agent protocol</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/agents/typescript/introduction" style={linkStyle}>AI Toolset (TypeScript)</a> – TypeScript SDK for AI agents</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/agents/python/introduction" style={linkStyle}>AI Toolset (Python)</a> – Python SDK for AI agents</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/platform/api-reference/actions/make-an-rpc-call-to-an-action" style={linkStyle}>Actions RPC</a> – Direct API calls</li>
              <li style={{
    marginBottom: '4px'
  }}><a href="/guides/playground" style={linkStyle}>Playground</a> – Test actions in the dashboard</li>
            </ul>
          </>
        </Step>
      </Steps>
    </div>;
};

export const ActionsLibrary = ({search, setSearch, filtered, sharedStyles = {}, KeyCell, ScopesCell, availableScopes, selectedScopes, setSelectedScopes}) => {
  const libraryStyles = {
    section: {
      marginTop: '24px',
      marginBottom: '16px'
    },
    sectionTitle: {
      fontSize: '18px',
      fontWeight: '600',
      marginBottom: '12px'
    },
    filterRow: {
      display: 'flex',
      gap: '12px',
      marginBottom: '12px',
      alignItems: 'stretch'
    },
    count: {
      fontSize: '12px',
      marginBottom: '8px'
    },
    tableContainer: {
      maxHeight: '500px',
      overflowY: 'auto',
      overflowX: 'auto',
      borderRadius: '8px',
      fontSize: '13px'
    },
    gridTable: {
      display: 'grid',
      minWidth: '600px',
      gridTemplateColumns: '200px 1fr'
    },
    gridTableWithScopes: {
      gridTemplateColumns: '200px 1fr 150px'
    },
    gridHeader: {
      display: 'contents'
    },
    gridHeaderCell: {
      position: 'sticky',
      top: 0,
      padding: '10px 12px',
      fontWeight: '600',
      zIndex: 1
    },
    gridRow: {
      display: 'contents'
    },
    gridCellAction: {
      padding: '10px 12px',
      fontWeight: '500'
    },
    gridCellKey: {
      padding: '10px 12px'
    },
    gridCellScopes: {
      padding: '10px 12px',
      fontSize: '12px'
    },
    gridCellDescription: {
      padding: '10px 12px'
    }
  };
  const styles = {
    ...libraryStyles,
    ...sharedStyles
  };
  const safeAvailableScopes = Array.isArray(availableScopes) ? availableScopes : [];
  const safeSelectedScopes = Array.isArray(selectedScopes) ? selectedScopes : [];
  const hasScopesColumn = safeAvailableScopes.length > 0;
  const hasScopeFilter = safeAvailableScopes.length > 0 && typeof setSelectedScopes === 'function';
  const ScopesCellComponent = ScopesCell || (() => null);
  return <div style={styles.section}>
      <div style={styles.sectionTitle}>Actions</div>
      <div style={styles.filterRow}>
        <SearchBar value={search} onChange={setSearch} placeholder="Search actions" />
        {hasScopeFilter && <FilterDropdown label="Scopes" items={safeAvailableScopes} selectedItems={safeSelectedScopes} onChange={setSelectedScopes} searchPlaceholder="Search scopes..." emptyLabel="No scopes found" />}
      </div>
      <div style={styles.count} className="actions-library-count">
        {filtered.length === 0 ? '0 actions found' : `${filtered.length} action${filtered.length !== 1 ? 's' : ''}`}
      </div>
      {}
      <div className="not-prose actions-library-table-container" style={styles.tableContainer}>
        <div style={{
    ...hasScopesColumn ? {
      ...styles.gridTable,
      ...styles.gridTableWithScopes
    } : styles.gridTable
  }}>
          {}
          <div style={styles.gridHeader}>
            <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Action</div>
            <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Description</div>
            {hasScopesColumn && <div style={styles.gridHeaderCell} className="actions-library-grid-header-cell">Required scopes</div>}
          </div>
          {}
          {filtered.map(a => <div key={a.id} style={styles.gridRow}>
              <div style={styles.gridCellAction} className="actions-library-grid-cell">
                <div>{a.label}</div>
                <div style={{
    marginTop: '4px'
  }}>
                  <KeyCell id={a.id} />
                </div>
              </div>
              <div style={styles.gridCellDescription} className="actions-library-grid-cell actions-library-grid-cell--description">{a.description}</div>
              {hasScopesColumn && <div style={styles.gridCellScopes} className="actions-library-grid-cell actions-library-grid-cell--scopes">
                  <ScopesCellComponent scopes={a.requiredScopes} actionId={a.id} />
                </div>}
            </div>)}
        </div>
      </div>
    </div>;
};

export const FilterDropdown = ({label, items, selectedItems, onChange, searchPlaceholder = 'Search...', emptyLabel = 'No items found', formatLabel}) => {
  const [dropdownOpen, setDropdownOpen] = React.useState(false);
  const [search, setSearch] = React.useState('');
  const [hoveredItem, setHoveredItem] = React.useState(null);
  const dropdownRef = React.useRef(null);
  const styles = {
    dropdownContainer: {
      position: 'relative'
    },
    dropdownTrigger: {
      display: 'flex',
      alignItems: 'center',
      gap: '8px',
      padding: '10px 14px',
      borderRadius: '8px',
      fontSize: '14px',
      cursor: 'pointer',
      whiteSpace: 'nowrap',
      minWidth: '160px',
      justifyContent: 'space-between'
    },
    dropdownMenu: {
      position: 'absolute',
      top: '100%',
      right: 0,
      marginTop: '4px',
      borderRadius: '8px',
      zIndex: 50,
      minWidth: '220px',
      maxHeight: '320px',
      display: 'flex',
      flexDirection: 'column'
    },
    dropdownHeader: {
      padding: '8px 12px'
    },
    selectActions: {
      display: 'flex',
      alignItems: 'center',
      gap: '8px',
      marginTop: '6px',
      fontSize: '12px'
    },
    selectActionBtn: {
      background: 'none',
      border: 'none',
      cursor: 'pointer',
      padding: '2px 4px',
      fontSize: '12px'
    },
    dropdownSearchInput: {
      width: '100%',
      padding: '8px 10px',
      borderRadius: '6px',
      fontSize: '13px',
      outline: 'none'
    },
    dropdownList: {
      overflowY: 'auto',
      maxHeight: '220px',
      padding: '4px 0'
    },
    dropdownItem: {
      display: 'flex',
      alignItems: 'center',
      gap: '10px',
      padding: '8px 12px',
      cursor: 'pointer',
      fontSize: '13px',
      transition: 'background-color 0.1s'
    },
    checkbox: {
      width: '16px',
      height: '16px',
      borderRadius: '4px',
      display: 'flex',
      alignItems: 'center',
      justifyContent: 'center',
      flexShrink: 0
    },
    checkmark: {
      color: 'white',
      fontSize: '10px',
      fontWeight: 'bold'
    },
    dropdownFooter: {
      padding: '8px 12px',
      display: 'flex',
      justifyContent: 'space-between',
      alignItems: 'center'
    },
    clearButton: {
      fontSize: '12px',
      cursor: 'pointer',
      padding: '4px 8px',
      borderRadius: '4px',
      border: 'none',
      background: 'none'
    },
    badge: {
      fontSize: '11px',
      fontWeight: '600',
      padding: '2px 6px',
      borderRadius: '10px',
      marginLeft: '4px'
    },
    chevron: {
      fontSize: '10px',
      transition: 'transform 0.15s'
    },
    noResults: {
      padding: '12px',
      textAlign: 'center',
      fontSize: '13px'
    }
  };
  const safeSelected = Array.isArray(selectedItems) ? selectedItems : [];
  const formatItemLabel = item => {
    if (typeof formatLabel === 'function') {
      return formatLabel(item);
    }
    return item;
  };
  const filteredItems = React.useMemo(() => {
    if (!search) return items;
    const searchLower = search.toLowerCase();
    return items.filter(item => {
      const labelText = formatItemLabel(item);
      return labelText.toLowerCase().includes(searchLower);
    });
  }, [items, search, formatLabel]);
  const isSelected = item => safeSelected.includes(item);
  const toggleItem = item => {
    const next = isSelected(item) ? safeSelected.filter(v => v !== item) : [...safeSelected, item];
    onChange(next);
  };
  const clearFilters = () => {
    onChange([]);
  };
  const selectAll = () => {
    onChange(items);
  };
  React.useEffect(() => {
    const handleClickOutside = e => {
      if (dropdownRef.current && !dropdownRef.current.contains(e.target)) {
        setDropdownOpen(false);
        setSearch('');
        setHoveredItem(null);
      }
    };
    document.addEventListener('mousedown', handleClickOutside);
    return () => document.removeEventListener('mousedown', handleClickOutside);
  }, []);
  return <div style={styles.dropdownContainer} ref={dropdownRef}>
      <button type="button" onClick={() => setDropdownOpen(!dropdownOpen)} style={styles.dropdownTrigger} className={`filter-dropdown__trigger${safeSelected.length > 0 ? ' filter-dropdown__trigger--active' : ''}`}>
        <span>
          {label}
          {safeSelected.length > 0 && <span style={styles.badge} className="filter-dropdown__badge">{safeSelected.length}</span>}
        </span>
        <span style={{
    ...styles.chevron,
    transform: dropdownOpen ? 'rotate(180deg)' : 'rotate(0deg)'
  }} className="filter-dropdown__chevron">
          ▼
        </span>
      </button>
      {dropdownOpen && <div style={styles.dropdownMenu} className="filter-dropdown__menu">
          <div style={styles.dropdownHeader} className="filter-dropdown__header">
            <input type="text" placeholder={searchPlaceholder} value={search} onChange={e => setSearch(e.target.value)} style={styles.dropdownSearchInput} className="filter-dropdown__search" autoFocus />
            <div style={styles.selectActions}>
              <button type="button" onClick={selectAll} style={styles.selectActionBtn} className="filter-dropdown__action-btn">
                Select all
              </button>
              <span className="filter-dropdown__separator">|</span>
              <button type="button" onClick={clearFilters} style={styles.selectActionBtn} className="filter-dropdown__action-btn">
                Clear
              </button>
            </div>
          </div>
          <div style={styles.dropdownList}>
            {filteredItems.length === 0 ? <div style={styles.noResults} className="filter-dropdown__no-results">{emptyLabel}</div> : filteredItems.map(item => {
    const itemClass = ['filter-dropdown__item', hoveredItem === item ? 'filter-dropdown__item--hovered' : '', isSelected(item) ? 'filter-dropdown__item--selected' : ''].filter(Boolean).join(' ');
    const checkboxClass = `filter-dropdown__checkbox${isSelected(item) ? ' filter-dropdown__checkbox--checked' : ''}`;
    return <div key={item} onClick={() => toggleItem(item)} onMouseEnter={() => setHoveredItem(item)} onMouseLeave={() => setHoveredItem(null)} style={styles.dropdownItem} className={itemClass}>
                    <div style={styles.checkbox} className={checkboxClass}>
                      {isSelected(item) && <span style={styles.checkmark}>✓</span>}
                    </div>
                    <span>{formatItemLabel(item)}</span>
                  </div>;
  })}
          </div>
        </div>}
    </div>;
};

export const SearchBar = ({value, onChange, placeholder = 'Search...'}) => {
  const baseStyle = {
    padding: '10px 14px',
    borderRadius: '8px',
    fontSize: '14px',
    outline: 'none',
    flex: 1,
    minWidth: 0
  };
  return <input type="text" placeholder={placeholder} value={value} onChange={e => onChange(e.target.value)} style={baseStyle} className="search-bar" />;
};

export const ConnectorPage = ({connector}) => {
  const styles = {
    header: {
      display: 'flex',
      alignItems: 'center',
      gap: '12px',
      marginBottom: '24px'
    },
    tagsRow: {
      display: 'flex',
      flexWrap: 'wrap',
      gap: '6px',
      marginTop: '8px'
    },
    releaseTag: {
      display: 'inline-block',
      padding: '2px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      fontWeight: '500'
    },
    categoryTag: {
      display: 'inline-block',
      padding: '2px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      fontWeight: '500'
    },
    icon: {
      width: '48px',
      height: '48px',
      borderRadius: '10px',
      padding: '2px'
    },
    title: {
      fontSize: '24px',
      fontWeight: '600'
    },
    subtitle: {
      fontSize: '14px'
    },
    authDescription: {
      fontSize: '14px',
      marginTop: 0
    },
    sectionTitle: {
      fontSize: '18px',
      fontWeight: '600',
      marginBottom: '12px'
    },
    codeWrapper: {
      position: 'relative',
      display: 'inline-flex',
      alignItems: 'center',
      maxWidth: '100%',
      cursor: 'pointer',
      overflowX: 'auto',
      overflowY: 'hidden',
      msOverflowStyle: 'none',
      scrollbarWidth: 'none'
    },
    code: {
      padding: '4px 8px',
      borderRadius: '4px',
      fontSize: '11px',
      display: 'inline-block',
      whiteSpace: 'nowrap',
      transition: 'background-color 0.15s'
    },
    tooltip: {
      position: 'absolute',
      top: '100%',
      left: '50%',
      transform: 'translateX(-50%)',
      padding: '6px 10px',
      borderRadius: '6px',
      fontSize: '11px',
      whiteSpace: 'nowrap',
      marginTop: '6px',
      zIndex: 50,
      maxWidth: '300px',
      wordBreak: 'break-all'
    },
    tooltipArrow: {
      position: 'absolute',
      bottom: '100%',
      left: '50%',
      transform: 'translateX(-50%)',
      borderWidth: '5px',
      borderStyle: 'solid',
      zIndex: 50
    }
  };
  const [search, setSearch] = React.useState('');
  const [copiedId, setCopiedId] = React.useState(null);
  const [selectedScopes, setSelectedScopes] = React.useState([]);
  const availableScopes = React.useMemo(() => {
    const set = new Set();
    connector.actions.forEach(a => {
      if (Array.isArray(a.requiredScopes)) {
        a.requiredScopes.forEach(s => {
          if (s) set.add(s);
        });
      }
    });
    return Array.from(set).sort();
  }, [connector.actions]);
  const filtered = React.useMemo(() => {
    const searchLower = search.toLowerCase();
    return connector.actions.filter(a => {
      const matchesSearch = a.label.toLowerCase().includes(searchLower) || a.description.toLowerCase().includes(searchLower) || a.id.toLowerCase().includes(searchLower);
      if (!matchesSearch) return false;
      if (selectedScopes.length === 0) return true;
      const scopes = Array.isArray(a.requiredScopes) ? a.requiredScopes : [];
      if (scopes.length === 0) return false;
      return selectedScopes.some(scope => scopes.includes(scope));
    });
  }, [connector.actions, search, selectedScopes]);
  const handleImageError = e => {
    e.target.style.display = 'none';
  };
  const formatCategoryLabel = cat => {
    const acronyms = ['ai', 'ats', 'crm', 'hris', 'iam', 'lms'];
    if (acronyms.includes(cat.toLowerCase())) {
      return cat.toUpperCase();
    }
    return cat.replace(/_/g, ' ').replace(/\b\w/g, c => c.toUpperCase());
  };
  const ReleaseTag = () => {
    if (!connector.releaseStage || connector.releaseStage === 'ga') return null;
    const variantClass = connector.releaseStage === 'beta' ? 'connector-page-tag-beta' : 'connector-page-tag-preview';
    return <span style={styles.releaseTag} className={variantClass}>
        {connector.releaseStage.charAt(0).toUpperCase() + connector.releaseStage.slice(1)}
      </span>;
  };
  const CategoryTags = () => {
    if (!connector.categories || connector.categories.length === 0) return null;
    return <>
        {connector.categories.map(cat => <span key={cat} style={styles.categoryTag} className="connector-page-category-tag">
            {formatCategoryLabel(cat)}
          </span>)}
      </>;
  };
  const copyToClipboard = async (text, id) => {
    try {
      await navigator.clipboard.writeText(text);
      setCopiedId(id);
      setTimeout(() => setCopiedId(null), 1500);
    } catch (err) {
      console.error('Failed to copy:', err);
    }
  };
  const CopyChip = ({text, copyId}) => {
    const [isHovered, setIsHovered] = React.useState(false);
    const isCopied = copiedId === copyId;
    if (!text) {
      return null;
    }
    const codeClassName = `connector-page-code${isCopied ? ' connector-page-code--copied' : ''}`;
    return <div style={styles.codeWrapper} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} onClick={() => copyToClipboard(text, copyId)} title="">
        {(isHovered || isCopied) && <div style={styles.tooltip} className="connector-page-tooltip">
            {isCopied ? '✓ Copied!' : 'Click to copy'}
            <div style={styles.tooltipArrow} className="connector-page-tooltip-arrow" />
          </div>}
        <code style={styles.code} className={codeClassName}>
          {text}
        </code>
      </div>;
  };
  const KeyCell = ({id}) => <CopyChip text={id} copyId={id} />;
  const ScopesCell = ({scopes, actionId}) => {
    const scopeList = Array.isArray(scopes) ? scopes.filter(Boolean) : [];
    if (scopeList.length === 0) return null;
    return <div style={{
      display: 'flex',
      flexWrap: 'wrap',
      gap: '6px'
    }}>
        {scopeList.map(scope => <CopyChip key={scope} text={scope} copyId={`scopes:${actionId}:${scope}`} />)}
      </div>;
  };
  return <div>
      {}
      <div style={styles.header}>
        <img src={connector.icon} alt={connector.name} style={styles.icon} className="connector-page-icon" onError={handleImageError} />
        <div>
          <div style={styles.title}>{connector.name}</div>
          <div style={styles.subtitle} className="connector-page-subtitle">
            {connector.actions.length} actions · {connector.authentication.length} auth method{connector.authentication.length !== 1 ? 's' : ''}
          </div>
          {connector.releaseStage && connector.releaseStage !== 'ga' || connector.categories && connector.categories.length > 0 ? <div style={styles.tagsRow}>
              <ReleaseTag />
              <CategoryTags />
            </div> : null}
        </div>
      </div>

      {}
      <div style={styles.sectionTitle}>Authentication</div>
      <Columns cols={2}>        
        {connector.authentication.length > 0 ? connector.authentication.map(auth => {
    const authLabel = auth?.label || '';
    const authDescription = auth?.description;
    const configGuide = auth?.configGuide;
    const setupGuide = auth?.setupGuide;
    const hasConfigGuide = !!configGuide;
    const hasSetupGuide = !!setupGuide;
    const hasAnyGuide = hasConfigGuide || hasSetupGuide;
    return <Card key={authLabel} title={authLabel}>
                {authDescription && <p style={{
      ...styles.authDescription,
      marginBottom: hasAnyGuide ? '8px' : 0
    }} className="connector-page-auth-description">
                    {authDescription}
                  </p>}
                {hasAnyGuide && <span style={{
      fontSize: '14px'
    }}>
                    Guides: {hasSetupGuide && <a href={`/${setupGuide}`} style={{
      textDecoration: 'none'
    }}>Auth Config</a>}
                    {hasConfigGuide && hasSetupGuide && ', '}
                    {hasConfigGuide && <a href={`/${configGuide}`} style={{
      textDecoration: 'none'
    }}>Link Account</a>}
                  </span>}
              </Card>;
  }) : <>
            Contact StackOne for authentication details.
          </>}
      </Columns>

      <ActionsLibrary search={search} setSearch={setSearch} filtered={filtered} sharedStyles={{
    sectionTitle: styles.sectionTitle
  }} KeyCell={KeyCell} ScopesCell={ScopesCell} availableScopes={availableScopes} selectedScopes={selectedScopes} setSelectedScopes={setSelectedScopes} />

      <GettingStarted connector={connector} />

      {connector.documentation?.references?.length > 0 && <>
          <div style={styles.sectionTitle}>References</div>
          <Columns cols={2}>
            {connector.documentation.references.map(ref => {
    let safeHref;
    try {
      const parsed = new URL(ref.url);
      safeHref = parsed.protocol === 'http:' || parsed.protocol === 'https:' ? ref.url : undefined;
    } catch {
      safeHref = undefined;
    }
    return <Card key={`${ref.title}-${ref.url}`} title={ref.title} href={safeHref}>
                  {ref.description}
                </Card>;
  })}
          </Columns>
        </>}

    </div>;
};

export const connector = {
  "key": "wistia",
  "name": "Wistia",
  "icon": "https://stackone-logos.com/api/wistia/filled/png",
  "authentication": [{
    "label": "OAuth 2.0",
    "description": "Connect your Wistia account securely using OAuth 2.0 authorization for multi-user access and enhanced security.",
    "configGuide": "connectors/wistia/guides/link-account/oauth-2-0",
    "setupGuide": "connectors/wistia/guides/auth-config/oauth-2-0"
  }, {
    "label": "API Token",
    "description": "Use an API Token for quick authentication. Best suited for testing, development, or single-account integrations.",
    "configGuide": "connectors/wistia/guides/link-account/api-token",
    "setupGuide": "connectors/wistia/guides/auth-config/api-token"
  }],
  "actions": [{
    "id": "wistia_get_account",
    "label": "Get Account",
    "description": "Retrieves a summary of the Wistia account",
    "requiredScopes": ["all:read"]
  }, {
    "id": "wistia_list_medias",
    "label": "List Media",
    "description": "Lists the media belonging to the account",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_get_media",
    "label": "Show Media",
    "description": "Fetches a single media by its hashed id",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_update_media",
    "label": "Update Media",
    "description": "Updates the attributes on a media",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_media",
    "label": "Delete Media",
    "description": "Deletes a media",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_copy_media",
    "label": "Copy Media",
    "description": "Copies a media and its assets to a destination folder",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_get_media_stats",
    "label": "Show Media Aggregated Stats",
    "description": "Aggregated tracking statistics for a video embedded on your site",
    "requiredScopes": ["stats:read"]
  }, {
    "id": "wistia_archive_medias",
    "label": "Archive Media",
    "description": "Archives up to 100 medias per request asynchronously",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_restore_medias",
    "label": "Restore Media",
    "description": "Restores archived medias to your account",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_move_medias",
    "label": "Move Media",
    "description": "Move one or many media to a different folder and optionally to a specific subfolder",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_translate_media",
    "label": "Translate Media",
    "description": "Translates the transcript for a media",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_upload_media",
    "label": "Import Media From URL",
    "description": "Imports a media file into Wistia from a publicly accessible web URL, supporting video, audio, image, PDF, and document f...",
    "requiredScopes": ["media:upload"]
  }, {
    "id": "wistia_get_customizations",
    "label": "Show Customizations",
    "description": "Retrieves the explicitly defined video player customizations for a specific media, including player color, controls visi...",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_update_customizations",
    "label": "Update Customizations",
    "description": "Partially updates video player customizations for a specific media, including player color, controls, autoplay, captions...",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_swap_media",
    "label": "Swap Media",
    "description": "Replaces one media's content with another while preserving the original media's hashed ID, embed codes, and URLs. Queues...",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_get_media_analytics",
    "label": "Show Media Analytics",
    "description": "Retrieves aggregate analytics for a video over a date range, including plays, loads, engagement rate, play rate, visitor...",
    "requiredScopes": ["stats:read"]
  }, {
    "id": "wistia_delete_customizations",
    "label": "Delete Customizations",
    "description": "Deletes all explicit video player customizations for a media, resetting it to default appearance and behavior as if it w...",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_folders",
    "label": "List Folders",
    "description": "Lists folders (previously called projects) belonging to the account",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_get_folder",
    "label": "Show Folder",
    "description": "Retrieves a single folder (previously called project)",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_create_folder",
    "label": "Create Folder",
    "description": "Creates a new folder (previously called project)",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_update_folder",
    "label": "Update Folder",
    "description": "Updates a folder (previously called project)",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_folder",
    "label": "Delete Folder",
    "description": "Deletes a folder (previously called project)",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_copy_folder",
    "label": "Copy Folder",
    "description": "Copies a folder (previously called project) and all its media and subfolders asynchronously",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_subfolders",
    "label": "List Subfolders",
    "description": "Lists subfolders in a specific folder",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_get_subfolder",
    "label": "Show Subfolder",
    "description": "Retrieves detailed information about a specific subfolder",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_create_subfolder",
    "label": "Create Subfolder",
    "description": "Creates a new subfolder within a folder",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_update_subfolder",
    "label": "Update Subfolder",
    "description": "Updates a subfolder's name and/or description",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_subfolder",
    "label": "Delete Subfolder",
    "description": "Deletes a subfolder from a folder",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_bulk_delete_subfolders",
    "label": "Bulk Delete Subfolders",
    "description": "Deletes multiple subfolders asynchronously",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_sharings",
    "label": "List Folder Sharings",
    "description": "Lists the sharings of contacts and contact groups on a folder, including each contact's permissions (admin, share, downl...",
    "requiredScopes": ["all:read"]
  }, {
    "id": "wistia_list_tags",
    "label": "List Tags",
    "description": "Lists tags belonging to the account",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_create_tag",
    "label": "Create Tag",
    "description": "Creates a new tag",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_tag",
    "label": "Delete Tag",
    "description": "Deletes a tag",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_all_captions",
    "label": "List Captions",
    "description": "Lists captions belonging to the account",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_list_media_captions",
    "label": "List Captions By Media",
    "description": "Lists captions belonging to a specific video",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_get_caption",
    "label": "Show Captions",
    "description": "Returns a video's captions in the specified language",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_create_caption",
    "label": "Create Captions",
    "description": "Adds captions to a specified video",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_update_caption",
    "label": "Update Captions",
    "description": "Replaces the captions on a video for the specified language",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_caption",
    "label": "Delete Captions",
    "description": "Removes the captions file from a video for the specified language",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_purchase_captions",
    "label": "Purchase Captions",
    "description": "Purchases English captions for a video",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_channels",
    "label": "List Channels",
    "description": "Lists all Channels belonging to an account",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_get_channel",
    "label": "Show Channel",
    "description": "Returns the Channel associated with the hashedId",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_create_channel",
    "label": "Create Channel",
    "description": "Create a new channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_update_channel",
    "label": "Update Channel",
    "description": "Update a channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_channel",
    "label": "Delete Channel",
    "description": "Delete endpoint for a channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_all_episodes",
    "label": "List Channel Episodes",
    "description": "Lists Channel Episodes belonging to an account",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_list_channel_episodes",
    "label": "List Channel Episodes By Channel",
    "description": "Lists Channel Episodes belonging to the channel passed in the path",
    "requiredScopes": ["media:read"]
  }, {
    "id": "wistia_create_channel_episode",
    "label": "Create Channel Episode",
    "description": "Creates a new channel episode in a channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_update_channel_episode",
    "label": "Channel Episode Update",
    "description": "Updates an existing channel episode in a channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_channel_episode",
    "label": "Channel Episode Delete",
    "description": "Deletes an existing channel episode in a channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_publish_channel_episode",
    "label": "Publish Channel Episode",
    "description": "Publishes an existing channel episode in a channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_unpublish_channel_episode",
    "label": "Unpublish Channel Episode",
    "description": "Unpublishes an existing channel episode in a channel",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_webinars",
    "label": "List Webinars",
    "description": "Lists webinars belonging to the account",
    "requiredScopes": ["all:read"]
  }, {
    "id": "wistia_get_webinar",
    "label": "Show Webinar",
    "description": "Returns the webinar associated with the hashed id",
    "requiredScopes": ["all:read"]
  }, {
    "id": "wistia_create_webinar",
    "label": "Create Webinar",
    "description": "Creates a new webinar",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_update_webinar",
    "label": "Update Webinar",
    "description": "Updates an existing webinar",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_webinar",
    "label": "Delete Webinar",
    "description": "Deletes an existing webinar",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_create_webinar_registration",
    "label": "Create Webinar Registration",
    "description": "Register a person for a webinar by providing their email, first name, and last name",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_list_allowed_domains",
    "label": "List Allowed Domains",
    "description": "Lists allowed domains belonging to the account",
    "requiredScopes": ["all:read"]
  }, {
    "id": "wistia_get_allowed_domain",
    "label": "Show Allowed Domain",
    "description": "Returns the details of an allowed domain",
    "requiredScopes": ["all:read"]
  }, {
    "id": "wistia_create_allowed_domain",
    "label": "Create Allowed Domain",
    "description": "Creates an allowed domain for the account",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_delete_allowed_domain",
    "label": "Delete Allowed Domain",
    "description": "Deletes an allowed domain from the account",
    "requiredScopes": ["all:all"]
  }, {
    "id": "wistia_create_expiring_token",
    "label": "Create Expiring Access Token",
    "description": "Creates expiring access tokens which can be used for some iframe embeds",
    "requiredScopes": ["all:all"]
  }],
  "releaseStage": "preview",
  "categories": ["lms"],
  "scopeDefinitions": [{
    "name": "all:all",
    "description": "Full API access - anything you can do with the API is allowed",
    "includes": ["all:read", "media:upload"]
  }, {
    "name": "all:read",
    "description": "All read-only access - all requests for data are allowed but no changes can be made",
    "includes": ["media:read", "stats:read"]
  }, {
    "name": "media:read",
    "description": "Read access to media and project data including customization and captions"
  }, {
    "name": "stats:read",
    "description": "Read access to stats data"
  }, {
    "name": "media:upload",
    "description": "Upload access and ability to fetch data about a single media by hashed ID"
  }]
};

<ConnectorPage connector={connector} />
