Revision

Get all revisions for a company.

See API Guide: Release Management for more details.

  • Returns a list of limit size of all objects per API call.
  • To get the next set of results, use the next URL from the response body.
  • Do not change any other query parameters during subsequent enumeration.
  • Persist after query param value and use it to begin a fresh enumeration at a later date.
  • This API can only be called by company admins.
get/revisions/companies/{cid}

Request

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

Path parameters

cidstring required

The company or enterprise ID that owns the resource.

Query parameters

elementTypeinteger

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

limitinteger

The number of list entries to return in a single API call.

latestOnlyboolean

Whether to limit search to only latest revisions.

afterstring date-time

The earliest creation date of the revision to find.

Response

default response

Changes

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