{
  "opencollection": "1.0.0",
  "info": {
    "name": "iTwin Control Access Components API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://ims.bentley.com/connect/authorize",
      "accessTokenUrl": "https://ims.bentley.com/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Components",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Components",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/accesscontrol/catalogs/:catalogId/components",
            "params": [
              {
                "name": "catalogId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Components"
        },
        {
          "info": {
            "name": "Create Component",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bentley.com/accesscontrol/catalogs/:catalogId/components",
            "params": [
              {
                "name": "catalogId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Component"
        },
        {
          "info": {
            "name": "Get Components",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/accesscontrol/catalogs/:catalogId/components/:componentId",
            "params": [
              {
                "name": "catalogId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Components"
        },
        {
          "info": {
            "name": "Update Component",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.bentley.com/accesscontrol/catalogs/:catalogId/components/:componentId",
            "params": [
              {
                "name": "catalogId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Component"
        },
        {
          "info": {
            "name": "Delete Component",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.bentley.com/accesscontrol/catalogs/:catalogId/components/:componentId",
            "params": [
              {
                "name": "catalogId",
                "value": "",
                "type": "path"
              },
              {
                "name": "componentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Component"
        }
      ]
    }
  ],
  "bundled": true
}