Variables

Set the scope the Variable Studio.

post/variables/d/{did}/w/{wid}/e/{eid}/variablestudioscope

Request

  • Base URL
    https://api.onshape.com/api/v17
  • URL
    https://api.onshape.com/api/v17/variables/d/{did}/w/{wid}/e/{eid}/variablestudioscope
  • Auth
    OAuth 2 and HTTP basic
    Authorization code: /oauth/authorize
    Token URL: /oauth/token scopes: OAuth2Write

Path parameters

didstring required

The id of the document in which to perform the operation.

widstring required

The id of the workspace in which to perform the operation.

eidstring required

Query parameters

linkDocumentIdstring

The id of the document through which the above document should be accessed; only applicable when accessing a version of the document. This allows a user who has access to document a to see data from document b, as long as document b has been linked to document a by a user who has permission to both.

Request body

isAutomaticallyInsertedboolean required

Whether variable studio is automatically inserted into part studios and assemblies in the workspace

Response

default response

Changes

No recorded changes to this operation across all 12 revisions of this API.