GET V2/CMS/GetContentsByCatId?catId={catId}&page={page}&pageSize={pageSize}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| catId | 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": "873df4c0-2112-4cd3-983b-12b5945f00c7",
"Desc": "sample string 5",
"DescTransId": "1dc1fc07-06de-4eca-a606-fb7112dcf172",
"Body": "sample string 7",
"ContentTransId": "314053e2-e441-4a09-8965-1f005c44bf33",
"MContentTransId": "cae512fa-49a3-496c-b6cb-35f6f5a2cfac",
"Title": "sample string 10",
"TitleTransId": "3b7bb78e-4234-4f33-83b5-b7cf86490864",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-01-25 15:04:20",
"UpdateDateVal": "2026-01-25 15:04:20",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "da547aba-4082-410f-90f1-f15eb551b8a2",
"Url": "sample string 17",
"UrlTransId": "8587b60e-c3db-4446-96e3-aca1534aead9",
"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": "e8677d3a-b2c9-44c5-8f2c-a4310cc09037",
"SeoDesc": "sample string 21",
"SeoDescTransId": "8afb098e-c621-4d21-af73-c23d3c630ed6",
"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-25 15:04:20",
"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-25 15:04:20",
"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-25 15:04:20",
"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-25 15:04:20",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-01-25 15:04:20",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "8b8e35a7-c591-45a9-ac2b-68ca0ce31228",
"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": "873df4c0-2112-4cd3-983b-12b5945f00c7",
"Desc": "sample string 5",
"DescTransId": "1dc1fc07-06de-4eca-a606-fb7112dcf172",
"Body": "sample string 7",
"ContentTransId": "314053e2-e441-4a09-8965-1f005c44bf33",
"MContentTransId": "cae512fa-49a3-496c-b6cb-35f6f5a2cfac",
"Title": "sample string 10",
"TitleTransId": "3b7bb78e-4234-4f33-83b5-b7cf86490864",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-01-25 15:04:20",
"UpdateDateVal": "2026-01-25 15:04:20",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "da547aba-4082-410f-90f1-f15eb551b8a2",
"Url": "sample string 17",
"UrlTransId": "8587b60e-c3db-4446-96e3-aca1534aead9",
"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": "e8677d3a-b2c9-44c5-8f2c-a4310cc09037",
"SeoDesc": "sample string 21",
"SeoDescTransId": "8afb098e-c621-4d21-af73-c23d3c630ed6",
"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-25 15:04:20",
"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-25 15:04:20",
"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-25 15:04:20",
"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-25 15:04:20",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-01-25 15:04:20",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "8b8e35a7-c591-45a9-ac2b-68ca0ce31228",
"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"
}