Revision

Get the latest revision information for a part.

Changed on

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://api.onshape.com/api/v17
  • URL
    https://api.onshape.com/api/v17/revisions/{cd}/{cdid}/p/{pnum}/latest
  • Auth
    OAuth 2 and HTTP basic
    Authorization code: /oauth/authorize
    Token URL: /oauth/token scopes: OAuth2Read

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

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status