GET api/package/post/list/{tagName}/{lang}

根据标签获取Post

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tagName

标签

string

Required

lang

语言

string

Default value is zh-hk

Body Parameters

None.

Response Information

Resource Description

根据标签获取Post

ReturnResultOfListOfPostContract
NameDescriptionTypeAdditional information
data

Collection of PostContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "id": 1,
      "lang": "sample string 2",
      "domain": "sample string 3",
      "title": "sample string 4",
      "shortcontent": "sample string 5",
      "content": "sample string 6",
      "catalogue": "sample string 7",
      "createuser": 8,
      "createdate": "2024-12-23T19:31:43.6676577+08:00",
      "wpid": 10,
      "tagname": "sample string 11",
      "metatagkeywords": "sample string 12",
      "metatagdescription": "sample string 13",
      "posttype": 14,
      "authorid": 15,
      "price": 16.0,
      "vendorname": "sample string 17",
      "showprice": true,
      "showvendor": true,
      "views": 20,
      "rankstotal": 21.0,
      "rankscount": 22,
      "ranks": 23.0,
      "promotiontocountry": "sample string 24",
      "promotionairline": "sample string 25",
      "showonrss": true
    },
    {
      "id": 1,
      "lang": "sample string 2",
      "domain": "sample string 3",
      "title": "sample string 4",
      "shortcontent": "sample string 5",
      "content": "sample string 6",
      "catalogue": "sample string 7",
      "createuser": 8,
      "createdate": "2024-12-23T19:31:43.6676577+08:00",
      "wpid": 10,
      "tagname": "sample string 11",
      "metatagkeywords": "sample string 12",
      "metatagdescription": "sample string 13",
      "posttype": 14,
      "authorid": 15,
      "price": 16.0,
      "vendorname": "sample string 17",
      "showprice": true,
      "showvendor": true,
      "views": 20,
      "rankstotal": 21.0,
      "rankscount": 22,
      "ranks": 23.0,
      "promotiontocountry": "sample string 24",
      "promotionairline": "sample string 25",
      "showonrss": true
    }
  ],
  "code": 1,
  "message": "sample string 2"
}