All URIs are relative to https://cad.onshape.com
Method | HTTP request | Description |
---|---|---|
copy_workspace | Post /api/documents/{did}/workspaces/{wid}/copy | |
create_document | Post /api/documents | Create document. |
create_version | Post /api/documents/d/{did}/versions | |
create_workspace | Post /api/documents/d/{did}/workspaces | |
delete7 | Delete /api/documents/{did} | |
delete_workspace | Delete /api/documents/d/{did}/workspaces/{wid} | |
download_external_data | Get /api/documents/d/{did}/externaldata/{fid} | Download External Data |
export2_json | Post /api/documents/d/{did}/{wv}/{wvid}/e/{eid}/export | |
get_acl | Get /api/documents/{did}/acl | |
get_current_microversion | Get /api/documents/d/{did}/{wv}/{wvid}/currentmicroversion | Get Current Document Microversion |
get_document | Get /api/documents/{did} | Get Document |
get_document_permission_set | Get /api/documents/{did}/permissionset | |
get_documents | Get /api/documents | Get Documents |
get_elements1 | Get /api/documents/d/{did}/{wvm}/{wvmid}/elements | Get a list of elements in the workspace, version, or microversion of the document. |
get_insertables | Get /api/documents/d/{did}/{wvm}/{wvmid}/insertables | |
get_version | Get /api/documents/d/{did}/versions/{vid} | Get Version |
get_versions1 | Get /api/documents/d/{did}/versions | Get Versions |
get_workspaces1 | Get /api/documents/d/{did}/workspaces | Get Workspaces |
merge_into_workspace | Post /api/documents/{did}/workspaces/{wid}/merge | Merge into workspace |
restore_rendition | Post /api/documents/{did}/workspaces/{wid}/restore/{mvid} | |
sync_application_elements | Post /api/documents/d/{did}/w/{wid}/syncApplicationElements | |
update_external_references_to_latest_documents | Post /api/documents/d/{did}/w/{wid}/e/{eid}/latestdocumentreferences |
copy_workspace(did, wid, bt_copy_document_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
bt_copy_document_params | Option<BtCopyDocumentParams> |
(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]
crate::models::BtDocumentInfo create_document(bt_document_params) Create document.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
bt_document_params | BtDocumentParams | [required] |
- 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_version(did, bt_version_or_workspace_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
bt_version_or_workspace_params | BtVersionOrWorkspaceParams | [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_workspace(did, bt_version_or_workspace_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
bt_version_or_workspace_params | Option<BtVersionOrWorkspaceParams> |
(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]
delete7(did, forever)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
forever | 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]
delete_workspace(did, wid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | 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]
std::path::PathBuf download_external_data(did, fid, if_none_match) Download External Data
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
fid | String | [required] | ||
if_none_match | Option<String> |
std::path::PathBuf
- Content-Type: Not defined
- Accept: application/vnd.onshape.v1+json;charset=UTF-8;qs=0.1, application/json;charset=UTF-8; qs=0.09, application/vnd.onshape.v1+octet-stream;charset=UTF-8;qs=0.1, application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
export2_json(did, wv, wvid, eid, bt_export_model_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wv | String | [required] | ||
wvid | String | [required] | ||
eid | String | [required] | ||
bt_export_model_params | Option<BtExportModelParams> |
(empty response body)
- Content-Type: application/json;charset=UTF-8; qs=0.09
- Accept: application/vnd.onshape.v1+octet-stream;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_acl(did)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | 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]
crate::models::BtMicroversionInfo get_current_microversion(did, wv, wvid) Get Current Document Microversion
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wv | String | [required] | ||
wvid | String | [required] |
crate::models::BtMicroversionInfo
- 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]
crate::models::BtDocumentInfo get_document(did) Get Document
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [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_document_permission_set(did)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | 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]
crate::models::BtGlobalTreeNodeListResponse get_documents(q, filter, owner, owner_type, sort_column, sort_order, offset, limit, label, project, parent_id) Get Documents
Name | Type | Description | Required | Notes |
---|---|---|---|---|
q | Option<String> | [default to ] | ||
filter | Option<i32> | |||
owner | Option<String> | [default to ] | ||
owner_type | Option<i32> | [default to 1] | ||
sort_column | Option<String> | [default to createdAt] | ||
sort_order | Option<String> | [default to desc] | ||
offset | Option<i32> | [default to 0] | ||
limit | Option<i32> | [default to 20] | ||
label | Option<String> | |||
project | Option<String> | |||
parent_id | Option<String> |
crate::models::BtGlobalTreeNodeListResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::BtDocumentElementInfo get_elements1(did, wvm, wvmid, element_type, element_id, with_thumbnails, link_document_id) Get a list of elements in the workspace, version, or microversion of the document.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
element_type | Option<String> | [default to ] | ||
element_id | Option<String> | [default to ] | ||
with_thumbnails | Option<bool> | [default to false] | ||
link_document_id | Option<String> |
Veccrate::models::BtDocumentElementInfo
- 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_insertables(did, wvm, wvmid, beta_capability_ids, include_parts, include_surfaces, include_wires, include_sketches, include_reference_features, include_assemblies, include_features, include_feature_studios, include_part_studios, include_blobs, include_meshes, include_flattened_bodies, allowed_blob_mime_types, max_feature_script_version, include_applications, allowed_application_mime_types)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wvm | String | [required] | ||
wvmid | String | [required] | ||
beta_capability_ids | Option<Vec> | |||
include_parts | Option<bool> | [default to false] | ||
include_surfaces | Option<bool> | [default to false] | ||
include_wires | Option<bool> | [default to false] | ||
include_sketches | Option<bool> | [default to false] | ||
include_reference_features | Option<bool> | [default to false] | ||
include_assemblies | Option<bool> | [default to false] | ||
include_features | Option<bool> | [default to false] | ||
include_feature_studios | Option<bool> | [default to false] | ||
include_part_studios | Option<bool> | [default to false] | ||
include_blobs | Option<bool> | [default to false] | ||
include_meshes | Option<bool> | [default to false] | ||
include_flattened_bodies | Option<bool> | [default to false] | ||
allowed_blob_mime_types | Option<String> | [default to ] | ||
max_feature_script_version | Option<i32> | [default to 0] | ||
include_applications | Option<bool> | [default to false] | ||
allowed_application_mime_types | Option<String> | [default to ] |
(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]
crate::models::BtVersionInfo get_version(did, vid, parents, link_document_id) Get Version
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
vid | String | [required] | ||
parents | Option<bool> | [default to false] | ||
link_document_id | Option<String> |
- 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]
Veccrate::models::BtVersionInfo get_versions1(did, offset, limit) Get Versions
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
offset | Option<i32> | [default to 0] | ||
limit | Option<i32> | [default to 0] |
Veccrate::models::BtVersionInfo
- 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]
Veccrate::models::BtWorkspaceInfo get_workspaces1(did) Get Workspaces
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] |
Veccrate::models::BtWorkspaceInfo
- 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]
crate::models::BtDocumentMergeInfo merge_into_workspace(did, wid, bt_version_or_workspace_info) Merge into workspace
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
bt_version_or_workspace_info | BtVersionOrWorkspaceInfo | [required] |
crate::models::BtDocumentMergeInfo
- 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]
restore_rendition(did, wid, mvid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
mvid | 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]
sync_application_elements(did, wid, application_element_ids, description)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
application_element_ids | Vec | [required] | ||
description | 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]
update_external_references_to_latest_documents(did, wid, eid, bt_link_to_latest_document_params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
wid | String | [required] | ||
eid | String | [required] | ||
bt_link_to_latest_document_params | Option<BtLinkToLatestDocumentParams> |
(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]