action shutterstock_get_collections { label: "List catalog collections" description: "This endpoint returns a list of catalog collections." provider: shutterstock method: GET path: "/v2/catalog/collections" encoding: json input: { type: "object" properties: { page: { type: "integer" } per_page: { type: "integer" } shared: { type: "boolean" } sort: { type: "string" enum: ["newest", "oldest"] } } additionalProperties: false } output: { type: "object" description: "List of catalog collections" required: ["data", "page", "per_page", "total_count"] properties: { data: { type: "array" description: "List of catalog collections" items: { type: "object" description: "Catalog collection" required: ["id", "name", "total_item_count", "created_time", "updated_time", "visibility", "role_assignments"] properties: { cover_asset: { type: "object" description: "Metadata about an item that is part of a collection" required: ["id", "asset", "created_time"] properties: { asset: { type: "object" required: ["type"] properties: { id: { type: "string" } name: { type: "string" } type: { type: "string" enum: ["image", "video", "audio", "editorial-image", "editorial-video"] } } } collection_ids: { type: "array" description: "The collection IDs that this asset belongs to" items: { type: "string" } } created_time: { type: "string" format: "date-time" } id: { type: "string" } } } created_time: { type: "string" format: "date-time" } id: { type: "string" } name: { type: "string" } role_assignments: { type: "object" description: "List of role assignments for a catalog collection" required: ["collection_id", "roles"] properties: { collection_id: { type: "string" } roles: { type: "object" properties: { editors: { type: "array" items: { type: "object" description: "A user that has access to a catalog collection" required: ["id", "type", "email"] properties: { email: { type: "string" } id: { type: "string" } type: { type: "string" enum: ["USER"] } } } } owners: { type: "array" items: { type: "object" additionalProperties: true } } viewers: { type: "array" items: { type: "object" additionalProperties: true } } } } } } total_item_count: { type: "number" } updated_time: { type: "string" format: "date-time" } visibility: { type: "string" enum: ["private", "public"] } } } } page: { type: "number" } per_page: { type: "number" } total_count: { type: "number" } } } }