Claude Platform Docs

Plugin-Marketplaces

Plugin-Marketplaces auflisten
client.Beta.Organization.PluginMarketplaces.List(ctx, params) (*PageCursor[BetaPluginMarketplace], error)
GET/v1/organizations/plugin_marketplaces

Listet die Plugin-Marketplaces auf, in denen sich Plugins befinden, die neuesten zuerst: die eigenen der Organisation und die persönlichen ihrer Mitglieder.

Plugin-Marketplace abrufen
client.Beta.Organization.PluginMarketplaces.Get(ctx, marketplaceID, params) (*BetaPluginMarketplace, error)
GET/v1/organizations/plugin_marketplaces/{marketplace_id}

Ruft einen Plugin-Marketplace anhand seiner ID ab.

Plugin-Marketplace aktualisieren
client.Beta.Organization.PluginMarketplaces.Update(ctx, marketplaceID, params) (*BetaPluginMarketplace, error)
POST/v1/organizations/plugin_marketplaces/{marketplace_id}

Legt die Standard-Installationseinstellung eines der eigenen Plugin-Marketplaces der Organisation fest. Jedes darin enthaltene Plugin ohne eigene Einstellung erhält diesen Standard als seine organisationsweite Einstellung, einschließlich später hinzugefügter Plugins.

Plugin-Marketplace-Repository validieren
client.Beta.Organization.PluginMarketplaces.ValidateRepository(ctx, params) (*BetaPluginMarketplaceValidationReport, error)
POST/v1/organizations/plugin_marketplaces/validate_repository

Prüft, ob ein Plugin-Marketplace in einem öffentlichen GitHub-Repository in claude.ai synchronisiert werden würde, ohne ihn zu verbinden oder zu speichern.

Plugin-Marketplace-Archiv validieren
client.Beta.Organization.PluginMarketplaces.ValidateArchive(ctx, params) (*BetaPluginMarketplaceValidationReport, error)
POST/v1/organizations/plugin_marketplaces/validate_archive

Prüft, ob ein Plugin-Marketplace, hochgeladen als .zip-Datei des Marketplace-Verzeichnisses, in claude.ai synchronisiert werden würde, ohne ihn zu verbinden oder zu speichern.

Models
type BetaPluginMarketplace struct { Type: "plugin_marketplace"; ID; CreatedAt; /* 7 more */ }
type BetaPluginMarketplaceValidationPluginError struct { Error; ErrorCode; Name }
Error string

Why the plugin would be skipped by a synchronization.

ErrorCode string

A stable identifier for the reason — the value to branch on.

Name string

The plugin's name, as its entry in marketplace.json declares it.

type BetaPluginMarketplaceValidationPluginWarning struct { ErrorCode; Message }
ErrorCode string

A stable identifier for the kind of warning.

Message string

What would be left out, and why.

type BetaPluginMarketplaceValidationPluginWarnings struct { Name; Warnings }
Name string

The plugin's name, as its entry in marketplace.json declares it.

The parts of the plugin a synchronization would leave out.

ErrorCode string

A stable identifier for the kind of warning.

Message string

What would be left out, and why.

type BetaPluginMarketplaceValidationReport struct { Type: "plugin_marketplace_validation_report"; CommitSha; ManifestError; /* 6 more */ }

The outcome of validating plugin marketplace content: a report, not a stored object, so nothing in it can be retrieved afterwards.