All URIs are relative to https://cad.onshape.com
Method | HTTP request | Description |
---|---|---|
add_feature | Post /api/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/features | |
create_assembly | Post /api/assemblies/d/{did}/w/{wid} | |
create_instance | Post /api/assemblies/d/{did}/w/{wid}/e/{eid}/instances | |
delete_feature | Delete /api/assemblies/d/{did}/w/{wid}/e/{eid}/features/featureid/{fid} | |
delete_instance | Delete /api/assemblies/d/{did}/w/{wid}/e/{eid}/instance/nodeid/{nid} | |
get_assembly_definition | Get /api/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid} | |
get_bill_of_materials | Get /api/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/bom | |
get_bounding_boxes | Get /api/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/boundingboxes | |
get_feature_specs | Get /api/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/featurespecs | |
get_features | Get /api/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/features | |
get_named_views | Get /api/assemblies/d/{did}/e/{eid}/namedViews | |
get_or_create_bill_of_materials_element | Post /api/assemblies/d/{did}/w/{wid}/e/{eid}/bomelement | |
get_shaded_views | Get /api/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/shadedviews | |
get_translator_formats | Get /api/assemblies/d/{did}/w/{wid}/e/{eid}/translationformats | |
insert_transformed_instances | Post /api/assemblies/d/{did}/w/{wid}/e/{eid}/transformedinstances | |
transform_occurrences | Post /api/assemblies/d/{did}/w/{wid}/e/{eid}/occurrencetransforms | |
translate_format | Post /api/assemblies/d/{did}/{wv}/{wvid}/e/{eid}/translations | |
update_feature | Post /api/assemblies/d/{did}/w/{wid}/e/{eid}/features/featureid/{fid} |
add_feature(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]
create_assembly(did, wid, bt_model_element_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
bt_model_element_params | BtModelElementParams | [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]
create_instance(did, wid, eid, bt_assembly_instance_definition_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
bt_assembly_instance_definition_params | BtAssemblyInstanceDefinitionParams | [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]
delete_feature(did, wid, eid, fid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
fid | 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]
delete_instance(did, eid, wid, nid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
eid | String | [required] | ||
wid | String | [required] | ||
nid | 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_assembly_definition(did, wvm, wvmid, eid, link_document_id, include_mate_features, include_non_solids, include_mate_connectors, configuration)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] | ||
link_document_id | Option<String> | |||
include_mate_features | Option<bool> | |||
include_non_solids | Option<bool> | |||
include_mate_connectors | Option<bool> | |||
configuration | 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_bill_of_materials(did, wvm, wvmid, eid, metadata_workspace_id, bom_column_ids, indented, multi_level, generate_if_absent, link_document_id, configuration)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] | ||
metadata_workspace_id | Option<String> | [default to ] | ||
bom_column_ids | Option<Vec> | |||
indented | Option<bool> | [default to true] | ||
multi_level | Option<bool> | [default to false] | ||
generate_if_absent | Option<bool> | [default to false] | ||
link_document_id | Option<String> | |||
configuration | 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_bounding_boxes(did, wvm, wvmid, eid, link_document_id, include_hidden, display_state_id, configuration, exploded_view_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] | ||
link_document_id | Option<String> | |||
include_hidden | Option<bool> | |||
display_state_id | Option<String> | |||
configuration | Option<String> | |||
exploded_view_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_feature_specs(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_features(did, wvm, wvmid, eid, feature_id, link_document_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] | ||
feature_id | Option<Vec> | |||
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_named_views(did, eid, skip_perspective)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
eid | String | [required] | ||
skip_perspective | Option<bool> | [default to true] |
(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_or_create_bill_of_materials_element(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]
get_shaded_views(did, wvm, wvmid, eid, link_document_id, view_matrix, output_height, output_width, pixel_size, edges, show_all_parts, include_surfaces, use_anti_aliasing, display_state_id, configuration, exploded_view_id)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
eid | String | [required] | ||
link_document_id | Option<String> | |||
view_matrix | Option<String> | [default to front] | ||
output_height | Option<i32> | [default to 500] | ||
output_width | Option<i32> | [default to 500] | ||
pixel_size | Option<f64> | [default to 0.003] | ||
edges | Option<String> | [default to show] | ||
show_all_parts | Option<bool> | [default to false] | ||
include_surfaces | Option<bool> | [default to true] | ||
use_anti_aliasing | Option<bool> | [default to false] | ||
display_state_id | Option<String> | |||
configuration | Option<String> | |||
exploded_view_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_translator_formats(did, wid, eid, check_content)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
check_content | Option<bool> | [default to true] |
(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]
insert_transformed_instances(did, eid, wid, bt_assembly_transformed_instances_definition_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
eid | String | [required] | ||
wid | String | [required] | ||
bt_assembly_transformed_instances_definition_params | BtAssemblyTransformedInstancesDefinitionParams | [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]
transform_occurrences(did, eid, wid, bt_assembly_transform_definition_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
eid | String | [required] | ||
wid | String | [required] | ||
bt_assembly_transform_definition_params | BtAssemblyTransformDefinitionParams | [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]
translate_format(did, wv, wvid, eid, bt_translate_format_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wv | String | [required] | ||
wvid | String | [required] | ||
eid | String | [required] | ||
bt_translate_format_params | BtTranslateFormatParams | [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_feature(did, wid, eid, fid, body)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
fid | 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]