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": "915368ff-0cd2-4b62-82a5-3c8b1890eabe",
"Desc": "sample string 5",
"DescTransId": "46180a70-ed18-43dc-8724-6343148296a9",
"Body": "sample string 7",
"ContentTransId": "dccdbe03-d995-450c-8cfe-870dca73fea5",
"MContentTransId": "405859dd-fb8b-4fed-8af0-c606ea06f3c6",
"Title": "sample string 10",
"TitleTransId": "908a3df5-487c-4fea-8ceb-453f0e67a71f",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-03-14 16:15:11",
"UpdateDateVal": "2026-03-14 16:15:11",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "a7d4026c-b068-4ee5-90b8-1ec297b29385",
"Url": "sample string 17",
"UrlTransId": "5c0cd0ac-3e01-4b26-93b6-7a673d02aaec",
"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": "0f55b4e8-c89c-4ae6-83c8-ef6f08a7baf9",
"SeoDesc": "sample string 21",
"SeoDescTransId": "9b3d5fd4-97c0-4cc9-8f93-327e1ae2da84",
"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-03-14 16:15:11",
"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-03-14 16:15:11",
"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-03-14 16:15:11",
"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-03-14 16:15:11",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-03-14 16:15:11",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "b04d4030-278d-42f5-a632-af8970e21f54",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31",
"PreviousId": "sample string 32",
"NextId": "sample string 33"
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "915368ff-0cd2-4b62-82a5-3c8b1890eabe",
"Desc": "sample string 5",
"DescTransId": "46180a70-ed18-43dc-8724-6343148296a9",
"Body": "sample string 7",
"ContentTransId": "dccdbe03-d995-450c-8cfe-870dca73fea5",
"MContentTransId": "405859dd-fb8b-4fed-8af0-c606ea06f3c6",
"Title": "sample string 10",
"TitleTransId": "908a3df5-487c-4fea-8ceb-453f0e67a71f",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-03-14 16:15:11",
"UpdateDateVal": "2026-03-14 16:15:11",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "a7d4026c-b068-4ee5-90b8-1ec297b29385",
"Url": "sample string 17",
"UrlTransId": "5c0cd0ac-3e01-4b26-93b6-7a673d02aaec",
"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": "0f55b4e8-c89c-4ae6-83c8-ef6f08a7baf9",
"SeoDesc": "sample string 21",
"SeoDescTransId": "9b3d5fd4-97c0-4cc9-8f93-327e1ae2da84",
"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-03-14 16:15:11",
"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-03-14 16:15:11",
"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-03-14 16:15:11",
"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-03-14 16:15:11",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-03-14 16:15:11",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "b04d4030-278d-42f5-a632-af8970e21f54",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31",
"PreviousId": "sample string 32",
"NextId": "sample string 33"
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}