{ "opencollection": "1.0.0", "info": { "name": "Resistant Documents Submission Tenants API", "version": "2.0.0b" }, "items": [ { "info": { "name": "Tenants", "type": "folder" }, "items": [ { "info": { "name": "List tenants", "type": "http" }, "http": { "method": "GET", "url": "https://{environment}.resistant.ai/tenants", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "after_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List organization tenants" }, { "info": { "name": "Create tenant", "type": "http" }, "http": { "method": "POST", "url": "https://{environment}.resistant.ai/tenants", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create tenant in the managed organization" }, { "info": { "name": "Fetch tenant", "type": "http" }, "http": { "method": "GET", "url": "https://{environment}.resistant.ai/tenants/:tenant_id", "params": [ { "name": "tenant_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Fetch tenant details" }, { "info": { "name": "Delete tenant", "type": "http" }, "http": { "method": "DELETE", "url": "https://{environment}.resistant.ai/tenants/:tenant_id", "params": [ { "name": "tenant_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete organization Tenant" }, { "info": { "name": "List tenant applications", "type": "http" }, "http": { "method": "GET", "url": "https://{environment}.resistant.ai/tenants/:tenant_id/applications", "params": [ { "name": "tenant_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List applications for a tenant" }, { "info": { "name": "Create tenant application", "type": "http" }, "http": { "method": "POST", "url": "https://{environment}.resistant.ai/tenants/:tenant_id/applications", "params": [ { "name": "tenant_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates application for a tenant" }, { "info": { "name": "Fetch tenant application", "type": "http" }, "http": { "method": "GET", "url": "https://{environment}.resistant.ai/tenants/:tenant_id/applications/:application_id", "params": [ { "name": "tenant_id", "value": "", "type": "path" }, { "name": "application_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Fetch the application for the tenant" }, { "info": { "name": "Delete tenant application", "type": "http" }, "http": { "method": "DELETE", "url": "https://{environment}.resistant.ai/tenants/:tenant_id/applications/:application_id", "params": [ { "name": "tenant_id", "value": "", "type": "path" }, { "name": "application_id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://eu.id.resistant.ai/oauth2/aus2un1hkrKhPjir4417/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete the application for the tenant" } ] } ], "bundled": true }