Upload a Task Document
post
/process/api/v1/tasks/{id}/documents/files/data
Uploads a task document to storage. Additionally, you can also send a URL to storage. You can upload either a document or an URL at a time. You cannot upload both the document and the URL at the same time.
Request
Path Parameters
-
id(required): string
Task ID
Header Parameters
-
oci-original-url:
Endpoint requested by customer
Supported Media Types
- multipart/form-data
Root Schema : schema
Type:
Show Source
object
-
documentLinkUrl: string
Document link URL
-
json: string
Document metadata
-
upfile: string
(binary)
Document content input stream
Response
Supported Media Types
- application/json
200 Response
Successful operation
401 Response
Unauthorized
429 Response
Too many requests
500 Response
Internal server error
503 Response
Too many exceptions or too slow requests