Skip to content

Commit 658985b

Browse files
ryanioclaude
andcommitted
Release v0.15.0
Origin-SHA: 49cb7689dccdcb72c9950f9cb5849caa81b30fa0 ### Minor Changes - bab8feb: Sync OpenAPI spec with the drop page endpoints. Adds `POST /api/v2/collections/{slug}/media/{placement}` (page media upload, image or video), `POST /api/v2/collections/{slug}/pricing_currency` (secondary sales currency, USDG or the native currency), `GET`/`POST /api/v2/collections/{slug}/creator_fee_enforcement` (Limit Break creator fee enforcement, returns the transactions to sign), and `POST /api/v2/collections/{slug}/refresh`. `GET /api/v2/collections/{slug}/metadata` now returns the saved page (`CollectionPageMetadataResponse`: hero, about, overview modules) with a preview URL, and `GET /api/v2/drops/{slug}/items` lists a draft drop's items (`DropItemsPaginatedResponse`). The `b3` chain is no longer in the spec's chain enum. ### Patch Changes - 07d0bdc: Sync OpenAPI spec. Adds `save_drop_item_media_batch` (`POST /api/v2/drops/{slug}/items/media/save-batch`) and its `SaveDropItemMediaBatchRequest` schema, which saves a drop's items from one upload batch by filename, up to 15,000. `UploadDropItemMediaRequest` gains an optional `upload_batch_id` (UUID) that puts each upload request's files in that batch. `save_drop_item_media` (`POST /api/v2/drops/{slug}/items/media/save`, by media token) is now marked deprecated; it still works. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent fa6bc90 commit 658985b

8 files changed

Lines changed: 2517 additions & 450 deletions

‎CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @opensea/api-types
22

3+
## 0.15.0
4+
5+
### Minor Changes
6+
7+
- bab8feb: Sync OpenAPI spec with the drop page endpoints. Adds `POST /api/v2/collections/{slug}/media/{placement}` (page media upload, image or video), `POST /api/v2/collections/{slug}/pricing_currency` (secondary sales currency, USDG or the native currency), `GET`/`POST /api/v2/collections/{slug}/creator_fee_enforcement` (Limit Break creator fee enforcement, returns the transactions to sign), and `POST /api/v2/collections/{slug}/refresh`. `GET /api/v2/collections/{slug}/metadata` now returns the saved page (`CollectionPageMetadataResponse`: hero, about, overview modules) with a preview URL, and `GET /api/v2/drops/{slug}/items` lists a draft drop's items (`DropItemsPaginatedResponse`). The `b3` chain is no longer in the spec's chain enum.
8+
9+
### Patch Changes
10+
11+
- 07d0bdc: Sync OpenAPI spec. Adds `save_drop_item_media_batch` (`POST /api/v2/drops/{slug}/items/media/save-batch`) and its `SaveDropItemMediaBatchRequest` schema, which saves a drop's items from one upload batch by filename, up to 15,000. `UploadDropItemMediaRequest` gains an optional `upload_batch_id` (UUID) that puts each upload request's files in that batch. `save_drop_item_media` (`POST /api/v2/drops/{slug}/items/media/save`, by media token) is now marked deprecated; it still works.
12+
313
## 0.14.2
414

515
### Patch Changes

‎opensea-api.json‎

Lines changed: 1554 additions & 381 deletions
Large diffs are not rendered by default.

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opensea/api-types",
3-
"version": "0.14.2",
3+
"version": "0.15.0",
44
"description": "Auto-generated TypeScript types from the OpenSea API OpenAPI spec",
55
"license": "MIT",
66
"author": "OpenSea Developers",

‎src/auth-scopes-generated.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ export const AUTH_SCOPES = [
8787
displayName: "Creator Studio drop management",
8888
description: "Manage Creator Studio drops for authenticated account",
8989
group: "write",
90-
endpoints: ["/api/v2/drops/{slug}","/api/v2/drops/{slug}/allowlist","/api/v2/drops/{slug}/allowlist/validate","/api/v2/drops/{slug}/prereveal-item","/api/v2/drops/{slug}/items","/api/v2/drops/{slug}/items/media","/api/v2/drops/{slug}/items/media/save","/api/v2/drops/{slug}/items/manifest","/api/v2/drops/{slug}/items/{token_id}","/api/v2/drops/{slug}/metadata/ipfs","/api/v2/drops/{slug}/metadata/ipfs/{workflow_execution_id}","/api/v2/drops/{slug}/publish","/api/v2/drops/{slug}/unpublish"],
90+
endpoints: ["/api/v2/drops/{slug}","/api/v2/drops/{slug}/allowlist","/api/v2/drops/{slug}/allowlist/validate","/api/v2/drops/{slug}/prereveal-item","/api/v2/drops/{slug}/items","/api/v2/drops/{slug}/items/media","/api/v2/drops/{slug}/items/media/save","/api/v2/drops/{slug}/items/media/save-batch","/api/v2/drops/{slug}/items/manifest","/api/v2/drops/{slug}/items/{token_id}","/api/v2/drops/{slug}/metadata/ipfs","/api/v2/drops/{slug}/metadata/ipfs/{workflow_execution_id}","/api/v2/drops/{slug}/publish","/api/v2/drops/{slug}/unpublish"],
9191
mcpTools: ["manage_drops"],
9292
},
9393
{
9494
name: "write:collections",
9595
displayName: "Collection metadata editing",
9696
description: "Modify collection metadata for authenticated account",
9797
group: "write",
98-
endpoints: ["/api/v2/collections/{slug}","/api/v2/collections/{slug}/metadata","/api/v2/collections/{slug}/visibility","/api/v2/collections/{slug}/images/{image_type}"],
98+
endpoints: ["/api/v2/collections/{slug}","/api/v2/collections/{slug}/metadata","/api/v2/collections/{slug}/visibility","/api/v2/collections/{slug}/images/{image_type}","/api/v2/collections/{slug}/media/{placement}","/api/v2/collections/{slug}/pricing_currency","/api/v2/collections/{slug}/creator_fee_enforcement","/api/v2/collections/{slug}/refresh"],
9999
mcpTools: ["manage_collections"],
100100
},
101101
{

‎src/chains-generated.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const CHAIN_IDENTIFIERS = [
2626
"optimism",
2727
"ape_chain",
2828
"flow",
29-
"b3",
3029
"soneium",
3130
"ronin",
3231
"bera_chain",

‎src/generated.ts‎

Lines changed: 705 additions & 63 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)