下载任务输入文件
curl --request GET \
--url https://bptest.mapleai.cc/api/open/files/input \
--header 'Authorization: Bearer <token>'import requests
url = "https://bptest.mapleai.cc/api/open/files/input"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://bptest.mapleai.cc/api/open/files/input', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}开放接口 / Open Files
下载任务输入文件
GET
/
api
/
open
/
files
/
input
下载任务输入文件
curl --request GET \
--url https://bptest.mapleai.cc/api/open/files/input \
--header 'Authorization: Bearer <token>'import requests
url = "https://bptest.mapleai.cc/api/open/files/input"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://bptest.mapleai.cc/api/open/files/input', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Pipeline Run ID
输入文件索引(默认0)
Required range:
x >= 0云存储时返回预签名/公网URL(不走API转发)
Response
Successful Response