{
  "opencollection": "1.0.0",
  "info": {
    "name": "iTwin Synchronization 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": "Connections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Connections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/synchronization/imodels/:iModelId/storageConnections",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Connections"
        },
        {
          "info": {
            "name": "Create Connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bentley.com/synchronization/imodels/:iModelId/storageConnections",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Connection"
        }
      ]
    },
    {
      "info": {
        "name": "Source Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Source Files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/synchronization/imodels/:iModelId/storageConnections/:connectionId/sourcefiles",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              },
              {
                "name": "connectionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Source Files"
        },
        {
          "info": {
            "name": "Create Source File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bentley.com/synchronization/imodels/:iModelId/storageConnections/:connectionId/sourcefiles",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              },
              {
                "name": "connectionId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Source File"
        }
      ]
    },
    {
      "info": {
        "name": "Runs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/synchronization/imodels/:iModelId/storageConnections/:connectionId/run",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              },
              {
                "name": "connectionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Runs"
        },
        {
          "info": {
            "name": "Create Run",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bentley.com/synchronization/imodels/:iModelId/storageConnections/:connectionId/run",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              },
              {
                "name": "connectionId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Run"
        }
      ]
    },
    {
      "info": {
        "name": "Connectors",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Connectors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/synchronization/connectors"
          },
          "docs": "Get Connectors"
        },
        {
          "info": {
            "name": "Create Connector",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bentley.com/synchronization/connectors",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Connector"
        }
      ]
    },
    {
      "info": {
        "name": "Authorization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Authorization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/synchronization/authorization-information"
          },
          "docs": "Get Authorization"
        },
        {
          "info": {
            "name": "Create Authorization",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bentley.com/synchronization/authorization-information",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Authorization"
        }
      ]
    }
  ],
  "bundled": true
}