{
  "opencollection": "1.0.0",
  "info": {
    "name": "Onshape REST Account StandardContent API",
    "version": "1.218.84032-34acba44be17"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "StandardContent",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Sets the part number and description for a standard content component.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cad.onshape.com/api/v16/standardcontent/d/:did/customparameters",
            "params": [
              {
                "name": "did",
                "value": "",
                "type": "path",
                "description": "Document ID."
              },
              {
                "name": "companyId",
                "value": "",
                "type": "query",
                "description": "The id of the company that owns the metadata to be modified."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Sets the part number and description for a standard content component."
        },
        {
          "info": {
            "name": "Gets all possible values for each of the standard content parameters.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cad.onshape.com/api/v16/standardcontent/d/:did/parametervalues",
            "params": [
              {
                "name": "did",
                "value": "",
                "type": "path",
                "description": "Document ID."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Gets all possible values for each of the standard content parameters."
        },
        {
          "info": {
            "name": "List all standard content.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cad.onshape.com/api/v16/standardcontent/list",
            "params": [
              {
                "name": "standard",
                "value": "",
                "type": "query",
                "description": "If provided, list only standard content corresponding to this standard."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/oauth/authorize",
              "accessTokenUrl": "/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List all standard content."
        }
      ]
    }
  ],
  "bundled": true
}