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
PageDataOfCMSContentInfoName | 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": "82d56209-a734-42d4-8849-f0ff964d5e49", "Desc": "sample string 5", "DescTransId": "5e30256e-3b5d-4123-958b-ac835eb75198", "Body": "sample string 7", "ContentTransId": "80b7b589-248d-455f-921b-6e3ecf5b595c", "MContentTransId": "20645e42-2053-48f9-ad6a-d761f496fd82", "Title": "sample string 10", "TitleTransId": "a33ae45e-a6a9-4b94-a96c-46629939ed2f", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 14:52:08", "UpdateDateVal": "2025-04-04 14:52:08", "CatId": 15, "Cover": "sample string 16", "CoverId": "96513dbe-c76a-4f8b-ae54-4061085081ce", "Url": "sample string 17", "UrlTransId": "3d3ba59a-1217-4437-811a-da20b0bb4786", "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": "30e0d639-3b73-4286-b6e6-6d1dbb952f9c", "SeoDesc": "sample string 21", "SeoDescTransId": "619b1122-0497-4c41-8d54-14b4ff24c022", "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-04-04 14:52:08", "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-04-04 14:52:08", "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-04-04 14:52:08", "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-04-04 14:52:08", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 14:52:08", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "78fa75ff-62bb-4453-afe4-3b585f6d737b", "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": "82d56209-a734-42d4-8849-f0ff964d5e49", "Desc": "sample string 5", "DescTransId": "5e30256e-3b5d-4123-958b-ac835eb75198", "Body": "sample string 7", "ContentTransId": "80b7b589-248d-455f-921b-6e3ecf5b595c", "MContentTransId": "20645e42-2053-48f9-ad6a-d761f496fd82", "Title": "sample string 10", "TitleTransId": "a33ae45e-a6a9-4b94-a96c-46629939ed2f", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 14:52:08", "UpdateDateVal": "2025-04-04 14:52:08", "CatId": 15, "Cover": "sample string 16", "CoverId": "96513dbe-c76a-4f8b-ae54-4061085081ce", "Url": "sample string 17", "UrlTransId": "3d3ba59a-1217-4437-811a-da20b0bb4786", "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": "30e0d639-3b73-4286-b6e6-6d1dbb952f9c", "SeoDesc": "sample string 21", "SeoDescTransId": "619b1122-0497-4c41-8d54-14b4ff24c022", "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-04-04 14:52:08", "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-04-04 14:52:08", "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-04-04 14:52:08", "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-04-04 14:52:08", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 14:52:08", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "78fa75ff-62bb-4453-afe4-3b585f6d737b", "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" }