Project

General

Profile

CategoryMethod » History » Version 1

Version 1/4 - Next » - Current version
Seulki Lee, 12/09/2013 08:46 AM


Category


Get Category List

This method retrieves a list of the categories defined within BrickLink catalog.

Request

Method URI
GET /categories

* Parameters

Do not supply a request parameter with this method.

* Request body

Do not supply a request body with this method.
 

Response

If successful, this method returns a list of category resource as "data" in the response body.


Get Category

This method retrieves information about a specific category.

Request

Method URI
GET /categories/{category_id}

* Parameters

Parameter Name Value Optional Description
category_id Integer N The ID of the category to get

* Request body

Do not supply a request body with this method.
 

Response

If successful, this method returns category resource as "data" in the response body.


Get Category Items

This method retrieves a list of the items in the specified category and type

Request

Method URI
GET /categories/{category_id}/items/{type}

* Parameters

Parameter Name Value Optional Description
category_id Integer N The ID of the category
type String N The type of the item. Acceptable values are:
MINIFIG, PART, SET, BOOK, GEAR, CATALOG, INSTRUCTION, UNSORTED_LOT, ORIGINAL_BOX

* Request body

Do not supply a request body with this method.
 

Response

If successful, this method returns a list of catalog items as "data" in the response body.


Add picture from clipboard (Maximum size: 24.4 MB)