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": "80798bce-368e-4edf-9df5-f7a4e893a486",
"Desc": "sample string 5",
"DescTransId": "7c0648e4-cc52-406e-99c7-97dfdda451fb",
"Body": "sample string 7",
"ContentTransId": "80c6aa90-28d1-4da4-bef6-69078112915c",
"MContentTransId": "be41161b-95e1-4ba6-bf24-5d736964e975",
"Title": "sample string 10",
"TitleTransId": "613e7b2a-40eb-437d-a802-0ac3ae9e4e71",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-25 15:03:23",
"UpdateDateVal": "2026-06-25 15:03:23",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "fa43cd19-2add-493b-ba06-54eb27e79333",
"Url": "sample string 17",
"UrlTransId": "d0a64cb0-af18-4d47-925e-7c78f18f28d2",
"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": "35be38fb-11be-4785-ab25-dafdab18730d",
"SeoDesc": "sample string 21",
"SeoDescTransId": "e5634c50-8cb1-414f-a47d-1c51c0e1e728",
"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-06-25 15:03:23",
"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-06-25 15:03:23",
"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-06-25 15:03:23",
"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-06-25 15:03:23",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-25 15:03:23",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "5d218782-9045-4a1b-a236-aff37f0408f8",
"IsMobile": true
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "80798bce-368e-4edf-9df5-f7a4e893a486",
"Desc": "sample string 5",
"DescTransId": "7c0648e4-cc52-406e-99c7-97dfdda451fb",
"Body": "sample string 7",
"ContentTransId": "80c6aa90-28d1-4da4-bef6-69078112915c",
"MContentTransId": "be41161b-95e1-4ba6-bf24-5d736964e975",
"Title": "sample string 10",
"TitleTransId": "613e7b2a-40eb-437d-a802-0ac3ae9e4e71",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-25 15:03:23",
"UpdateDateVal": "2026-06-25 15:03:23",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "fa43cd19-2add-493b-ba06-54eb27e79333",
"Url": "sample string 17",
"UrlTransId": "d0a64cb0-af18-4d47-925e-7c78f18f28d2",
"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": "35be38fb-11be-4785-ab25-dafdab18730d",
"SeoDesc": "sample string 21",
"SeoDescTransId": "e5634c50-8cb1-414f-a47d-1c51c0e1e728",
"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-06-25 15:03:23",
"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-06-25 15:03:23",
"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-06-25 15:03:23",
"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-06-25 15:03:23",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-25 15:03:23",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "5d218782-9045-4a1b-a236-aff37f0408f8",
"IsMobile": true
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}