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": "ea7f84bd-3107-4cb5-8fec-969cfbc11f13",
"Desc": "sample string 5",
"DescTransId": "ec7573ca-14a1-4d83-a59a-758fcfc08cb5",
"Body": "sample string 7",
"ContentTransId": "e03ba0d6-21e2-4a3b-b550-b1dbe511a489",
"MContentTransId": "e6971309-46a2-46e0-8a57-c40b705d2ac0",
"Title": "sample string 10",
"TitleTransId": "dafc8e87-4719-4b13-a226-9cb52804ded2",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-07-04 12:29:31",
"UpdateDateVal": "2026-07-04 12:29:31",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "671c981d-5b59-4869-9edb-226a0eb1ef9a",
"Url": "sample string 17",
"UrlTransId": "ad31fbd8-71ac-461a-b86c-4aa8de04fbaf",
"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": "c8eb12e2-3ba9-4e87-a092-e3ab7e80a1b9",
"SeoDesc": "sample string 21",
"SeoDescTransId": "f1fb964d-7c43-41cb-a3c1-0cddc5748beb",
"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-07-04 12:29:31",
"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-07-04 12:29:31",
"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-07-04 12:29:31",
"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-07-04 12:29:31",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-07-04 12:29:31",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "b263ec4a-0c5b-4b53-8349-f71e92dcb325",
"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": "ea7f84bd-3107-4cb5-8fec-969cfbc11f13",
"Desc": "sample string 5",
"DescTransId": "ec7573ca-14a1-4d83-a59a-758fcfc08cb5",
"Body": "sample string 7",
"ContentTransId": "e03ba0d6-21e2-4a3b-b550-b1dbe511a489",
"MContentTransId": "e6971309-46a2-46e0-8a57-c40b705d2ac0",
"Title": "sample string 10",
"TitleTransId": "dafc8e87-4719-4b13-a226-9cb52804ded2",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-07-04 12:29:31",
"UpdateDateVal": "2026-07-04 12:29:31",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "671c981d-5b59-4869-9edb-226a0eb1ef9a",
"Url": "sample string 17",
"UrlTransId": "ad31fbd8-71ac-461a-b86c-4aa8de04fbaf",
"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": "c8eb12e2-3ba9-4e87-a092-e3ab7e80a1b9",
"SeoDesc": "sample string 21",
"SeoDescTransId": "f1fb964d-7c43-41cb-a3c1-0cddc5748beb",
"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-07-04 12:29:31",
"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-07-04 12:29:31",
"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-07-04 12:29:31",
"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-07-04 12:29:31",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-07-04 12:29:31",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "b263ec4a-0c5b-4b53-8349-f71e92dcb325",
"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"
}