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": "1a56d058-527e-479c-9804-05dbf1c92a9b",
"Desc": "sample string 5",
"DescTransId": "008e5541-b5d1-4180-a733-823c50145757",
"Body": "sample string 7",
"ContentTransId": "a7882070-6754-408a-be6a-0c2b944a5fd2",
"MContentTransId": "230a3403-dc6a-4f89-a5df-e178f7552e0a",
"Title": "sample string 10",
"TitleTransId": "85b4fff7-282e-4cda-a8c0-c8844cfdaad3",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-01-15 14:20:00",
"UpdateDateVal": "2026-01-15 14:20:00",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "e06b9aa4-ec18-4a99-a7b4-f098faa84e23",
"Url": "sample string 17",
"UrlTransId": "d1df2a2d-ef55-4b14-8fb9-c2038c1f3095",
"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": "96dee3a6-edbc-4b3e-8e45-245cd1cc3c4e",
"SeoDesc": "sample string 21",
"SeoDescTransId": "dad7b0d4-4177-4049-8f6d-bc83302a4c99",
"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-01-15 14:20:00",
"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-01-15 14:20:00",
"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-01-15 14:20:00",
"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-01-15 14:20:00",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-01-15 14:20:00",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "6268a3ae-4883-4e96-9501-6da441851a62",
"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": "1a56d058-527e-479c-9804-05dbf1c92a9b",
"Desc": "sample string 5",
"DescTransId": "008e5541-b5d1-4180-a733-823c50145757",
"Body": "sample string 7",
"ContentTransId": "a7882070-6754-408a-be6a-0c2b944a5fd2",
"MContentTransId": "230a3403-dc6a-4f89-a5df-e178f7552e0a",
"Title": "sample string 10",
"TitleTransId": "85b4fff7-282e-4cda-a8c0-c8844cfdaad3",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-01-15 14:20:00",
"UpdateDateVal": "2026-01-15 14:20:00",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "e06b9aa4-ec18-4a99-a7b4-f098faa84e23",
"Url": "sample string 17",
"UrlTransId": "d1df2a2d-ef55-4b14-8fb9-c2038c1f3095",
"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": "96dee3a6-edbc-4b3e-8e45-245cd1cc3c4e",
"SeoDesc": "sample string 21",
"SeoDescTransId": "dad7b0d4-4177-4049-8f6d-bc83302a4c99",
"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-01-15 14:20:00",
"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-01-15 14:20:00",
"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-01-15 14:20:00",
"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-01-15 14:20:00",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-01-15 14:20:00",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "6268a3ae-4883-4e96-9501-6da441851a62",
"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"
}