Snyk/collections
@webframp/snyk/collectionsv2026.07.19.1
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.
03Models
@webframp/snyk/collectionsv2026.07.19.1snyk/collections.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiToken | string | Snyk API token |
| orgId | string | Snyk organization ID |
| version | string | Snyk API version date |
fn get_collections(sort?: enum, direction?: enum, name?: string, is_generated?: boolean)
Get collections
| Argument | Type | Description |
|---|---|---|
| sort? | enum | Return collections sorted by the specified attributes |
| direction? | enum | Return collections sorted in the specified direction |
| name? | string | Return collections which names include the provided string |
| is_generated? | boolean | Return collections where is_generated matches the provided boolean |
fn create_collection(data: object)
Create a collection
| Argument | Type | Description |
|---|---|---|
| data | object |
fn get_collection(collection_id: string)
Get a collection
| Argument | Type | Description |
|---|---|---|
| collection_id | string | Unique identifier for a collection |
fn update_collection(collection_id: string, data: object)
Edit a collection
| Argument | Type | Description |
|---|---|---|
| collection_id | string | Unique identifier for a collection |
| data | object |
fn delete_collection(collection_id: string)
Delete a collection
| Argument | Type | Description |
|---|---|---|
| collection_id | string | Unique 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
| Argument | Type | Description |
|---|---|---|
| collection_id | string | Unique identifier for a collection |
| sort? | enum | Return projects sorted by the specified attributes |
| direction? | enum | Return projects sorted in the specified direction |
| target_id? | string | Return projects that belong to the provided targets |
| show? | string | Return projects that are with or without issues |
| integration? | string | Return projects that match the provided integration types |
fn update_collection_with_projects(collection_id: string, data: array)
Add projects to a collection
| Argument | Type | Description |
|---|---|---|
| collection_id | string | Unique identifier for a collection |
| data | array | IDs of items to add to a collection |
fn delete_projects_collection(collection_id: string, data: array)
Remove projects from a collection
| Argument | Type | Description |
|---|---|---|
| collection_id | string | Unique identifier for a collection |
| data | array | IDs 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