共用方式為


Rebrickable (獨立發行者) (預覽版)

Rebrickable 將幫助您找到可以從您已經擁有的套裝和零件中拼砌哪些樂高套裝。 Rebrickable 上的每個 MOC 都有零件列表和拼砌說明,因此您可以確定在這裡找到的任何東西都是可拼砌的! 您可能沒有所需的所有零件,但樂高的美妙之處在於鼓勵您即興創作!

此連接器適用於以下產品和區域:

服務 Class Regions
副駕駛工作室 進階 除下列區域外的所有 Power Automate 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
邏輯應用程式 標準 所有 Logic Apps 區域, 但下列區域除外:
     - Azure Government 區域
     - Azure 中國區域
     - 美國國防部 (DoD)
Power Apps 進階 除下列區域外的所有 Power Apps 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
Power Automate(自動化服務) 進階 除下列區域外的所有 Power Automate 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
連絡人​​
名稱 特洛伊·泰勒
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
連接器中繼資料
Publisher 特洛伊·泰勒
網站 https://rebrickable.com/home/
隱私策略 https://rebrickable.com/privacy/
類別 生活方式和娛樂

正在建立連線

連接器支援下列驗證類型:

預設值 建立連線的參數。 所有區域 不可共享

預設

適用:所有地區

建立連線的參數。

這不是可共用的連線。 如果 Power App 與其他使用者共用,系統會明確提示其他使用者建立新連線。

名稱 類型 Description 為必填項目
API 金鑰 (格式為「金鑰 APIKey」) securestring 此 API 的 API 金鑰 (格式為「金鑰 APIKey」)

節流限制

名稱 呼叫 續約期間
每個連線的 API 呼叫 100 60 秒

動作

刪除套裝清單

刪除一個集合列表及其所有集合。

刪除零件清單

刪除零件清單及其所有零件。

加入清單

取得零件清單中特定零件的詳細資料。

取代零件表的詳細資料

取代既有零件表的詳細資料。

取得 MOC

獲取 MOC 列表,這些 MOC 是特定集合的替代構建 - 即 MOC 中的所有部分都可以在集合中找到。

取得佈景主題

傳回所有主題。

取得佈景主題詳細資料

傳回特定主題的詳細資料。

取得使用者的集合

獲取所有用戶的設置列表的列表。

取得使用者詳細資料

取得特定使用者的詳細資料。

取得元素

取得特定元素 ID 的詳細資料。

取得套裝

取得集合清單,可選擇依下列任何參數篩選。

取得庫存組合

取得此集中所有庫存集的清單。

取得徽章

取得所有可用徽章的清單

取得徽章詳細資料

取得特定徽章的詳細資料。

取得色彩詳細資料

取得特定顏色的詳細資料。

取得設定庫存零件

取得此套裝中所有庫存零件的清單。 選用參數 inc_part_details=1 可用於傳回其他零件欄位,與單一零件查閱相同。選擇性參數 inc_minifig_parts=1 可用來在此呼叫中包含迷你圖零件。可選參數 inc_color_details=0 可用於防止色域擴展並減少響應大小。

取得零件

取得零件清單。 選用參數 inc_part_details=1 可用於傳回其他欄位,與單一零件查閱相同。選用的part_nums篩選器參數應該是逗號分隔的part_num清單,不含空格。選擇性地依下列一或多個查詢參數進行篩選。

取得零件或顏色組合詳細資料

取得特定零件或顏色組合的詳細資料。

取得零件或顏色組合集

取得零件或顏色組合出現的所有集合的清單。

取得零件清單

取得特定零件清單的詳細資料。

取得零件清單

取得所有使用者零件清單的清單。

取得零件詳細資料

取得特定零件的詳細資料。

取得零件顏色

取得零件出現的所有顏色的清單。

取得零件類別

取得所有零件類別的清單。

取得零件類別詳細資料

取得特定零件類別的詳細資料。

取得顏色

獲取所有顏色的列表。

可在安卓獲取minifig

獲取特定小人仔的詳細信息。

在所有清單中取得零件

取得所有使用者零件清單中所有零件的清單。

在歌單中設置

在專輯列表中獲取特定專輯的詳細信息。

在清單中取得零件

取得特定零件清單中所有零件的清單。

在集合列表中獲取集合

獲取特定集合列表中所有集合的列表。

尋找所需的套裝零件

找出使用者需要多少個零件來建立指定的集合。 用戶的默認拼砌設置將用於計算拼砌匹配 % 使用他們的樂高套裝和零件系列。

從清單中刪除零件

從零件清單中刪除零件。

從集合列表中刪除集合

從集合清單中刪除集合。

新增遺失的零件

將一或多個遺失的零件新增至使用者的清單。

更新集清單

更新現有曲目列表的詳細信息。

獲取丟失的零件

從用戶的樂高收藏中獲取所有丟失部件的列表。 或者,依下列一或多個查詢參數進行篩選。

獲取套裝小人仔

獲取此套裝中所有庫存小人仔的列表。

獲取套裝詳情

取得特定集合的詳細資料。

獲取小人仔

獲取小人仔列表。

獲取小人仔

獲取所有用戶集合中所有小人仔的列表。

獲取小人仔的套裝

獲取小人仔出現過的套裝列表。

獲取小人仔零件

獲取此小人仔中所有庫存零件的列表。 選用參數 inc_part_details=1 可用於傳回其他零件欄位,與單一零件查閱相同。

獲取所有套裝收藏

獲取用戶樂高收藏中所有套裝的列表。

獲取歌單

獲取有關特定曲目列表的詳細信息。

獲取用戶零件

取得所有使用者零件清單中所有零件的清單。

產生使用者權杖

產生使用者權杖,以用於在後續呼叫中授權使用者帳戶動作。 使用者名稱可以是實際使用者名稱或使用者的電子郵件地址。

移除遺失的零件

從使用者中移除遺失的零件。

刪除套裝清單

刪除一個集合列表及其所有集合。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

使用者權杖
user_token True string

使用者權杖。

刪除零件清單

刪除零件清單及其所有零件。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

使用者權杖
user_token True string

使用者權杖。

加入清單

取得零件清單中特定零件的詳細資料。

參數

名稱 機碼 必要 類型 Description
顏色 ID
color_id True string

顏色識別碼。

清單識別碼
list_id True string

清單識別碼。

零件編號
part_num True string

零件編號。

使用者權杖
user_token True string

使用者權杖。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
清單識別碼
list_id integer

清單識別碼。

數量
quantity integer

數量。

零件編號
part.part_num string

零件編號。

名稱
part.name string

名稱。

零件目錄 ID
part.part_cat_id integer

零件目錄識別碼。

零件 URL
part.part_url string

零件 URL 位址。

零件影像 URL
part.part_img_url string

零件影像 URL 位址。

磚鏈
part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
part.external_ids.BrickOwl array of string

BrickOwl 標識符。

列印
part.print_of string

的印刷品。

ID
color.id integer

識別碼。

名稱
color.name string

名稱。

RGB
color.rgb string

RGB 色彩值。

是跨性別者
color.is_trans boolean

是否透明。

外部 ID
color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
color.external_ids.LEGO.ext_descrs array of string
外部 ID
color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
color.external_ids.BrickLink.ext_descrs array of string
外部 ID
color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
color.external_ids.LDraw.ext_descrs array of string

取代零件表的詳細資料

取代既有零件表的詳細資料。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

清單識別碼
list_id True string

清單識別碼

可建造
is_buildable boolean

是否可建造。

名稱
name True string

名稱。

編號零件
num_parts integer

零件數量。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

可建造
is_buildable boolean

是否可建造。

名稱
name string

名稱。

編號零件
num_parts integer

零件數量。

取得 MOC

獲取 MOC 列表,這些 MOC 是特定集合的替代構建 - 即 MOC 中的所有部分都可以在集合中找到。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
套裝編號
results.set_num string

設定的數字。

名稱
results.name string

名稱。

results.year integer

年。

主題 ID
results.theme_id integer

佈景主題識別碼。

編號零件
results.num_parts integer

零件數量。

MOC 圖片網址
results.moc_img_url string

MOC 映像 URL 位址。

MOC 網址
results.moc_url string

MOC URL 位址。

設計師名稱
results.designer_name string

設計人員名稱。

設計工具網址
results.designer_url string

設計工具 URL 位址。

取得佈景主題

傳回所有主題。

參數

名稱 機碼 必要 類型 Description
頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

父 ID
results.parent_id integer

父識別碼。

名稱
results.name string

名稱。

取得佈景主題詳細資料

傳回特定主題的詳細資料。

參數

名稱 機碼 必要 類型 Description
ID
id True integer

識別此主題的唯一整數值。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

父 ID
parent_id integer

父識別碼。

名稱
name string

名稱。

取得使用者的集合

獲取所有用戶的設置列表的列表。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

可建造
results.is_buildable boolean

是否可建造。

名稱
results.name string

名稱。

編號集
results.num_sets integer

組數。

取得使用者詳細資料

取得特定使用者的詳細資料。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

傳回

名稱 路徑 類型 Description
使用者識別碼
user_id integer

使用者識別碼。

用戶名稱
username string

用戶名稱。

Email
email string

電子郵件地址。

上次活動
last_activity string

最後一次活動時。

最後一個 IP
last_ip string

最後一個 IP 位址。

地點
location string

位置。

Points
rewards.points integer

要點。

Level
rewards.level integer

水平。

Badges
rewards.badges array of integer

徽章。

總套數
lego.total_sets integer

總集數。

鬆散零件總數
lego.total_loose_parts integer

總鬆散零件。

總套裝零件
lego.total_set_parts integer

總套裝零件。

遺失的套裝零件
lego.lost_set_parts integer

丟失的佈景部分。

所有零件
lego.all_parts integer

所有零件的數目。

無花果總數
lego.total_figs integer

小人仔總數。

頭像圖片
avatar_img string

虛擬人偶影像。

取得元素

取得特定元素 ID 的詳細資料。

參數

名稱 機碼 必要 類型 Description
元素 ID
element_id True string

元素識別碼。

傳回

名稱 路徑 類型 Description
零件編號
part.part_num string

零件編號。

名稱
part.name string

名稱。

零件目錄 ID
part.part_cat_id integer

零件目錄識別碼。

年份從
part.year_from integer

從那一年開始。

年份至
part.year_to integer

這一年。

零件 URL
part.part_url string

零件 URL 位址。

零件影像 URL
part.part_img_url string

零件影像 URL 位址。

印刷品
part.prints array of string

印刷品。

模具
part.molds array of string

模具。

備用
part.alternates array of string

替代者。

磚鏈
part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
part.external_ids.BrickOwl array of string

BrickOwl 標識符。

磚組
part.external_ids.Brickset array of string

Brickset 識別碼。

LDraw
part.external_ids.LDraw array of string

LDraw 識別碼。

樂高
part.external_ids.LEGO array of string

樂高標識符。

列印
part.print_of string

的印刷品。

ID
color.id integer

識別碼。

名稱
color.name string

名稱。

RGB
color.rgb string

RGB 色彩值。

是跨性別者
color.is_trans boolean

是否透明。

外部 ID
color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
color.external_ids.BrickLink.ext_descrs array of string
外部 ID
color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
color.external_ids.LEGO.ext_descrs array of string
外部 ID
color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
color.external_ids.Peeron.ext_descrs array of string
外部 ID
color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
color.external_ids.LDraw.ext_descrs array of string
元素 ID
element_id string

元素識別碼。

設計識別碼
design_id string

設計識別碼。

元素影像URL
element_img_url string

元素影像 URL 位址。

零件影像 URL
part_img_url string

零件影像 URL 位址。

取得套裝

取得集合清單,可選擇依下列任何參數篩選。

參數

名稱 機碼 必要 類型 Description
頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

主題 ID
theme_id string

佈景主題識別碼。

最低年限
min_year number

最短年份。

最長年數
max_year number

最長年份。

最小零件
min_parts number

最小零件數。

最大零件數
max_parts number

零件數目上限。

訂購
ordering string

排序結果時要使用的欄位。

搜尋
search string

搜尋字詞。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
套裝編號
results.set_num string

設定的數字。

名稱
results.name string

名稱。

results.year integer

年。

主題 ID
results.theme_id integer

佈景主題識別碼。

編號零件
results.num_parts integer

零件數量。

設定影像網址
results.set_img_url string

設定的影像URL位址。

設定網址
results.set_url string

設定的 URL 位址。

上次修改日期
results.last_modified_dt string

上次修改日期。

取得庫存組合

取得此集中所有庫存集的清單。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

套裝編號
results.set_num string

設定的數字。

套裝名稱
results.set_name string

集合名稱。

數量
results.quantity integer

數量。

設定影像網址
results.set_img_url string

設定的影像URL位址。

取得徽章

取得所有可用徽章的清單

參數

名稱 機碼 必要 類型 Description
頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

Code
results.code string

代碼。

Level
results.level integer

水平。

名稱
results.name string

名稱。

Description
results.descr string

描述。

取得徽章詳細資料

取得特定徽章的詳細資料。

參數

名稱 機碼 必要 類型 Description
ID
id True integer

識別此徽章的唯一整數值。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

Code
code string

代碼。

Level
level integer

水平。

名稱
name string

名稱。

Description
descr string

描述。

取得色彩詳細資料

取得特定顏色的詳細資料。

參數

名稱 機碼 必要 類型 Description
ID
id True string

識別此顏色的唯一值。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

名稱
name string

名稱。

RGB
rgb string

RGB 色彩值。

是跨性別者
is_trans boolean

是否透明。

外部 ID
external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
external_ids.BrickOwl.ext_descrs array of string
外部 ID
external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
external_ids.LEGO.ext_descrs array of array

外部描述。

items
external_ids.LEGO.ext_descrs array of string
外部 ID
external_ids.Peeron.ext_ids array of object

外部識別碼。

外部描述
external_ids.Peeron.ext_descrs array of array

外部描述。

items
external_ids.Peeron.ext_descrs array of string
外部 ID
external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
external_ids.LDraw.ext_descrs array of array

外部描述。

items
external_ids.LDraw.ext_descrs array of string

取得設定庫存零件

取得此套裝中所有庫存零件的清單。 選用參數 inc_part_details=1 可用於傳回其他零件欄位,與單一零件查閱相同。選擇性參數 inc_minifig_parts=1 可用來在此呼叫中包含迷你圖零件。可選參數 inc_color_details=0 可用於防止色域擴展並減少響應大小。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

庫存零件 ID
results.inv_part_id integer

庫存零件識別碼。

零件編號
results.part.part_num string

零件編號。

名稱
results.part.name string

名稱。

零件目錄 ID
results.part.part_cat_id integer

零件目錄識別碼。

零件 URL
results.part.part_url string

零件 URL 位址。

零件影像 URL
results.part.part_img_url string

零件影像 URL 位址。

磚鏈
results.part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
results.part.external_ids.BrickOwl array of string

BrickOwl 標識符。

磚組
results.part.external_ids.Brickset array of string

Brickset 識別碼。

LDraw
results.part.external_ids.LDraw array of string

LDraw 識別碼。

樂高
results.part.external_ids.LEGO array of string

樂高標識符。

皮隆
results.part.external_ids.Peeron array of string

Peeron 識別碼。

列印
results.part.print_of string

的印刷品。

ID
results.color.id integer

識別碼。

名稱
results.color.name string

名稱。

RGB
results.color.rgb string

RGB 色彩值。

是跨性別者
results.color.is_trans boolean

是否透明。

外部 ID
results.color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickLink.ext_descrs array of string
外部 ID
results.color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
results.color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
results.color.external_ids.LEGO.ext_descrs array of string
外部 ID
results.color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
results.color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
results.color.external_ids.Peeron.ext_descrs array of string
外部 ID
results.color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
results.color.external_ids.LDraw.ext_descrs array of string
套裝編號
results.set_num string

設定的數字。

數量
results.quantity integer

數量。

備用
results.is_spare boolean

是否備用。

元素 ID
results.element_id string

元素識別碼。

編號集
results.num_sets integer

組數。

取得零件

取得零件清單。 選用參數 inc_part_details=1 可用於傳回其他欄位,與單一零件查閱相同。選用的part_nums篩選器參數應該是逗號分隔的part_num清單,不含空格。選擇性地依下列一或多個查詢參數進行篩選。

參數

名稱 機碼 必要 類型 Description
頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

零件編號
part_num string

零件編號。

零件編號
part_nums string

零件編號。

零件目錄 ID
part_cat_id string

零件目錄識別碼。

顏色 ID
color_id string

顏色識別碼。

BrickLink ID
bricklink_id string

BrickLink 識別碼。

磚貓頭鷹 ID
brickowl_id string

BrickOwl 標識符。

樂高ID
lego_id string

樂高標識符。

LDraw ID
ldraw_id string

LDraw 識別碼。

訂購
ordering string

排序結果時要使用的欄位。

搜尋
search string

搜尋字詞。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
零件編號
results.part_num string

零件編號。

名稱
results.name string

名稱。

零件目錄 ID
results.part_cat_id integer

零件目錄識別碼。

零件 URL
results.part_url string

零件 URL 位址。

零件影像 URL
results.part_img_url string

零件影像 URL 位址。

磚鏈
results.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
results.external_ids.BrickOwl array of string

BrickOwl 標識符。

磚組
results.external_ids.Brickset array of string

Brickset 識別碼。

LDraw
results.external_ids.LDraw array of string

LDraw 識別碼。

樂高
results.external_ids.LEGO array of string

樂高標識符。

列印
results.print_of string

的印刷品。

取得零件或顏色組合詳細資料

取得特定零件或顏色組合的詳細資料。

參數

名稱 機碼 必要 類型 Description
顏色 ID
color_id True string

顏色識別碼。

零件編號
part_num True string

零件編號。

傳回

名稱 路徑 類型 Description
零件影像 URL
part_img_url string

零件影像 URL 位址。

年份從
year_from integer

從那一年開始。

年份至
year_to integer

這一年。

編號集
num_sets integer

組數。

編號組零件
num_set_parts integer

設定零件的數目。

Elements
elements array of string

元素。

取得零件或顏色組合集

取得零件或顏色組合出現的所有集合的清單。

參數

名稱 機碼 必要 類型 Description
顏色 ID
color_id True string

顏色識別碼。

零件編號
part_num True string

零件編號。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
套裝編號
results.set_num string

設定的數字。

名稱
results.name string

名稱。

results.year integer

年。

主題 ID
results.theme_id integer

佈景主題識別碼。

編號零件
results.num_parts integer

零件數量。

設定影像網址
results.set_img_url string

設定的影像URL位址。

設定網址
results.set_url string

設定的 URL 位址。

上次修改日期
results.last_modified_dt string

上次修改日期。

取得零件清單

取得特定零件清單的詳細資料。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

使用者權杖
user_token True string

使用者權杖。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

可建造
is_buildable boolean

是否可建造。

名稱
name string

名稱。

編號零件
num_parts integer

零件數量。

取得零件清單

取得所有使用者零件清單的清單。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

可建造
results.is_buildable boolean

是否可建造。

名稱
results.name string

名稱。

編號零件
results.num_parts integer

零件數量。

取得零件詳細資料

取得特定零件的詳細資料。

參數

名稱 機碼 必要 類型 Description
零件編號
part_num True string

零件編號。

傳回

名稱 路徑 類型 Description
零件編號
part_num string

零件編號。

名稱
name string

名稱。

零件目錄 ID
part_cat_id integer

零件目錄識別碼。

年份從
year_from integer

從那一年開始。

年份至
year_to integer

這一年。

零件 URL
part_url string

零件 URL 位址。

零件影像 URL
part_img_url string

零件影像 URL 位址。

印刷品
prints array of string

印刷品。

模具
molds array of string

模具。

備用
alternates array of string

替代者。

磚鏈
external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
external_ids.BrickOwl array of string

BrickOwl 標識符。

磚組
external_ids.Brickset array of string

BrickSet 識別碼。

樂高
external_ids.LEGO array of string

樂高標識符。

列印
print_of string

的印刷品。

取得零件顏色

取得零件出現的所有顏色的清單。

參數

名稱 機碼 必要 類型 Description
零件編號
part_num True string

零件編號。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
顏色 ID
results.color_id integer

顏色識別碼。

顏色名稱
results.color_name string

顏色名稱。

編號集
results.num_sets integer

組數。

編號組零件
results.num_set_parts integer

設定零件的數目。

零件影像 URL
results.part_img_url string

零件影像 URL 位址。

Elements
results.elements array of string

元素。

取得零件類別

取得所有零件類別的清單。

參數

名稱 機碼 必要 類型 Description
頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

名稱
results.name string

名稱。

零件計數
results.part_count integer

零件計數。

取得零件類別詳細資料

取得特定零件類別的詳細資料。

參數

名稱 機碼 必要 類型 Description
ID
id True integer

識別此零件類別的唯一整數值。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

名稱
name string

名稱。

零件計數
part_count integer

零件計數。

取得顏色

獲取所有顏色的列表。

參數

名稱 機碼 必要 類型 Description
頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

名稱
results.name string

名稱。

RGB
results.rgb string

RGB 色彩值。

是跨性別者
results.is_trans boolean

是否透明。

外部 ID
results.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
results.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
results.external_ids.BrickOwl.ext_descrs array of string
外部 ID
results.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
results.external_ids.LEGO.ext_descrs array of array

外部描述。

items
results.external_ids.LEGO.ext_descrs array of string
外部 ID
results.external_ids.Peeron.ext_ids array of object

外部識別碼。

外部描述
results.external_ids.Peeron.ext_descrs array of array

外部描述。

items
results.external_ids.Peeron.ext_descrs array of string
外部 ID
results.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
results.external_ids.LDraw.ext_descrs array of array

外部描述。

items
results.external_ids.LDraw.ext_descrs array of string
外部 ID
results.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
results.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
results.external_ids.BrickLink.ext_descrs array of string

可在安卓獲取minifig

獲取特定小人仔的詳細信息。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

傳回

名稱 路徑 類型 Description
套裝編號
set_num string

設定的數字。

名稱
name string

名稱。

編號零件
num_parts integer

零件數量。

設定影像網址
set_img_url string

設定的影像URL位址。

設定網址
set_url string

設定的 URL 位址。

上次修改日期
last_modified_dt string

上次修改日期。

在所有清單中取得零件

取得所有使用者零件清單中所有零件的清單。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

零件編號
part_num string

零件編號。

零件目錄 ID
part_cat_id number

零件目錄識別碼。

顏色 ID
color_id number

顏色識別碼。

訂購
ordering string

排序結果時要使用的欄位。

搜尋
search string

搜尋字詞。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
清單識別碼
results.list_id integer

清單識別碼。

數量
results.quantity integer

數量。

零件編號
results.part.part_num string

零件編號。

名稱
results.part.name string

名稱。

零件目錄 ID
results.part.part_cat_id integer

零件目錄識別碼。

零件 URL
results.part.part_url string

零件 URL 位址。

零件影像 URL
results.part.part_img_url string

零件影像 URL 位址。

磚鏈
results.part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
results.part.external_ids.BrickOwl array of string

BrickOwl 標識符。

LDraw
results.part.external_ids.LDraw array of string

LDraw 識別碼。

磚組
results.part.external_ids.Brickset array of string

Brickset 識別碼。

樂高
results.part.external_ids.LEGO array of string

樂高標識符。

列印
results.part.print_of string

的印刷品。

ID
results.color.id integer

識別碼。

名稱
results.color.name string

名稱。

RGB
results.color.rgb string

RGB 色彩值。

是跨性別者
results.color.is_trans boolean

是否透明。

外部 ID
results.color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickLink.ext_descrs array of string
外部 ID
results.color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
results.color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
results.color.external_ids.LEGO.ext_descrs array of string
外部 ID
results.color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
results.color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
results.color.external_ids.Peeron.ext_descrs array of string
外部 ID
results.color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
results.color.external_ids.LDraw.ext_descrs array of string

在歌單中設置

在專輯列表中獲取特定專輯的詳細信息。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

套裝編號
set_num True string

設定的數字。

使用者權杖
user_token True string

使用者權杖。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
清單識別碼
list_id integer

清單識別碼。

數量
quantity integer

數量。

包括備件
include_spares boolean

是否包括備件。

套裝編號
set.set_num string

設定的數字。

名稱
set.name string

名稱。

set.year integer

年。

主題 ID
set.theme_id integer

佈景主題識別碼。

編號零件
set.num_parts integer

零件數量。

設定影像網址
set.set_img_url string

設定的影像URL位址。

設定網址
set.set_url string

設定的 URL 位址。

上次修改日期
set.last_modified_dt string

上次修改日期。

在清單中取得零件

取得特定零件清單中所有零件的清單。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
清單識別碼
results.list_id integer

清單識別碼。

數量
results.quantity integer

數量。

零件編號
results.part.part_num string

零件編號。

名稱
results.part.name string

名稱。

零件目錄 ID
results.part.part_cat_id integer

零件目錄識別碼。

零件 URL
results.part.part_url string

零件 URL 位址。

零件影像 URL
results.part.part_img_url string

零件影像 URL 位址。

磚鏈
results.part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
results.part.external_ids.BrickOwl array of string

BrickOwl 標識符。

LDraw
results.part.external_ids.LDraw array of string

LDraw 識別碼。

列印
results.part.print_of string

的印刷品。

ID
results.color.id integer

識別碼。

名稱
results.color.name string

名稱。

RGB
results.color.rgb string

RGB 色彩值。

是跨性別者
results.color.is_trans boolean

是否透明。

外部 ID
results.color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickLink.ext_descrs array of string
外部 ID
results.color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
results.color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
results.color.external_ids.LEGO.ext_descrs array of string
外部 ID
results.color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
results.color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
results.color.external_ids.Peeron.ext_descrs array of string
外部 ID
results.color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
results.color.external_ids.LDraw.ext_descrs array of string

在集合列表中獲取集合

獲取特定集合列表中所有集合的列表。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
清單識別碼
results.list_id integer

清單識別碼。

數量
results.quantity integer

數量。

包括備件
results.include_spares boolean

是否包括備件。

套裝編號
results.set.set_num string

設定的數字。

名稱
results.set.name string

名稱。

results.set.year integer

年。

主題 ID
results.set.theme_id integer

佈景主題識別碼。

零件數量
results.set.num_parts integer

零件數量。

設定影像網址
results.set.set_img_url string

設定的影像URL位址。

設定網址
results.set.set_url string

設定的 URL 位址。

上次修改日期
results.set.last_modified_dt string

上次修改日期。

尋找所需的套裝零件

找出使用者需要多少個零件來建立指定的集合。 用戶的默認拼砌設置將用於計算拼砌匹配 % 使用他們的樂高套裝和零件系列。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

使用者權杖
user_token True string

使用者權杖。

傳回

名稱 路徑 類型 Description
User
user integer

使用者。

庫存
inventory integer

庫存。

使用者清單
user_list string

使用者清單。

擁有百分比
pct_owned float

擁有的百分比。

缺少號碼
num_missing integer

遺漏的片段數目。

忽略的數字
num_ignored integer

這個數字被忽略了。

擁有的號碼較少被忽略
num_owned_less_ignored integer

擁有的數字較少被忽視。

總零件數
total_parts integer

總零件。

較少忽略的零件總數
total_parts_less_ignored integer

總部分較少被忽視。

忽略列印
build_options.ignore_print boolean

是否忽略列印。

忽略黴菌
build_options.ignore_mold boolean

是否忽略黴菌。

忽略 Altp
build_options.ignore_altp boolean

是否忽略 altp。

忽略小人仔
build_options.ignore_minifigs boolean

是否忽略小人仔。

ignore_non_lego
build_options.ignore_non_lego boolean

是否忽略非樂高。

排序依據:
build_options.sort_by integer

排序方式。

顏色
build_options.color integer

色彩。

Theme
build_options.theme string

主題。

最小零件
build_options.min_parts integer

最小零件數。

最大零件數
build_options.max_parts integer

零件數目上限。

最低年限
build_options.min_year integer

最短年份。

最長年數
build_options.max_year integer

最長年份。

添加日期前
build_options.added_days_ago integer

之前新增的天數。

包括官方
build_options.inc_official boolean

是否包括官方。

包含自訂
build_options.inc_custom boolean

是否包含自訂。

包括 B 型
build_options.inc_bmodels boolean

是否包括 B 模型。

包括配件
build_options.inc_accessory boolean

是否包含配件。

包括保費
build_options.inc_premium boolean

是否包含保費。

包括替代
build_options.inc_alts boolean

是否包含替代項目。

包括擁有
build_options.inc_owned boolean

是否包含擁有。

從清單中刪除零件

從零件清單中刪除零件。

參數

名稱 機碼 必要 類型 Description
顏色 ID
color_id True string

顏色識別碼。

清單識別碼
list_id True string

清單識別碼。

零件編號
part_num True string

零件編號。

使用者權杖
user_token True string

使用者權杖。

訂購
ordering string

排序結果時要使用的欄位。

從集合列表中刪除集合

從集合清單中刪除集合。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

套裝編號
set_num True string

設定的數字。

使用者權杖
user_token True string

使用者權杖。

訂購
ordering string

排序結果時要使用的欄位。

新增遺失的零件

將一或多個遺失的零件新增至使用者的清單。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

遺失數量
lost_quantity integer

損失的數量。

庫存零件 ID
inv_part_id True integer

庫存零件識別碼。

傳回

名稱 路徑 類型 Description
遺失的零件 ID
lost_part_id integer

遺失的零件識別碼。

遺失數量
lost_quantity integer

損失的數量。

ID
inv_part.id integer

識別碼。

庫存零件 ID
inv_part.inv_part_id integer

庫存零件識別碼。

零件編號
inv_part.part.part_num string

零件編號。

名稱
inv_part.part.name string

名稱。

零件目錄 ID
inv_part.part.part_cat_id integer

零件目錄識別碼。

零件 URL
inv_part.part.part_url string

零件 URL 位址。

零件影像 URL
inv_part.part.part_img_url string

零件影像 URL 位址。

磚鏈
inv_part.part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
inv_part.part.external_ids.BrickOwl array of string

BrickOwl 標識符。

LDraw
inv_part.part.external_ids.LDraw array of string

LDraw 識別碼。

列印
inv_part.part.print_of string

的印刷品。

ID
inv_part.color.id integer

識別碼。

名稱
inv_part.color.name string

名稱。

RGB
inv_part.color.rgb string

RGB 色彩值。

是跨性別者
inv_part.color.is_trans boolean

是否透明。

外部 ID
inv_part.color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
inv_part.color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
inv_part.color.external_ids.BrickLink.ext_descrs array of string
外部 ID
inv_part.color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
inv_part.color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
inv_part.color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
inv_part.color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
inv_part.color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
inv_part.color.external_ids.LEGO.ext_descrs array of string
外部 ID
inv_part.color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
inv_part.color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
inv_part.color.external_ids.Peeron.ext_descrs array of string
外部 ID
inv_part.color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
inv_part.color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
inv_part.color.external_ids.LDraw.ext_descrs array of string
套裝編號
inv_part.set_num string

設定的數字。

數量
inv_part.quantity integer

數量。

備用
inv_part.is_spare boolean

是否備用。

元素 ID
inv_part.element_id string

元素識別碼。

套數
inv_part.num_sets integer

組數。

更新集清單

更新現有曲目列表的詳細信息。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

清單識別碼
list_id True string

清單識別碼

可建造
is_buildable boolean

是否可建造。

名稱
name string

名稱。

編號集
num_sets integer

組數。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

可建造
is_buildable boolean

是否可建造。

名稱
name string

名稱。

編號集
num_sets integer

組數。

獲取丟失的零件

從用戶的樂高收藏中獲取所有丟失部件的列表。 或者,依下列一或多個查詢參數進行篩選。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
遺失的零件 ID
results.lost_part_id integer

遺失的零件識別碼。

遺失數量
results.lost_quantity integer

損失的數量。

ID
results.inv_part.id integer

識別碼。

庫存零件 ID
results.inv_part.inv_part_id integer

庫存零件識別碼。

零件編號
results.inv_part.part.part_num string

零件編號。

名稱
results.inv_part.part.name string

名稱。

零件目錄 ID
results.inv_part.part.part_cat_id integer

零件目錄識別碼。

零件 URL
results.inv_part.part.part_url string

零件 URL 位址。

零件影像 URL
results.inv_part.part.part_img_url string

零件影像 URL 位址。

磚鏈
results.inv_part.part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
results.inv_part.part.external_ids.BrickOwl array of string

BrickOwl 標識符。

磚組
results.inv_part.part.external_ids.Brickset array of string

BrickSet 識別碼。

LDraw
results.inv_part.part.external_ids.LDraw array of string

LDraw 識別碼。

樂高
results.inv_part.part.external_ids.LEGO array of string

樂高標識符。

列印
results.inv_part.part.print_of string

的印刷品。

ID
results.inv_part.color.id integer

識別碼。

名稱
results.inv_part.color.name string

名稱。

RGB
results.inv_part.color.rgb string

RGB 色彩值。

是跨性別者
results.inv_part.color.is_trans boolean

是否透明。

外部 ID
results.inv_part.color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
results.inv_part.color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
results.inv_part.color.external_ids.BrickLink.ext_descrs array of string
外部 ID
results.inv_part.color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
results.inv_part.color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
results.inv_part.color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
results.inv_part.color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
results.inv_part.color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
results.inv_part.color.external_ids.LEGO.ext_descrs array of string
外部 ID
results.inv_part.color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
results.inv_part.color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
results.inv_part.color.external_ids.Peeron.ext_descrs array of string
外部 ID
results.inv_part.color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
results.inv_part.color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
results.inv_part.color.external_ids.LDraw.ext_descrs array of string
套裝編號
results.inv_part.set_num string

設定的數字。

數量
results.inv_part.quantity integer

數量。

備用
results.inv_part.is_spare boolean

是否備用。

元素 ID
results.inv_part.element_id string

元素識別碼。

套數
results.inv_part.num_sets integer

組數。

獲取套裝小人仔

獲取此套裝中所有庫存小人仔的列表。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

套裝編號
results.set_num string

設定的數字。

套裝名稱
results.set_name string

集合名稱。

數量
results.quantity integer

數量。

設定影像網址
results.set_img_url string

設定的影像URL位址。

獲取套裝詳情

取得特定集合的詳細資料。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

傳回

名稱 路徑 類型 Description
套裝編號
set_num string

設定的數字。

名稱
name string

名稱。

year integer

年。

主題 ID
theme_id integer

佈景主題識別碼。

編號零件
num_parts integer

零件數量。

設定影像網址
set_img_url string

設定的影像URL位址。

設定網址
set_url string

設定的 URL 位址。

上次修改日期
last_modified_dt string

上次修改日期。

獲取小人仔

獲取小人仔列表。

參數

名稱 機碼 必要 類型 Description
頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

最小零件
min_parts number

最小零件數。

最大零件數
max_parts number

零件數目上限。

在集合編號中
in_set_num string

在集合的數字。

在佈景主題 ID 中
in_theme_id string

in 主題識別碼。

訂購
ordering string

排序結果時要使用的欄位。

搜尋
search string

搜尋字詞。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
套裝編號
results.set_num string

設定的數字。

名稱
results.name string

名稱。

編號零件
results.num_parts integer

零件數量。

設定影像網址
results.set_img_url string

設定的影像URL位址。

設定網址
results.set_url string

設定的 URL 位址。

上次修改日期
results.last_modified_dt string

上次修改日期。

獲取小人仔

獲取所有用戶集合中所有小人仔的列表。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

小人仔套裝編號
fig_set_num string

小人仔的套數。

訂購
ordering string

排序結果時要使用的欄位。

搜尋
search string

搜尋字詞。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
數量
results.quantity integer

數量。

套裝編號
results.minifig.set_num string

設定的數字。

名稱
results.minifig.name string

名稱。

零件數量
results.minifig.num_parts integer

零件數量。

設定影像網址
results.minifig.set_img_url string

設定的影像URL位址。

設定網址
results.minifig.set_url string

設定的 URL 位址。

上次修改日期
results.minifig.last_modified_dt string

上次修改日期。

獲取小人仔的套裝

獲取小人仔出現過的套裝列表。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

訂購
ordering string

排序結果時要使用的欄位。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
套裝編號
results.set_num string

設定的數字。

名稱
results.name string

名稱。

編號零件
results.num_parts integer

零件數量。

設定影像網址
results.set_img_url string

設定的影像URL位址。

設定網址
results.set_url string

設定的 URL 位址。

上次修改日期
results.last_modified_dt string

上次修改日期。

獲取小人仔零件

獲取此小人仔中所有庫存零件的列表。 選用參數 inc_part_details=1 可用於傳回其他零件欄位,與單一零件查閱相同。

參數

名稱 機碼 必要 類型 Description
套裝編號
set_num True string

設定的數字。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
ID
results.id integer

識別碼。

庫存零件 ID
results.inv_part_id integer

庫存零件識別碼。

零件編號
results.part.part_num string

零件編號。

名稱
results.part.name string

名稱。

零件目錄 ID
results.part.part_cat_id integer

零件目錄識別碼。

零件 URL
results.part.part_url string

零件 URL 位址。

零件影像 URL
results.part.part_img_url string

零件影像 URL 位址。

磚鏈
results.part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
results.part.external_ids.BrickOwl array of string

BrickOwl 標識符。

磚組
results.part.external_ids.Brickset array of string

Brickset 識別碼。

LDraw
results.part.external_ids.LDraw array of string

LDRAW 識別碼。

樂高
results.part.external_ids.LEGO array of string

樂高標識符。

皮隆
results.part.external_ids.Peeron array of string

Peeron 識別碼。

列印
results.part.print_of string

的印刷品。

ID
results.color.id integer

識別碼。

名稱
results.color.name string

名稱。

RGB
results.color.rgb string

RGB 色彩值。

是跨性別者
results.color.is_trans boolean

是否透明。

外部 ID
results.color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickLink.ext_descrs array of string
外部 ID
results.color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
results.color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
results.color.external_ids.LEGO.ext_descrs array of string
外部 ID
results.color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
results.color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
results.color.external_ids.Peeron.ext_descrs array of string
外部 ID
results.color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
results.color.external_ids.LDraw.ext_descrs array of string
套裝編號
results.set_num string

設定的數字。

數量
results.quantity integer

數量。

備用
results.is_spare boolean

是否備用。

元素 ID
results.element_id string

元素識別碼。

編號集
results.num_sets integer

組數。

獲取所有套裝收藏

獲取用戶樂高收藏中所有套裝的列表。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

套裝編號
set_num string

設定的數字。

主題 ID
theme_id number

佈景主題識別碼。

最低年限
min_year number

最短年份。

最長年數
max_year number

最長年份。

最小零件
min_parts number

最小零件數。

最大零件數
max_parts number

零件數目上限。

訂購
ordering string

排序結果時要使用的欄位。

搜尋
search string

搜尋字詞。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
清單識別碼
results.list_id integer

清單識別碼。

數量
results.quantity integer

數量。

包括備件
results.include_spares boolean

是否包括備件。

套裝編號
results.set.set_num string

設定的數字。

名稱
results.set.name string

名稱。

results.set.year integer

年。

主題 ID
results.set.theme_id integer

佈景主題識別碼。

零件數量
results.set.num_parts integer

零件數量。

設定影像網址
results.set.set_img_url string

設定的影像URL位址。

設定網址
results.set.set_url string

設定的 URL 位址。

上次修改日期
results.set.last_modified_dt string

上次修改日期。

獲取歌單

獲取有關特定曲目列表的詳細信息。

參數

名稱 機碼 必要 類型 Description
清單識別碼
list_id True string

清單識別碼。

使用者權杖
user_token True string

使用者權杖。

傳回

名稱 路徑 類型 Description
ID
id integer

識別碼。

可建造
is_buildable boolean

是否可建造。

名稱
name string

名稱。

編號集
num_sets integer

組數。

獲取用戶零件

取得所有使用者零件清單中所有零件的清單。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

頁面
page integer

編頁結果集中的頁碼。

頁面大小
page_size integer

每頁要傳回的結果數。

零件編號
part_num string

零件編號。

零件目錄 ID
part_cat_id number

零件目錄識別碼。

顏色 ID
color_id number

顏色識別碼。

傳回

名稱 路徑 類型 Description
Count
count integer

回應計數。

Next
next string

下一頁的回應。

上一個
previous string

上一頁的回應。

Results
results array of object
數量
results.quantity integer

數量。

零件編號
results.part.part_num string

零件編號。

名稱
results.part.name string

名稱。

零件目錄 ID
results.part.part_cat_id integer

零件目錄識別碼。

零件 URL
results.part.part_url string

零件 URL 位址。

零件影像 URL
results.part.part_img_url string

零件影像 URL 位址。

磚鏈
results.part.external_ids.BrickLink array of string

BrickLink 識別碼。

磚頭貓頭鷹
results.part.external_ids.BrickOwl array of string

BrickOwl 標識符。

LDraw
results.part.external_ids.LDraw array of string

LDraw 識別碼。

列印
results.part.print_of string

的印刷品。

ID
results.color.id integer

識別碼。

名稱
results.color.name string

名稱。

RGB
results.color.rgb string

RGB 色彩值。

是跨性別者
results.color.is_trans string

是否透明。

外部 ID
results.color.external_ids.BrickLink.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickLink.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickLink.ext_descrs array of string
外部 ID
results.color.external_ids.BrickOwl.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.BrickOwl.ext_descrs array of array

外部描述。

items
results.color.external_ids.BrickOwl.ext_descrs array of string
外部 ID
results.color.external_ids.LEGO.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LEGO.ext_descrs array of array

外部描述。

items
results.color.external_ids.LEGO.ext_descrs array of string
外部 ID
results.color.external_ids.Peeron.ext_ids array of string

外部識別碼。

外部描述
results.color.external_ids.Peeron.ext_descrs array of array

外部描述。

items
results.color.external_ids.Peeron.ext_descrs array of string
外部 ID
results.color.external_ids.LDraw.ext_ids array of integer

外部識別碼。

外部描述
results.color.external_ids.LDraw.ext_descrs array of array

外部描述。

items
results.color.external_ids.LDraw.ext_descrs array of string

產生使用者權杖

產生使用者權杖,以用於在後續呼叫中授權使用者帳戶動作。 使用者名稱可以是實際使用者名稱或使用者的電子郵件地址。

參數

名稱 機碼 必要 類型 Description
body
body string

您的用戶名和密碼以字符串形式顯示,例如 username=YourUsername&password=YourPassword。

傳回

名稱 路徑 類型 Description
使用者權杖
user_token string

使用者權杖。

移除遺失的零件

從使用者中移除遺失的零件。

參數

名稱 機碼 必要 類型 Description
使用者權杖
user_token True string

使用者權杖。

ID
id True string

識別碼。

訂購
ordering string

排序結果時要使用的欄位。