POST User/GetPhotos

获取作品列表

Request Information

URI Parameters

None.

Body Parameters

RequestModel
NameDescriptionTypeAdditional information
pageSize

每页多少条(默认10条)[可选]

integer

None.

pageIndex

当前是第几页(默认第1页)[可选]

integer

None.

workType

类型(默认全部)[0:视频|1:图片][可选]

integer

None.

key

搜索词[可选]

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pageSize": 1,
  "pageIndex": 2,
  "workType": 3,
  "key": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestModel'.

Response Information

Resource Description

ApiResultModelOfApiPageModelOfwximgModel
NameDescriptionTypeAdditional information
Code

CodeEnum

None.

Msg

string

None.

Result

ApiPageModelOfwximgModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Msg": "sample string 1",
  "Result": {
    "pageSize": 1,
    "pageIndex": 2,
    "pageCount": 3,
    "totalCount": 4,
    "Data": [
      {
        "id": 1,
        "title": "sample string 2",
        "tags": "sample string 3",
        "workType": 4,
        "pexelsId": 5,
        "pexelsUserId": "sample string 6",
        "imgSmall": "sample string 7",
        "videoRegular": "sample string 8",
        "videoOriginal": "sample string 9",
        "isdownyuan": 10,
        "isDownVideo": 11,
        "fielsize": 12.1,
        "content": "sample string 13",
        "addtime": "2025-10-29 23:54",
        "caijiurl": "sample string 15",
        "downloads": 16,
        "likes": 17,
        "views": 18,
        "width": 19,
        "height": 20,
        "VideoTime": 21,
        "_imgSmall": "sample string 22",
        "_videoRegular": "sample string 23",
        "relevant_pexelsId": "sample string 24",
        "_DownVideoUrl": "sample string 25",
        "_DownVideoUrlTime": "2025-10-29 23:54",
        "colorList": "sample string 27",
        "isliu": 28,
        "relatedList": [
          {
            "id": 1,
            "title": "sample string 2",
            "tags": "sample string 3",
            "workType": 4,
            "width": 5,
            "height": 6,
            "imgSmall": "sample string 7",
            "videoRegular": "sample string 8"
          },
          {
            "id": 1,
            "title": "sample string 2",
            "tags": "sample string 3",
            "workType": 4,
            "width": 5,
            "height": 6,
            "imgSmall": "sample string 7",
            "videoRegular": "sample string 8"
          }
        ],
        "UserID": 29
      },
      {
        "id": 1,
        "title": "sample string 2",
        "tags": "sample string 3",
        "workType": 4,
        "pexelsId": 5,
        "pexelsUserId": "sample string 6",
        "imgSmall": "sample string 7",
        "videoRegular": "sample string 8",
        "videoOriginal": "sample string 9",
        "isdownyuan": 10,
        "isDownVideo": 11,
        "fielsize": 12.1,
        "content": "sample string 13",
        "addtime": "2025-10-29 23:54",
        "caijiurl": "sample string 15",
        "downloads": 16,
        "likes": 17,
        "views": 18,
        "width": 19,
        "height": 20,
        "VideoTime": 21,
        "_imgSmall": "sample string 22",
        "_videoRegular": "sample string 23",
        "relevant_pexelsId": "sample string 24",
        "_DownVideoUrl": "sample string 25",
        "_DownVideoUrlTime": "2025-10-29 23:54",
        "colorList": "sample string 27",
        "isliu": 28,
        "relatedList": [
          {
            "id": 1,
            "title": "sample string 2",
            "tags": "sample string 3",
            "workType": 4,
            "width": 5,
            "height": 6,
            "imgSmall": "sample string 7",
            "videoRegular": "sample string 8"
          },
          {
            "id": 1,
            "title": "sample string 2",
            "tags": "sample string 3",
            "workType": 4,
            "width": 5,
            "height": 6,
            "imgSmall": "sample string 7",
            "videoRegular": "sample string 8"
          }
        ],
        "UserID": 29
      }
    ]
  }
}