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": "01151202-c6f2-4a78-bef7-8bd3c53e7ed1", "Desc": "sample string 5", "DescTransId": "448dbc17-8055-4a29-8883-a33fd6c690a6", "Body": "sample string 7", "ContentTransId": "1a93500f-2520-4cb0-a3fe-1a3a0a604051", "MContentTransId": "3c5ec4ef-fccd-4fc2-ad08-e50024288ebf", "Title": "sample string 10", "TitleTransId": "dead7a93-a2f9-4157-91ef-e3579a93ad82", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 12:17:12", "UpdateDateVal": "2024-11-15 12:17:12", "CatId": 15, "Cover": "sample string 16", "CoverId": "a2b42eb3-2a5d-4630-ba45-102afea33ae9", "Url": "sample string 17", "UrlTransId": "96250ccd-4cbb-40fb-a272-533338c03a1e", "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": "1a2e06e6-ce85-43f0-aacf-1fdb57362f0d", "SeoDesc": "sample string 21", "SeoDescTransId": "8b1b4428-5ec9-4e66-b5b9-41a58565dd45", "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": "2024-11-15 12:17:12", "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": "2024-11-15 12:17:12", "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": "2024-11-15 12:17:12", "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": "2024-11-15 12:17:12", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 12:17:12", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "5470c6ef-1585-4bbc-ad9c-8c828b5dd48a", "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": "01151202-c6f2-4a78-bef7-8bd3c53e7ed1", "Desc": "sample string 5", "DescTransId": "448dbc17-8055-4a29-8883-a33fd6c690a6", "Body": "sample string 7", "ContentTransId": "1a93500f-2520-4cb0-a3fe-1a3a0a604051", "MContentTransId": "3c5ec4ef-fccd-4fc2-ad08-e50024288ebf", "Title": "sample string 10", "TitleTransId": "dead7a93-a2f9-4157-91ef-e3579a93ad82", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 12:17:12", "UpdateDateVal": "2024-11-15 12:17:12", "CatId": 15, "Cover": "sample string 16", "CoverId": "a2b42eb3-2a5d-4630-ba45-102afea33ae9", "Url": "sample string 17", "UrlTransId": "96250ccd-4cbb-40fb-a272-533338c03a1e", "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": "1a2e06e6-ce85-43f0-aacf-1fdb57362f0d", "SeoDesc": "sample string 21", "SeoDescTransId": "8b1b4428-5ec9-4e66-b5b9-41a58565dd45", "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": "2024-11-15 12:17:12", "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": "2024-11-15 12:17:12", "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": "2024-11-15 12:17:12", "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": "2024-11-15 12:17:12", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 12:17:12", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "5470c6ef-1585-4bbc-ad9c-8c828b5dd48a", "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" }