All URIs are relative to https://cad.onshape.com
Method | HTTP request | Description |
---|---|---|
copy_element_from_source_document | Post /api/elements/copyelement/{did}/workspace/{wid} | |
decode_configuration | Get /api/elements/d/{did}/{wvm}/{wvmid}/e/{eid}/configurationencodings/{cid} | |
delete8 | Delete /api/elements/d/{did}/w/{wid}/e/{eid} | |
encode_configuration_map | Post /api/elements/d/{did}/e/{eid}/configurationencodings | |
get_configuration | Get /api/elements/d/{did}/{wvm}/{wvmid}/e/{eid}/configuration | |
get_element_by_version_deprecated | Get /api/elements/{did}/version/{vid} | |
get_element_by_workspace_deprecated | Get /api/elements/{did}/workspace/{wid} | |
get_element_metadata | Get /api/elements/d/{did}/{wv}/{wvid}/e/{eid}/metadata | |
get_element_metadata_deprecated | Get /api/elements/{emid} | |
get_element_translator_formats | Get /api/elements/translatorFormats/{did}/{wid}/{eid} | |
get_translator_formats3 | Get /api/elements/translatorFormats | |
update_configuration | Post /api/elements/d/{did}/{wvm}/{wvmid}/e/{eid}/configuration | |
update_element_metadata | Post /api/elements/d/{did}/{wv}/{wvid}/e/{eid}/metadata | |
update_references | Post /api/elements/d/{did}/w/{wid}/e/{eid}/updatereferences | |
upload_file1 | Post /api/elements/upload/{did} |
copy_element_from_source_document(did, wid, bt_copy_element_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
bt_copy_element_params | BtCopyElementParams | [required] |
(empty response body)
- Content-Type: application/json;charset=UTF-8; qs=0.09
- 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]
decode_configuration(did, wvm, wvmid, eid, cid, link_document_id, include_display, configuration_is_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] | ||
cid | String | [required] | ||
link_document_id | Option<String> | |||
include_display | Option<bool> | [default to false] | ||
configuration_is_id | Option<bool> | [default to false] |
(empty response body)
- Content-Type: Not defined
- 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]
delete8(did, wid, eid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] |
(empty response body)
- Content-Type: Not defined
- 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]
encode_configuration_map(did, eid, bt_configuration_params, version_id, link_document_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
eid | String | [required] | ||
bt_configuration_params | BtConfigurationParams | [required] | ||
version_id | Option<String> | |||
link_document_id | Option<String> |
(empty response body)
- Content-Type: application/json;charset=UTF-8; qs=0.09
- 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]
get_configuration(did, wvm, wvmid, eid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] |
(empty response body)
- Content-Type: Not defined
- 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]
get_element_by_version_deprecated(did, vid, with_thumbnails)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
vid | String | [required] | ||
with_thumbnails | Option<bool> | [default to false] |
(empty response body)
- Content-Type: Not defined
- 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]
get_element_by_workspace_deprecated(did, wid, with_thumbnails)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
with_thumbnails | Option<bool> | [default to false] |
(empty response body)
- Content-Type: Not defined
- 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]
get_element_metadata(did, wv, wvid, eid, link_document_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wv | String | [required] | ||
wvid | String | [required] | ||
eid | String | [required] | ||
link_document_id | Option<String> |
(empty response body)
- Content-Type: Not defined
- 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]
get_element_metadata_deprecated(emid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
emid | String | [required] |
(empty response body)
- Content-Type: Not defined
- 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]
get_element_translator_formats(did, wid, eid, check_content, configuration)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
check_content | Option<bool> | [default to true] | ||
configuration | Option<String> | [default to ] |
(empty response body)
No authorization required
- Content-Type: Not defined
- 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]
get_translator_formats3()
This endpoint does not need any parameter.
(empty response body)
No authorization required
- Content-Type: Not defined
- 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]
update_configuration(did, wvm, wvmid, eid, body)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] | ||
body | Option<String> |
(empty response body)
- Content-Type: application/json;charset=UTF-8; qs=0.09
- 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]
update_element_metadata(did, wv, wvid, eid, btpdm_metadata_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wv | String | [required] | ||
wvid | String | [required] | ||
eid | String | [required] | ||
btpdm_metadata_params | BtpdmMetadataParams | [required] |
(empty response body)
- Content-Type: application/json;charset=UTF-8; qs=0.09
- 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]
update_references(did, wid, eid, bt_update_reference_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
bt_update_reference_params | BtUpdateReferenceParams | [required] |
(empty response body)
- Content-Type: application/json;charset=UTF-8; qs=0.09
- 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]
upload_file1(did, element_id, workspace_id, content_disposition, entity, media_type, message_body_workers, parent, providers, body_parts)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
element_id | Option<String> | |||
workspace_id | Option<String> | |||
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]