Get all revisions for a part number.
Changed onYou can also request elementType in addition to partNumber since companies may or may not allow drawings to share part numbers with their parts/assemblies. To perform search without elementType, use elementType = -1 (UNKNOWN). See API Guide: Release Management for more details.
Request
- Base URLhttps://api.onshape.com/api/v17
- URLhttps://api.onshape.com/api/v17/revisions/companies/{cid}/partnumber/{pnum}
- AuthOAuth 2 and HTTP basicAuthorization code: /oauth/authorizeToken URL: /oauth/token scopes: OAuth2Read
Path parameters
The company or enterprise ID that owns the resource.
Part number.
Query parameters
Element Type. Must be one of: -1: Unknown, 0: Part Studio, 1: Assembly, 2: Drawing. 4 : Blob, 8: Variable Studio
Set to true to return a list of approvers. Default is false and will return null.
Set to true to return a list of export permissions. Default is false and will return null.
Whether the revision can change object type. Used in reuse part number flow.
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
- info
added the optional property
////to the response with the status - info
added the optional property
/////to the response with the status
- info