Drawing

Create a new drawing in a document.

This endpoint takes a JSON Schema as input. See the schema docs below for details, and see API Guide: Drawings for more information.

post/drawings/d/{did}/w/{wid}/create

Request

  • Base URL: https://cad.onshape.com/api/v17
  • URL: https://cad.onshape.com/api/v17/drawings/d/{did}/w/{wid}/create
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token, scopes: OAuth2Write) and HTTP basic

Path parameters

didstring required

ID of the document in which to create the drawing.

widstring required

ID of the workspace in which to create the drawing.

Response

default response

Changes

No recorded changes to this operation across all 1 revision of this API.