POST User/UpPhoto

修改作品

Request Information

URI Parameters

None.

Body Parameters

wximgModel
NameDescriptionTypeAdditional information
id

主键

integer

None.

title

标题

string

None.

tags

标签

string

None.

workType

视频和图片 0:视频|1:图片

integer

None.

pexelsId

pexelsId防止采集重复

integer

None.

pexelsUserId

string

None.

imgSmall

缩略图

string

None.

videoRegular

详情缩视频、图片

string

None.

videoOriginal

视频源文件、图片

string

None.

isdownyuan

是否下载源文件

integer

None.

isDownVideo

integer

None.

fielsize

文件大小

decimal number

None.

content

内容

string

None.

addtime

增加时间

date

None.

caijiurl

采集的Url

string

None.

downloads

下载数量

integer

None.

likes

喜欢数量

integer

None.

views

点击量

integer

None.

width

宽度

integer

None.

height

高度

integer

None.

VideoTime

视频时间

integer

None.

_imgSmall

源网站_缩略图

string

None.

_videoRegular

源网站_详情缩视频

string

None.

relevant_pexelsId

相关视频

string

None.

_DownVideoUrl

源网站_下载地址

string

None.

_DownVideoUrlTime

源网站_下载地址有效期

date

None.

colorList

颜色

string

None.

isliu

integer

None.

relatedList

相关作品

Collection of relatedListModel

None.

UserID

用户

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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:56",
  "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:56",
  "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
}

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

Response Information

Resource Description

ApiResultModelOfwximgModel
NameDescriptionTypeAdditional information
Code

CodeEnum

None.

Msg

string

None.

Result

wximgModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "Msg": "sample string 1",
  "Result": {
    "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:56",
    "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:56",
    "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
  }
}