Get all revisions for a part number.
You 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 URL: https://cad.onshape.com/api/v17
- URL: https://cad.onshape.com/api/v17/revisions/companies/{cid}/partnumber/{pnum}
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token, scopes: OAuth2Read) and HTTP basic
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
No recorded changes to this operation across all 1 revision of this API.