BlobElement

Change the measurement units for the blob element.

Changed on
post/blobelements/d/{did}/w/{wid}/e/{eid}/units

Request

  • Base URL
    https://api.onshape.com/api/v17
  • Auth
    OAuth 2 and HTTP basic
    Authorization code/oauth/authorize
    Token URL/oauth/token
    ScopesOAuth2Write

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

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

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

unitsstring

Response

default response

accelerationUnitsstring
angleUnitsstring
angularVelocityUnitsstring
areaUnitsstring
dataTypestring
deletedboolean
densityUnitsstring
elementType'PARTSTUDIO' | 'ASSEMBLY' | 'DRAWING' | 'FEATURESTUDIO' | 'BLOB' | 'APPLICATION' | 'TABLE' | 'BILLOFMATERIALS' | 'VARIABLESTUDIO' | 'PUBLICATIONITEM' | 'IMPORTSTUDIO' | 'UNKNOWN'
energyUnitsstring
filenamestring
forceUnitsstring
foreignDataIdstring
frequencyUnitsstring
idstring
lengthUnitsstring
massUnitsstring
microversionIdstring
momentUnitsstring
namestring
pressureUnitsstring
prettyTypestring
safeToShowboolean
specifiedUnitstring
thumbnailsstring uri
timeUnitsstring
translationEventKeystring
translationIdstring
typestring
unupdatableboolean
volumeUnitsstring

Changes

    • warning

      added the new IMPORTSTUDIO enum value to the response property for the response status