Revision

Get the latest revision information for a part.

See API Guide: Release Management for more details. Returns 204 if no revisions are found.

get/revisions/{cd}/{cdid}/p/{pnum}/latest

Request

  • Base URL: https://cad.onshape.com/api/v17
  • URL: https://cad.onshape.com/api/v17/revisions/{cd}/{cdid}/p/{pnum}/latest
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token, scopes: OAuth2Read) and HTTP basic

Path parameters

cdstring required

Use c to specify a company ID or d to specify a document ID.

cdidstring required

Company ID or document ID

pnumstring required

Part number.

Query parameters

etstring required

Element Type. Must be one of: -1: Unknown, 0: Part Studio, 1: Assembly, 2: Drawing. 4 : Blob, 8: Variable Studio

Response

default response

Changes

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