Project

General

Profile

CategoryMethod » History » Version 3

Seulki Lee, 02/03/2014 03:01 AM

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 3 Seulki Lee
h2. Example
28 3 Seulki Lee
29 3 Seulki Lee
* GET /categories
30 3 Seulki Lee
** Retrieves a list of categories defined within BrickLink catalog
31 3 Seulki Lee
32 1 Seulki Lee
----
33 1 Seulki Lee
34 1 Seulki Lee
h1. Get Category
35 1 Seulki Lee
36 1 Seulki Lee
This method retrieves information about a specific category.
37 1 Seulki Lee
38 1 Seulki Lee
h2. Request
39 1 Seulki Lee
40 1 Seulki Lee
|_. Method |_. URI |
41 1 Seulki Lee
| GET | /categories/{category_id} |
42 1 Seulki Lee
43 1 Seulki Lee
h3. * Parameters
44 1 Seulki Lee
45 1 Seulki Lee
|_. Parameter Name |_. Value |_. Optional |_. Description |
46 1 Seulki Lee
| category_id | Integer | N| The ID of the category to get |
47 1 Seulki Lee
48 1 Seulki Lee
h3. * Request body
49 1 Seulki Lee
50 1 Seulki Lee
Do not supply a request body with this method.
51 1 Seulki Lee
 
52 1 Seulki Lee
53 1 Seulki Lee
h2. Response
54 1 Seulki Lee
55 1 Seulki Lee
If successful, this method returns [[CategoryResource#Category|category resource]] as "data" in the response body.
56 1 Seulki Lee
57 1 Seulki Lee
----
Add picture from clipboard (Maximum size: 24.4 MB)