創作者中心
後台
學習
商店
人才
論壇
路線圖
登入
建立
概覽
體驗
虛擬人偶
素材
開放式雲端
Roblox Studio 的最低規格要求已提升。
了解更多
建立
/
開放式雲端
/
Legacy APIs
中文(繁體)
回饋
Inventory v1
*
此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下
這裡
。
基本網址
https://inventory.roblox.com
JSON
下載
Assets
GET
/v1
/packages
/{packageId}
/assets
提供包裝 ID,返回該包裝的資產 ID 列表
Inventory
GET
/v1
/users
/{userId}
/assets
/collectibles
取得指定使用者擁有的所有收藏品資產。
GET
/v1
/users
/{userId}
/can-view-inventory
獲得指定使用者的庫存是否可以查看。
GET
/v1
/users
/{userId}
/categories
為使用者返回庫存類別
GET
/v1
/users
/{userId}
/categories
/favorites
為使用者返回偏好類別
GET
/v1
/users
/{userId}
/inventory
/{assetType}
獲得指定使用者的資產類型列表。注意,「帽子」資產類型可能會在我們進行轉換時返回配件。
GET
/v1
/users
/{userId}
/items
/{itemType}
/{itemTargetId}
獲得指定物品類型的擁有物品。遊戲伺服器可以對任何使用者發出請求,但只能為屬於傳送請求的地方的遊戲通行證發出請求。地點創作者可以像是遊戲伺服器一樣發出請求。
GET
/v1
/users
/{userId}
/items
/{itemType}
/{itemTargetId}
/is-owned
獲得使用者是否擁有類型為 itemType 的項目,並具有 iditemTargetId 的 id。
PlacesInventory
GET
/v1
/users
/{userId}
/places
/inventory
創建、MyGames或OtherGames為使用者放置庫存
Collections
DELETE
/v1
/collections
/items
/{itemType}
/{itemTargetId}
移除項目到適當的收集
POST
/v1
/collections
/items
/{itemType}
/{itemTargetId}
添加物品到適當的收集中
Models
Roblox.Inventory.Api.AssetsExplorerCategoryItemModel
Roblox.Inventory.Api.AssetsExplorerCategoryModel
Roblox.Inventory.Api.CategoriesModel
Roblox.Inventory.Api.Models.AssetIdListModel
Roblox.Inventory.Api.Models.CanViewInventoryResponse
Roblox.Inventory.Api.Models.CollectibleUserAssetModel
Roblox.Inventory.Api.Models.CreatorModel
Roblox.Inventory.Api.Models.IItemModel
Roblox.Inventory.Api.Models.InventoryPageResponse
Roblox.Inventory.Api.Models.PlaceModel
Roblox.Platform.Core.ExclusiveStartPaging.IExclusiveStartKeyInfo[System.Int64]
Roblox.Web.WebAPI.ApiEmptyResponseModel
Roblox.Web.WebAPI.ExclusiveStartRequest[System.Int64]
Roblox.Web.WebAPI.Models.ApiPageResponse[Roblox.Inventory.Api.Models.CollectibleUserAssetModel]
Roblox.Web.WebAPI.Models.ApiPageResponse[Roblox.Inventory.Api.Models.IItemModel]
Roblox.Web.WebAPI.Models.ApiPageResponse[Roblox.Inventory.Api.Models.PlaceModel]