Project

General

Profile

CategoryMethod » History » Version 2

Seulki Lee, 01/02/2014 12:30 PM

1 1 Seulki Lee
h1. Category
2 1 Seulki Lee
3 1 Seulki Lee
----
4 1 Seulki Lee
5 1 Seulki Lee
h1. Get Category List
6 1 Seulki Lee
7 1 Seulki Lee
This method retrieves a list of the categories defined within BrickLink catalog.
8 1 Seulki Lee
9 1 Seulki Lee
h2. Request
10 1 Seulki Lee
11 1 Seulki Lee
|_. Method |_. URI |
12 1 Seulki Lee
| GET | /categories |
13 1 Seulki Lee
14 1 Seulki Lee
h3. * Parameters
15 1 Seulki Lee
16 1 Seulki Lee
Do not supply a request parameter with this method.
17 1 Seulki Lee
18 1 Seulki Lee
h3. * Request body
19 1 Seulki Lee
20 1 Seulki Lee
Do not supply a request body with this method.
21 1 Seulki Lee
 
22 1 Seulki Lee
23 1 Seulki Lee
h2. Response
24 1 Seulki Lee
25 1 Seulki Lee
If successful, this method returns a list of [[CategoryResource#Category|category resource]] as "data" in the response body.
26 1 Seulki Lee
27 1 Seulki Lee
----
28 1 Seulki Lee
29 1 Seulki Lee
h1. Get Category
30 1 Seulki Lee
31 1 Seulki Lee
This method retrieves information about a specific category.
32 1 Seulki Lee
33 1 Seulki Lee
h2. Request
34 1 Seulki Lee
35 1 Seulki Lee
|_. Method |_. URI |
36 1 Seulki Lee
| GET | /categories/{category_id} |
37 1 Seulki Lee
38 1 Seulki Lee
h3. * Parameters
39 1 Seulki Lee
40 1 Seulki Lee
|_. Parameter Name |_. Value |_. Optional |_. Description |
41 1 Seulki Lee
| category_id | Integer | N| The ID of the category to get |
42 1 Seulki Lee
43 1 Seulki Lee
h3. * Request body
44 1 Seulki Lee
45 1 Seulki Lee
Do not supply a request body with this method.
46 1 Seulki Lee
 
47 1 Seulki Lee
48 1 Seulki Lee
h2. Response
49 1 Seulki Lee
50 1 Seulki Lee
If successful, this method returns [[CategoryResource#Category|category resource]] as "data" in the response body.
51 1 Seulki Lee
52 1 Seulki Lee
----
Add picture from clipboard (Maximum size: 24.4 MB)