{ "opencollection": "1.0.0", "info": { "name": "iTwin Control Access Named Versions 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": "Named Versions", "type": "folder" }, "items": [ { "info": { "name": "Get Named Versions", "type": "http" }, "http": { "method": "GET", "url": "https://api.bentley.com/accesscontrol/:iModelId/namedversions", "params": [ { "name": "iModelId", "value": "", "type": "path" } ] }, "docs": "Get Named Versions" }, { "info": { "name": "Create Named Version", "type": "http" }, "http": { "method": "POST", "url": "https://api.bentley.com/accesscontrol/:iModelId/namedversions", "params": [ { "name": "iModelId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create Named Version" }, { "info": { "name": "Get Named Version", "type": "http" }, "http": { "method": "GET", "url": "https://api.bentley.com/accesscontrol/:iModelId/namedversions/:namedVersionId", "params": [ { "name": "iModelId", "value": "", "type": "path" }, { "name": "namedVersionId", "value": "", "type": "path" } ] }, "docs": "Get Named Version" } ] } ], "bundled": true }