POST Search/Unphotos

获取Unphotos图片作品

Request Information

URI Parameters

None.

Body Parameters

UnphotoRequestModel
NameDescriptionTypeAdditional information
pageSize

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

integer

None.

pageIndex

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

integer

None.

typeid

分类[可选]

integer

None.

key

搜索词[可选]

string

None.

direction

图片方向(默认:任意方位)[0:任意方位|1:水平| 2: 垂直][可选]

integer

None.

imageWidth

宽度[可选]

integer

None.

imageHeight

高度[可选]

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pageSize": 1,
  "pageIndex": 2,
  "typeid": 3,
  "key": "sample string 4",
  "direction": 5,
  "imageWidth": 6,
  "imageHeight": 7
}

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 'UnphotoRequestModel'.

Response Information

Resource Description

ApiResultModelOfApiPageModelOf_UnphotosModel
NameDescriptionTypeAdditional information
Code

CodeEnum

None.

Msg

string

None.

Result

ApiPageModelOf_UnphotosModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Msg": "sample string 1",
  "Result": {
    "pageSize": 1,
    "pageIndex": 2,
    "pageCount": 3,
    "totalCount": 4,
    "Data": [
      {
        "pid": 1,
        "id": "sample string 2",
        "tyepid": 3,
        "alt_description": "sample string 4",
        "description": "sample string 5",
        "blur_hash": "sample string 6",
        "color": "sample string 7",
        "created_at": "2026-02-02 19:00",
        "updated_at": "2026-02-02 19:00",
        "downloads": 10,
        "width": 11,
        "height": 12,
        "likes": 13,
        "views": 14,
        "small": "sample string 15",
        "regular": "sample string 16",
        "userID": "sample string 17",
        "tag": [
          {
            "title": "sample string 1",
            "type": "sample string 2"
          },
          {
            "title": "sample string 1",
            "type": "sample string 2"
          }
        ],
        "location": {
          "city": "sample string 1",
          "country": "sample string 2",
          "name": "sample string 3",
          "title": "sample string 4",
          "position": {
            "latitude": "sample string 1",
            "longitude": "sample string 2"
          }
        },
        "urls": {
          "full": "sample string 1",
          "raw": "sample string 2",
          "regular": "sample string 3",
          "small": "sample string 4",
          "thumb": "sample string 5"
        },
        "user": {
          "id": "sample string 1",
          "username": "sample string 2",
          "total_photos": "sample string 3"
        },
        "tags": [
          {
            "title": "sample string 1",
            "type": "sample string 2"
          },
          {
            "title": "sample string 1",
            "type": "sample string 2"
          }
        ],
        "topics": [
          {
            "id": "sample string 1",
            "title": "sample string 2",
            "slug": "sample string 3"
          },
          {
            "id": "sample string 1",
            "title": "sample string 2",
            "slug": "sample string 3"
          }
        ],
        "exif": {
          "aperture": "sample string 1",
          "exposure_time": "sample string 2",
          "focal_length": "sample string 3",
          "iso": "sample string 4",
          "make": "sample string 5",
          "model": "sample string 6"
        },
        "links": {
          "download": "sample string 1",
          "download_location": "sample string 2",
          "html": "sample string 3",
          "self": "sample string 4"
        },
        "fayi": 18,
        "related_collections": {
          "total": 1,
          "type": "sample string 2",
          "results": [
            {
              "id": "sample string 1",
              "title": "sample string 2"
            },
            {
              "id": "sample string 1",
              "title": "sample string 2"
            }
          ]
        }
      },
      {
        "pid": 1,
        "id": "sample string 2",
        "tyepid": 3,
        "alt_description": "sample string 4",
        "description": "sample string 5",
        "blur_hash": "sample string 6",
        "color": "sample string 7",
        "created_at": "2026-02-02 19:00",
        "updated_at": "2026-02-02 19:00",
        "downloads": 10,
        "width": 11,
        "height": 12,
        "likes": 13,
        "views": 14,
        "small": "sample string 15",
        "regular": "sample string 16",
        "userID": "sample string 17",
        "tag": [
          {
            "title": "sample string 1",
            "type": "sample string 2"
          },
          {
            "title": "sample string 1",
            "type": "sample string 2"
          }
        ],
        "location": {
          "city": "sample string 1",
          "country": "sample string 2",
          "name": "sample string 3",
          "title": "sample string 4",
          "position": {
            "latitude": "sample string 1",
            "longitude": "sample string 2"
          }
        },
        "urls": {
          "full": "sample string 1",
          "raw": "sample string 2",
          "regular": "sample string 3",
          "small": "sample string 4",
          "thumb": "sample string 5"
        },
        "user": {
          "id": "sample string 1",
          "username": "sample string 2",
          "total_photos": "sample string 3"
        },
        "tags": [
          {
            "title": "sample string 1",
            "type": "sample string 2"
          },
          {
            "title": "sample string 1",
            "type": "sample string 2"
          }
        ],
        "topics": [
          {
            "id": "sample string 1",
            "title": "sample string 2",
            "slug": "sample string 3"
          },
          {
            "id": "sample string 1",
            "title": "sample string 2",
            "slug": "sample string 3"
          }
        ],
        "exif": {
          "aperture": "sample string 1",
          "exposure_time": "sample string 2",
          "focal_length": "sample string 3",
          "iso": "sample string 4",
          "make": "sample string 5",
          "model": "sample string 6"
        },
        "links": {
          "download": "sample string 1",
          "download_location": "sample string 2",
          "html": "sample string 3",
          "self": "sample string 4"
        },
        "fayi": 18,
        "related_collections": {
          "total": 1,
          "type": "sample string 2",
          "results": [
            {
              "id": "sample string 1",
              "title": "sample string 2"
            },
            {
              "id": "sample string 1",
              "title": "sample string 2"
            }
          ]
        }
      }
    ]
  }
}