Type
|
List
|
List
|
Pages
|
URL
|
http://{domain}/api/v2/pages.json
|
Accepts Filters
|
Yes
|
Output Attributes
|
No
|
List Pages
Gets the filtered list of Pages. Allows the retrieval of a list containing id, name, display_name, page_template and status of Lead Commerce Pages. Note: Only content type pages are accessible.
Filters
Filter the Pages into a list.
Parameter
|
Type
|
Rules
|
Example
|
status
|
int
|
0,1 or 2
|
1
|
name
|
string
|
Page Name
|
BP Page
|
modify_start
|
date
|
|
1431377356
|
modify_end
|
date
|
|
1431377356
|
Pagination
Parameters can be added to the CURL call to paginate the List.
The maximum limit is 250. By default, this limit is set to 100.
Parameter
|
Type
|
Default
|
Example
|
limit
|
int
|
1
|
2
|
page
|
int
|
1
|
5
|
Response
Example JSON returned
{
"code": "200",
"data": [
{
"id": "23",
"name": "My First Blog Post",
"display_name": "My First Blog Post",
"page_template": "5",
"status": "1"
},
{
"id": "22",
"name": "Privacy Policy",
"display_name": "Privacy Policy",
"page_template": "4",
"status": "1"
},
{
"id": "21",
"name": "Terms and Conditions",
"display_name": "Terms and Conditions",
"page_template": "4",
"status": "1"
},
{
"id": "20",
"name": "About Us",
"display_name": "About Us",
"page_template": "4",
"status": "1"
}
]
}