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": "04e63c64-9d21-4f74-a9f6-e69a34da6410",
"Desc": "sample string 5",
"DescTransId": "feb46855-ed3b-4bb3-a5d1-d6588f86ada5",
"Body": "sample string 7",
"ContentTransId": "a0d750db-435b-46bd-ac96-620785089ac3",
"MContentTransId": "54bbc72a-20ae-4530-b66a-4d4b653de120",
"Title": "sample string 10",
"TitleTransId": "4e6ace79-9dfd-4a46-9862-247a59c06174",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2025-10-26 18:59:39",
"UpdateDateVal": "2025-10-26 18:59:39",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "fef64ea3-7410-4657-98c1-740f4632307b",
"Url": "sample string 17",
"UrlTransId": "4d585f48-75ae-4dfe-b2a9-ce011cea5e4b",
"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": "bec34f4d-e7ba-4593-b667-b1368528b339",
"SeoDesc": "sample string 21",
"SeoDescTransId": "986d5def-93e5-47ea-8626-95c95f1bc464",
"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": "2025-10-26 18:59:39",
"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": "2025-10-26 18:59:39",
"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": "2025-10-26 18:59:39",
"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": "2025-10-26 18:59:39",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2025-10-26 18:59:39",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "85d47365-8236-483d-ab3b-97064ea7b3f2",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31"
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "04e63c64-9d21-4f74-a9f6-e69a34da6410",
"Desc": "sample string 5",
"DescTransId": "feb46855-ed3b-4bb3-a5d1-d6588f86ada5",
"Body": "sample string 7",
"ContentTransId": "a0d750db-435b-46bd-ac96-620785089ac3",
"MContentTransId": "54bbc72a-20ae-4530-b66a-4d4b653de120",
"Title": "sample string 10",
"TitleTransId": "4e6ace79-9dfd-4a46-9862-247a59c06174",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2025-10-26 18:59:39",
"UpdateDateVal": "2025-10-26 18:59:39",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "fef64ea3-7410-4657-98c1-740f4632307b",
"Url": "sample string 17",
"UrlTransId": "4d585f48-75ae-4dfe-b2a9-ce011cea5e4b",
"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": "bec34f4d-e7ba-4593-b667-b1368528b339",
"SeoDesc": "sample string 21",
"SeoDescTransId": "986d5def-93e5-47ea-8626-95c95f1bc464",
"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": "2025-10-26 18:59:39",
"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": "2025-10-26 18:59:39",
"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": "2025-10-26 18:59:39",
"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": "2025-10-26 18:59:39",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2025-10-26 18:59:39",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "85d47365-8236-483d-ab3b-97064ea7b3f2",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31"
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}