All URIs are relative to https://cad.onshape.com
Method | HTTP request | Description |
---|---|---|
create_translation | Post /api/translations/d/{did}/w/{wid} | |
delete_translation | Delete /api/translations/{tid} | |
get_document_translations | Get /api/translations/d/{did} | |
get_translation | Get /api/translations/{tid} | |
get_translator_formats5 | Get /api/translations/translationformats |
create_translation(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]
delete_translation(tid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tid | 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_document_translations(did, offset, limit)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
did | String | [required] | ||
offset | Option<i32> | [default to 0] | ||
limit | Option<i32> | [default to 20] |
(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_translation(tid)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tid | 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_translator_formats5()
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]