Binary file to upload
Created
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
curl -i -X POST \ 'https://app.harness.io/code/api/v1/repos/{repo_identifier}/uploads?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \ -H 'Content-Type: application/octet-stream' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "file_path": "string"
}
OK
Temporary Redirect
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
curl -i -X GET \ 'https://app.harness.io/code/api/v1/repos/{repo_identifier}/uploads/{file_ref}?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "message": "string",
- "values": {
- "property1": null,
- "property2": null
}
}