- Wefile (信天邮科技)
- 工作流(workflows)
- 任务(jobs)
- {job Id}
- result
- files
- output Documents/{output Document Id}/files
- 返回任务输出结果(Returns the result of a job.)
- 返回任务状态信息(Returns the state of a job.)
- 删除任务(Deletes a job.)
- result
- 返回多个任务的状态(Returns the states of multiple jobs.)GET
- 删除多个任务(Deletes multiple jobs.)DELETE
- 服务器(server)
- 许可(licenses)
- 队列(queue)
- 语言(languages)
- 统计分析(statistics)
- 工作站(stations)
- 返回部分服务器任务日志(Returns a portion of the server job log.)GET
- 返回服务器任务的统计信息(Returns the statistics of the server jobs.)GET
- 输出格式(output Formats)
返回多个任务的状态(Returns the states of multiple jobs.)
GET
/api/jobs
请求参数
Query 参数
jobId
string
必需
示例值:
{{jobID}}
serverLocation
string
必需
Header 参数
Accept
string
必需
示例值:
application/json
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://frstrial.wefile.com/FineReaderServer14//api/jobs?jobId={{jobID}}&serverLocation=' \
--header 'Accept: application/json'
返回响应
🟢200The states of multiple jobs.
application/json
Body
array of:
State
string
必需
Progress
integer
必需
Id
string
必需
示例
[
{
"State": "JS_Processed",
"Progress": -96346668,
"Id": "fugiat occaecat anim pariatur"
},
{
"State": "JS_Indexing",
"Progress": -5863233,
"Id": "ipsum"
}
]
🟠400Invalid job ID supplied.
修改于 2024-04-24 10:41:45