Skip to main content

Snyk/collections

@webframp/snyk/collectionsv2026.09.08.1· 2d agoMODELS
01README

Snyk Collections — project collection groupings and management

02Release Notes

2026.09.08.1

Added: Initial code-generated release of @webframp/snyk/collections with 8 methods covering the Snyk collections API surface.

03Models1
@webframp/snyk/collectionsv2026.09.08.1snyk/collections.ts

Global Arguments

ArgumentTypeDescription
apiTokenstringSnyk API token
orgIdstringSnyk organization ID
versionstringSnyk API version date
fn get_collections(sort?: enum, direction?: enum, name?: string, is_generated?: boolean)
Get collections
ArgumentTypeDescription
sort?enumReturn collections sorted by the specified attributes
direction?enumReturn collections sorted in the specified direction
name?stringReturn collections which names include the provided string
is_generated?booleanReturn collections where is_generated matches the provided boolean
fn create_collection(data: object)
Create a collection
ArgumentTypeDescription
dataobject
fn get_collection(collection_id: string)
Get a collection
ArgumentTypeDescription
collection_idstringUnique identifier for a collection
fn update_collection(collection_id: string, data: object)
Edit a collection
ArgumentTypeDescription
collection_idstringUnique identifier for a collection
dataobject
fn delete_collection(collection_id: string)
Delete a collection
ArgumentTypeDescription
collection_idstringUnique identifier for a collection
fn get_projects_of_collection(collection_id: string, sort?: enum, direction?: enum, target_id?: string, show?: string, integration?: string)
Get projects from the specified collection
ArgumentTypeDescription
collection_idstringUnique identifier for a collection
sort?enumReturn projects sorted by the specified attributes
direction?enumReturn projects sorted in the specified direction
target_id?stringReturn projects that belong to the provided targets
show?stringReturn projects that are with or without issues
integration?stringReturn projects that match the provided integration types
fn update_collection_with_projects(collection_id: string, data: array)
Add projects to a collection
ArgumentTypeDescription
collection_idstringUnique identifier for a collection
dataarrayIDs of items to add to a collection
fn delete_projects_collection(collection_id: string, data: array)
Remove projects from a collection
ArgumentTypeDescription
collection_idstringUnique identifier for a collection
dataarrayIDs of items to remove from a collection

Resources

get_collections(infinite)— Get collections
collection(infinite)— Create a collection
get_projects_of_collection(infinite)— Get projects from the specified collection
collection_with_projects(infinite)— Add projects to a collection
04Previous Versions8
2026.08.28.2

2026.08.28.2

Hardened codegen: instance names sanitized against path traversal; 429 rate-limit retry with Retry-After; string schema patterns emit regex validation; output schemas passthrough unknown fields.

updated labels

2026.08.28.1

2026.08.28.1

Changed: Normalized the extension license to Apache-2.0 and corrected the copyright holder to "Sean Escriva". Extensions that previously shipped an MIT LICENSE.md are now Apache-2.0, consistent with the repository root and every other extension. No code or behavioral changes.

Upgrade note: License text only. No API, schema, or runtime behavior changed.

2026.08.26.2

Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry quality scorer can resolve dependencies and score the extension. An earlier release used a bare "zod" import-map specifier, which published but scored as unscored.

Changed: Retained explicit compilerOptions.strict in deno.json. No behavioral or schema changes.

2026.08.26.2

2026.08.26.2

Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry quality scorer can resolve dependencies and score the extension. An earlier release used a bare "zod" import-map specifier, which published but scored as unscored.

Changed: Retained explicit compilerOptions.strict in deno.json. No behavioral or schema changes.

2026.08.25.1

2026.08.25.1

Changed: Updated labels for improved extension discoverability. Added cross-cutting category labels (security, observability, finops, infrastructure, networking, compliance, devops, ai, incident-response) where applicable.

updated labels

2026.08.24.1

2026.08.24.1

Added: Output metadata attributes for observability.

  • durationMs: Method execution duration in milliseconds.
  • collectedBy: Extension name that produced the data.
  • fetchedAt: ISO 8601 timestamp when data was fetched (added to resources that previously lacked it).
2026.08.21.2

2026.08.21.2

Changed:

  • Snyk API request failures now name the HTTP method and path that was attempted (e.g. Snyk API POST /orgs/{orgId}/collections/{id}/relationships/ projects failed with HTTP 403: ...) instead of surfacing only the raw status and body. Network-level failures (DNS, timeout, connection reset) are also caught and re-raised with the same context and the original error preserved as cause, rather than propagating an unlabeled fetch error.
  • update_collection_with_projects and delete_projects_collection now reject an empty project list with a clear local validation error instead of sending a no-op request to the Snyk API.

Upgrade note: No changes to stored resource schemas. Existing instances need no migration.

2026.08.21.1

2026.08.21.1

Changed: Schema tightening sweep — no behavioral changes.

  • Added .min(1) to apiToken, orgId, and the collection name field (a collection cannot legitimately have an empty name).
  • Added .describe(...) to the previously undocumented is_generated field on the collection schemas.
2026.07.19.1

2026.07.19.1

Added: Initial code-generated release of @webframp/snyk/collections with 8 methods covering the Snyk collections API surface.

05Stats
A
100 / 100
Downloads
0
Archive size
15.5 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels