GET V2/CMS/GetContentsByCatKey?key={key}&page={page}&pageSize={pageSize}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| page | integer |
Required |
|
| pageSize | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PageDataOfCMSContentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalPage | integer |
None. |
|
| TotalRecord | integer |
None. |
|
| Data | Collection of CMSContentInfo |
None. |
|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| Offset | integer |
None. |
|
| SortName | string |
None. |
|
| SortOrder | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalPage": 1,
"TotalRecord": 1,
"Data": [
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "f8110c16-7dd4-4105-a999-a7e6e479b6aa",
"Desc": "sample string 5",
"DescTransId": "46d996b4-dc87-432f-b107-e5bf01d42f07",
"Body": "sample string 7",
"ContentTransId": "0e4f9e63-5ce2-4143-9912-5fe1a64f848b",
"MContentTransId": "91fe6a2b-b17a-46d2-8d61-55eed998dec4",
"Title": "sample string 10",
"TitleTransId": "d106b719-9899-4f98-acac-b7f5626d3698",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-08-17 11:58:18",
"UpdateDateVal": "2026-08-17 11:58:18",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "b73559c4-8b66-40ca-9ba6-2e2dedc93e69",
"Url": "sample string 17",
"UrlTransId": "03840726-3f10-43f5-b36e-44ae4f655623",
"Category": {
"Id": 1,
"Name": "sample string 2",
"ParentId": 3,
"Path": "sample string 4",
"CatPaths": [
{
"CatId": "sample string 1",
"PathName": "sample string 2"
},
{
"CatId": "sample string 1",
"PathName": "sample string 2"
}
]
},
"SeoKeyword": "sample string 19",
"SeoKeyTransId": "1e860847-752f-4368-93a6-f631e81557ba",
"SeoDesc": "sample string 21",
"SeoDescTransId": "70b9bc00-66d2-4349-adc6-ba8689ce3987",
"Status": 23,
"CmsControl": [
{
"ControlId": "sample string 1",
"ControlCode": "sample string 2",
"ControlName": "sample string 3",
"ControlValue": "sample string 4",
"ControlImageLis": [
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
},
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
},
{
"ControlId": "sample string 1",
"ControlCode": "sample string 2",
"ControlName": "sample string 3",
"ControlValue": "sample string 4",
"ControlImageLis": [
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
},
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-08-17 11:58:18",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "5271a67a-5364-443f-b178-7e99216c7740",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31"
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "f8110c16-7dd4-4105-a999-a7e6e479b6aa",
"Desc": "sample string 5",
"DescTransId": "46d996b4-dc87-432f-b107-e5bf01d42f07",
"Body": "sample string 7",
"ContentTransId": "0e4f9e63-5ce2-4143-9912-5fe1a64f848b",
"MContentTransId": "91fe6a2b-b17a-46d2-8d61-55eed998dec4",
"Title": "sample string 10",
"TitleTransId": "d106b719-9899-4f98-acac-b7f5626d3698",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-08-17 11:58:18",
"UpdateDateVal": "2026-08-17 11:58:18",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "b73559c4-8b66-40ca-9ba6-2e2dedc93e69",
"Url": "sample string 17",
"UrlTransId": "03840726-3f10-43f5-b36e-44ae4f655623",
"Category": {
"Id": 1,
"Name": "sample string 2",
"ParentId": 3,
"Path": "sample string 4",
"CatPaths": [
{
"CatId": "sample string 1",
"PathName": "sample string 2"
},
{
"CatId": "sample string 1",
"PathName": "sample string 2"
}
]
},
"SeoKeyword": "sample string 19",
"SeoKeyTransId": "1e860847-752f-4368-93a6-f631e81557ba",
"SeoDesc": "sample string 21",
"SeoDescTransId": "70b9bc00-66d2-4349-adc6-ba8689ce3987",
"Status": 23,
"CmsControl": [
{
"ControlId": "sample string 1",
"ControlCode": "sample string 2",
"ControlName": "sample string 3",
"ControlValue": "sample string 4",
"ControlImageLis": [
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
},
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
},
{
"ControlId": "sample string 1",
"ControlCode": "sample string 2",
"ControlName": "sample string 3",
"ControlValue": "sample string 4",
"ControlImageLis": [
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
},
{
"Id": 1,
"ContentId": 2,
"SmallImagePath": "sample string 3",
"BigImagePath": "sample string 4",
"Lang": "sample string 5",
"IsDetele": true,
"CreateDate": "2026-08-17 11:58:18",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-08-17 11:58:18",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "5271a67a-5364-443f-b178-7e99216c7740",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31"
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}