素材拉取
POST
/open-api/standard/v1/asset/pull
素材检索
请求参数
Header 参数
Access-token
string
必需
示例值:
db28c148-24c0-452d-80e9-c4797d991a22
Token-type
string
必需
示例值:
bearer
x-open-api-user
string
必需
示例值:
xxx@tezign.com
Content-Type
string
必需
示例值:
application/json
x-asm-prefer-tag
string
可选
默认值:
version-env-07
Body 参数application/x-msgpack
param
object
必需
filterMap
object
搜索条件
pageNum
integer
页码
pageSize
integer
页数
permalink
boolean
是否获取永久链接
示例
{
"param": {
"filterMap": {
"updateTime":[1693967016000, 1693967382000],
"fileHeight":[1200,1200],
"fileWidth":[1200,1200]
},
"pageNum": 1,
"pageSize": 50
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-auth.tezign.com/open-api/standard/v1/asset/pull' \
--header 'Access-token: db28c148-24c0-452d-80e9-c4797d991a22' \
--header 'Token-type: bearer' \
--header 'x-open-api-user: xxx@tezign.com' \
--header 'x-asm-prefer-tag: version-env-07' \
--header 'Content-Type: application/json' \
--data-raw '{
"param": {
"filterMap": {
"updateTime":[1693967016000, 1693967382000],
"fileHeight":[1200,1200],
"fileWidth":[1200,1200]
},
"pageNum": 1,
"pageSize": 50
}
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
result
object
必需
totalCount
integer
搜索总数
list
array [object {10}]
搜索结果列表
示例
{
"code": "0",
"message": "success",
"result": {
"totalCount": 96,
"list": [
{
"id": 67,
"metadata": {
"d6d67d0a2e95433ab0b169dd83361364": [
{
"tagCode": "20",
"title": "土光器该",
"value": "laborum in occaecat enim sunt"
},
{
"tagCode": "67",
"title": "果般白体规接",
"value": "incididunt velit"
},
{
"tagCode": "48",
"title": "律际酸点与",
"value": "in dolore non voluptate"
},
{
"tagCode": "85",
"title": "间元总度次养",
"value": "Excepteur"
}
],
"customerImageColor": "http://dummyimage.com/400x400",
"customerLifeCycleRuleTagCode": "1",
"a09d6afe090f45eb869570b90f6467cb": "velit irure reprehenderit",
"ed247b1452fe4a339222709a50b83f54": [
{
"tagCode": "23",
"title": "完个场根",
"value": "Excepteur ullamco in"
},
{
"tagCode": "8",
"title": "两也存住",
"value": "reprehenderit laboris ut"
},
{
"tagCode": "43",
"title": "采其象等细流",
"value": "sint cupidatat"
},
{
"tagCode": "9",
"title": "属实得半少命",
"value": "consequat"
},
{
"tagCode": "66",
"title": "导家商",
"value": "ipsum aute veniam consectetur"
}
],
"a09d6afe090f45eb869570b90f6467cbTagCode": "7",
"3303a5c088364cc4b4434c19a9cdda1c": [
{
"tagCode": "5",
"title": "备断队及严",
"value": 21
},
{
"tagCode": "56",
"title": "社从状",
"value": 72
},
{
"tagCode": "97",
"title": "特统究九真",
"value": 43
}
],
"5926af81c48f4243828ddf2f0830554a": [
{
"tagCode": "14",
"title": "积维拉",
"value": "minim anim consectetur irure dolor"
},
{
"tagCode": "21",
"title": "不动区党王书",
"value": "aliquip anim tempor proident velit"
},
{
"tagCode": "25",
"title": "美路口调",
"value": "consectetur veniam"
},
{
"tagCode": "40",
"title": "越两书改",
"value": "Duis officia minim nostrud qui"
},
{
"tagCode": "93",
"title": "根品党容品同",
"value": "aliquip magna Duis ea"
}
],
"customerLifeCycleRule": "laboris eu dolore",
"tags": "aliqua ullamco",
"3bc0e9daa57f43fcbe0eeea19f82df9e": [
{
"tagCode": "70",
"title": "验千质几高",
"value": "do laboris dolor enim cillum"
}
]
},
"createTime": 1348094267626,
"updateTime": 706414991881,
"expireTime": 502795118450,
"assetStatus": 7,
"dimension": "non sed",
"url": "http://yjgcgis.fr/gfvkkknlr",
"thumbnailSrc": "exercitation",
"downloadUrl": "http://ngwpp.py/emzxe"
}
]
}
}
修改于 2023-09-25 03:48:36