/documents/{document_id}/confirm
{ "filename": "document.pdf", "file_size": 10485760, "content_type": "application/pdf" }
curl --location --request POST '/documents/presign' \ --header 'X-User-ID: {{X-User-ID}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "filename": "document.pdf", "file_size": 10485760, "content_type": "application/pdf" }'
{ "document_id": 1, "upload_url": "https://bucket.oss-cn-xxx.aliyuncs.com/users/123/documents/1/document.pdf?OSSAccessKeyId=xxx&Expires=xxx&Signature=xxx", "oss_path": "users/123/documents/1/document.pdf", "expires_in": 600 }