cURL
curl --request PUT \ --url https://api.opx.co/partners/v1/worksites/{id}/documents/{document_id} \ --header 'Content-Type: multipart/form-data' \ --form 'name=<string>' \ --form 'url=<string>' \ --form 'file=<string>' \ --form file.0='@example-file' \ --form file.1='@example-file'
{ "data": { "id": 123, "worksite_operation_id": 123, "type_id": "<string>", "type": "<string>", "file_name": "<string>", "url": "<string>", "status_id": "<string>", "status": "<string>", "notes": "<string>", "non_compliance": "<string>", "required": "<string>", "created_at": "<string>" } }
Documentation IndexFetch the complete documentation index at: https://docs.opx.co/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.opx.co/llms.txt
Use this file to discover all available pages before exploring further.
255
10240
WorksiteDocumentResource
Show child attributes