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": "11b27a52-b149-4003-8e04-f0e35afc4684",
"Desc": "sample string 5",
"DescTransId": "0b938ec0-3d50-4cf7-b77a-b0c4efc00582",
"Body": "sample string 7",
"ContentTransId": "c59628f3-9866-4725-984a-8cdecab13337",
"MContentTransId": "7861dd0e-91b9-453a-8dcc-7617b51a9d49",
"Title": "sample string 10",
"TitleTransId": "9d924f1d-de7d-4aa6-be97-6404d8eed731",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-04-15 15:29:48",
"UpdateDateVal": "2026-04-15 15:29:48",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "07a0cec2-7325-48e4-89f1-eef35495275d",
"Url": "sample string 17",
"UrlTransId": "1020543f-553c-4267-b1c7-d02e41b4c9c7",
"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": "aef0b53a-948c-4205-9666-8f0be7b9229a",
"SeoDesc": "sample string 21",
"SeoDescTransId": "3a94e145-402a-4b1d-af3d-e400465846f3",
"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-04-15 15:29:48",
"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-04-15 15:29:48",
"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-04-15 15:29:48",
"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-04-15 15:29:48",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-04-15 15:29:48",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "2771d7d3-ed2e-4402-b3ee-86692219b3bc",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31",
"PreviousId": "sample string 32",
"NextId": "sample string 33",
"Seq": 1
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "11b27a52-b149-4003-8e04-f0e35afc4684",
"Desc": "sample string 5",
"DescTransId": "0b938ec0-3d50-4cf7-b77a-b0c4efc00582",
"Body": "sample string 7",
"ContentTransId": "c59628f3-9866-4725-984a-8cdecab13337",
"MContentTransId": "7861dd0e-91b9-453a-8dcc-7617b51a9d49",
"Title": "sample string 10",
"TitleTransId": "9d924f1d-de7d-4aa6-be97-6404d8eed731",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-04-15 15:29:48",
"UpdateDateVal": "2026-04-15 15:29:48",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "07a0cec2-7325-48e4-89f1-eef35495275d",
"Url": "sample string 17",
"UrlTransId": "1020543f-553c-4267-b1c7-d02e41b4c9c7",
"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": "aef0b53a-948c-4205-9666-8f0be7b9229a",
"SeoDesc": "sample string 21",
"SeoDescTransId": "3a94e145-402a-4b1d-af3d-e400465846f3",
"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-04-15 15:29:48",
"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-04-15 15:29:48",
"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-04-15 15:29:48",
"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-04-15 15:29:48",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-04-15 15:29:48",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "2771d7d3-ed2e-4402-b3ee-86692219b3bc",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31",
"PreviousId": "sample string 32",
"NextId": "sample string 33",
"Seq": 1
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}