{
  "opencollection": "1.0.0",
  "info": {
    "name": "Onshape REST Account Sketch API",
    "version": "1.218.84032-34acba44be17"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Sketch",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get information for all sketches in Part Studio.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cad.onshape.com/api/v16/partstudios/d/:did/:wvm/:wvmid/e/:eid/sketches",
            "params": [
              {
                "name": "did",
                "value": "",
                "type": "path"
              },
              {
                "name": "wvm",
                "value": "",
                "type": "path"
              },
              {
                "name": "wvmid",
                "value": "",
                "type": "path"
              },
              {
                "name": "eid",
                "value": "",
                "type": "path"
              },
              {
                "name": "configuration",
                "value": "",
                "type": "query",
                "description": "URL-encoded string of configuration values (separated by `;`). See the [Configurations API Guide](https://onshape-public.github.io/docs/api-adv/configs/) for details."
              },
              {
                "name": "sketchId",
                "value": "",
                "type": "query"
              },
              {
                "name": "output3D",
                "value": "",
                "type": "query"
              },
              {
                "name": "curvePoints",
                "value": "",
                "type": "query"
              },
              {
                "name": "includeGeometry",
                "value": "",
                "type": "query"
              },
              {
                "name": "linkDocumentId",
                "value": "",
                "type": "query",
                "description": "Id of document that links to the document being accessed. This may provide additional access rights to the document. Allowed only with version (v) path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get information for all sketches in Part Studio."
        },
        {
          "info": {
            "name": "Get all bounding boxes for a sketch.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cad.onshape.com/api/v16/partstudios/d/:did/:wvm/:wvmid/e/:eid/sketches/:sid/boundingboxes",
            "params": [
              {
                "name": "did",
                "value": "",
                "type": "path"
              },
              {
                "name": "wvm",
                "value": "",
                "type": "path"
              },
              {
                "name": "wvmid",
                "value": "",
                "type": "path"
              },
              {
                "name": "eid",
                "value": "",
                "type": "path"
              },
              {
                "name": "sid",
                "value": "",
                "type": "path"
              },
              {
                "name": "configuration",
                "value": "",
                "type": "query"
              },
              {
                "name": "linkDocumentId",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get all bounding boxes for a sketch."
        },
        {
          "info": {
            "name": "Get the tessellations of a sketch in a Part Studio.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cad.onshape.com/api/v16/partstudios/d/:did/:wvm/:wvmid/e/:eid/sketches/:sid/tessellatedentities",
            "params": [
              {
                "name": "did",
                "value": "",
                "type": "path"
              },
              {
                "name": "wvm",
                "value": "",
                "type": "path"
              },
              {
                "name": "wvmid",
                "value": "",
                "type": "path"
              },
              {
                "name": "eid",
                "value": "",
                "type": "path"
              },
              {
                "name": "sid",
                "value": "",
                "type": "path"
              },
              {
                "name": "configuration",
                "value": "",
                "type": "query"
              },
              {
                "name": "entityId",
                "value": "",
                "type": "query"
              },
              {
                "name": "angleTolerance",
                "value": "",
                "type": "query"
              },
              {
                "name": "chordTolerance",
                "value": "",
                "type": "query"
              },
              {
                "name": "linkDocumentId",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "The accuracy of the tessellation to exact geometry is controlled by the `angleTolerance` and `chordTolerance` parameters. The tessellation points are computed closely enough so that neither the angle tolerance nor the chord tolerance are exceeded. For most parts, the angular tolerance is the most restrictive of the two default tolerances."
        }
      ]
    }
  ],
  "bundled": true
}