Skip to main content

Snyk/collections

@webframp/snyk/collectionsv2026.07.19.1· 5d agoMODELS
01README

Snyk Collections — project collection groupings and management

02Release Notes

2026.07.19.1

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

03Models1
@webframp/snyk/collectionsv2026.07.19.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
04Stats
A
100 / 100
Downloads
0
Archive size
7.4 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
05Platforms
06Labels