Approve a public marketplace resource into a workspace

Adds a public resource to a workspace catalog and collection with a trust snapshot. Approval is workspace-local curation and never a SuperSkill reviewed badge. Failed or missing security scans are blocked; warnings become approved_with_warning. Pass resourceVersion and artifactDigest together to approve one immutable hosted public release; a missing release or digest mismatch fails closed.

post/workspaces/{slug}/resources/approve

Request

  • Base URL: https://superskill.sh/api
  • URL: https://superskill.sh/api/workspaces/{slug}/resources/approve
  • Auth: HTTP bearer

Path parameters

slugstring required

Request body

resourceIdstring required

Scanned public resource id, for example onlyharness:harnesses/deep-market-researcher

collectionstring

Workspace collection slug; defaults to approved

namestring

Optional workspace-local resource name

notestring
resourceVersionstring

Optional exact semantic version; requires artifactDigest

artifactDigeststring

Optional exact archive SHA-256; requires resourceVersion

Response

Workspace approval created

approvalStatestring
verifiedfalse
nextstring

Changes

No recorded changes to this operation across all 1 revision of this API.