All URIs are relative to https://cad.onshape.com
Method | HTTP request | Description |
---|---|---|
download_file_workspace | Get /api/blobelements/d/{did}/w/{wid}/e/{eid} | |
upload_file_create_element | Post /api/blobelements/d/{did}/w/{wid} |
download_file_workspace(did, wid, eid, content_disposition, if_none_match, link_document_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
content_disposition | Option<String> | |||
if_none_match | Option<String> | |||
link_document_id | Option<String> |
(empty response body)
- Content-Type: Not defined
- Accept: application/vnd.onshape.v1+octet-stream;charset=UTF-8;qs=0.1, application/json;charset=UTF-8; qs=0.09, application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
upload_file_create_element(did, wid, content_disposition, entity, media_type, message_body_workers, parent, providers, body_parts)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
content_disposition | Option<crate::models::ContentDisposition> | |||
entity | Option<serde_json::Value> | |||
media_type | Option<crate::models::BodyPartMediaType> | |||
message_body_workers | Option<serde_json::Value> | |||
parent | Option<crate::models::MultiPart> | |||
providers | Option<serde_json::Value> | |||
body_parts | Option<Veccrate::models::BodyPart> |
(empty response body)
- Content-Type: multipart/form-data
- Accept: application/vnd.onshape.v1+json;charset=UTF-8;qs=0.1, application/json;charset=UTF-8; qs=0.09
[Back to top] [Back to API list] [Back to Model list] [Back to README]