- Security
- Authorization Clients
- Remote OAuth Clients
- List
- Add filter
- REST API
Retrieve all existing Remote oauth clients:
Retrieve all existing Remote oauth clients you have previously created.
get https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json
tenant_access_key='...' tenant_access_token='...' curl -X GET \ -H "X-Tenant-Access-Key: ${tenant_access_key}" \ -H "X-Tenant-Access-Token: ${tenant_access_token}" \ -H "Content-Type: application/json" \ -d '{"page":1,"limit":25,"order":"id"}' \ "https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json"
$tenant_access_key = '...'; $tenant_access_token = '...'; $uri = "https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json"; $headers = array( "Content-Type: application/json", "X-Tenant-Access-Key: ${tenant_access_key}", "X-Tenant-Access-Token: ${tenant_access_token}" ); $options = array( 'http' => array( 'header' => implode($headers, "\r\n"), 'method' => 'GET', 'content' => '{"page":1,"limit":25,"order":"id"}' ) ); $context = stream_context_create($options); $response = file_get_contents($uri, false, $context); print_r(json_decode($response, true));
require 'rest-client' require 'json' tenant_access_key = '...' tenant_access_token = '...' response = RestClient::Request.execute( :url => "https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json", :method => 'GET', :payload => '{"page":1,"limit":25,"order":"id"}', :headers => { 'Content-Type' => 'application/json', 'X-Tenant-Access-Key' => tenant_access_key, 'X-Tenant-Access-Token' => tenant_access_token } ) puts JSON.parse(response.body)
import json from requests import Request, Session tenant_access_key = '...' tenant_access_token = '...' uri = 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json' % (tenant_access_key, tenant_access_token) options = { 'headers': { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, 'data': json.dumps({"page":1,"limit":25,"order":"id"}) }; session = Session() request = Request('GET', uri, **options) prepped = request.prepare() response = session.send(prepped) print(response.json())
var request = require('request'), tenant_access_key = '...', tenant_access_token = '...', options = { method: 'GET', url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json', headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, json: true, qs: {"page":1,"limit":25,"order":"id"} }; request(options, function (error, response, data) { if (error) throw error; console.log(data); });
var tenant_access_key = '...', tenant_access_token = '...'; jQuery.ajax({ url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json', method: 'GET', dataType: 'json', crossOrigin: true, headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, data: {"page":1,"limit":25,"order":"id"}, success: function(data, textStatus, jqXHR) { console.log(data); } });
Create an Remote oauth client:
Creates the specified Remote oauth client. Any parameters not provided will be left unchanged.
post https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json
tenant_access_key='...' tenant_access_token='...' curl -X POST \ -H "X-Tenant-Access-Key: ${tenant_access_key}" \ -H "X-Tenant-Access-Token: ${tenant_access_token}" \ -H "Content-Type: application/json" \ -d '{"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}' \ "https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json"
$tenant_access_key = '...'; $tenant_access_token = '...'; $uri = "https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json"; $headers = array( "Content-Type: application/json", "X-Tenant-Access-Key: ${tenant_access_key}", "X-Tenant-Access-Token: ${tenant_access_token}" ); $options = array( 'http' => array( 'header' => implode($headers, "\r\n"), 'method' => 'POST', 'content' => '{"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}' ) ); $context = stream_context_create($options); $response = file_get_contents($uri, false, $context); print_r(json_decode($response, true));
require 'rest-client' require 'json' tenant_access_key = '...' tenant_access_token = '...' response = RestClient::Request.execute( :url => "https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json", :method => 'POST', :payload => '{"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}', :headers => { 'Content-Type' => 'application/json', 'X-Tenant-Access-Key' => tenant_access_key, 'X-Tenant-Access-Token' => tenant_access_token } ) puts JSON.parse(response.body)
import json from requests import Request, Session tenant_access_key = '...' tenant_access_token = '...' uri = 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json' % (tenant_access_key, tenant_access_token) options = { 'headers': { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, 'data': json.dumps({"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}) }; session = Session() request = Request('POST', uri, **options) prepped = request.prepare() response = session.send(prepped) print(response.json())
var request = require('request'), tenant_access_key = '...', tenant_access_token = '...', options = { method: 'POST', url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json', headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, json: true, body: {"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""} }; request(options, function (error, response, data) { if (error) throw error; console.log(data); });
var tenant_access_key = '...', tenant_access_token = '...'; jQuery.ajax({ url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client.json', method: 'POST', dataType: 'json', crossOrigin: true, headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, data: JSON.stringify({"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}), success: function(data, textStatus, jqXHR) { console.log(data); } });
Retrieve an existing Remote oauth client:
Retrieves the details of an existing Remote oauth client. You need only supply the unique Remote oauth client identifier that was returned upon Remote oauth client creation.
get https://connect.velosimo.io/api/v2/setup/remote_oauth_client/{id}.json
tenant_access_key='...' tenant_access_token='...' id='...' curl -X GET \ -H "X-Tenant-Access-Key: ${tenant_access_key}" \ -H "X-Tenant-Access-Token: ${tenant_access_token}" \ -H "Content-Type: application/json" \ "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json"
$tenant_access_key = '...'; $tenant_access_token = '...'; $id = '...'; $uri = "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json"; $headers = array( "Content-Type: application/json", "X-Tenant-Access-Key: ${tenant_access_key}", "X-Tenant-Access-Token: ${tenant_access_token}" ); $options = array( 'http' => array( 'header' => implode($headers, "\r\n"), 'method' => 'GET', ) ); $context = stream_context_create($options); $response = file_get_contents($uri, false, $context); print_r(json_decode($response, true));
require 'rest-client' require 'json' tenant_access_key = '...' tenant_access_token = '...' id = '...' response = RestClient::Request.execute( :url => "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/#{id}.json", :method => 'GET', :headers => { 'Content-Type' => 'application/json', 'X-Tenant-Access-Key' => tenant_access_key, 'X-Tenant-Access-Token' => tenant_access_token } ) puts JSON.parse(response.body)
from requests import Request, Session tenant_access_key = '...' tenant_access_token = '...' id = '...' uri = 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/%s.json' % (tenant_access_key, tenant_access_token, id) options = { 'headers': { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, }; session = Session() request = Request('GET', uri, **options) prepped = request.prepare() response = session.send(prepped) print(response.json())
var request = require('request'), tenant_access_key = '...', tenant_access_token = '...', id = '...', options = { method: 'GET', url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json', headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, json: true, }; request(options, function (error, response, data) { if (error) throw error; console.log(data); });
var tenant_access_key = '...', tenant_access_token = '...', id = '...'; jQuery.ajax({ url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json', method: 'GET', dataType: 'json', crossOrigin: true, headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, success: function(data, textStatus, jqXHR) { console.log(data); } });
Update an Remote oauth client:
Updates the specified Remote oauth client. Any parameters not provided will be left unchanged.
post https://connect.velosimo.io/api/v2/setup/remote_oauth_client/{id}.json
tenant_access_key='...' tenant_access_token='...' id='...' curl -X POST \ -H "X-Tenant-Access-Key: ${tenant_access_key}" \ -H "X-Tenant-Access-Token: ${tenant_access_token}" \ -H "Content-Type: application/json" \ -d '{"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}' \ "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json"
$tenant_access_key = '...'; $tenant_access_token = '...'; $id = '...'; $uri = "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json"; $headers = array( "Content-Type: application/json", "X-Tenant-Access-Key: ${tenant_access_key}", "X-Tenant-Access-Token: ${tenant_access_token}" ); $options = array( 'http' => array( 'header' => implode($headers, "\r\n"), 'method' => 'POST', 'content' => '{"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}' ) ); $context = stream_context_create($options); $response = file_get_contents($uri, false, $context); print_r(json_decode($response, true));
require 'rest-client' require 'json' tenant_access_key = '...' tenant_access_token = '...' id = '...' response = RestClient::Request.execute( :url => "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/#{id}.json", :method => 'POST', :payload => '{"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}', :headers => { 'Content-Type' => 'application/json', 'X-Tenant-Access-Key' => tenant_access_key, 'X-Tenant-Access-Token' => tenant_access_token } ) puts JSON.parse(response.body)
import json from requests import Request, Session tenant_access_key = '...' tenant_access_token = '...' id = '...' uri = 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/%s.json' % (tenant_access_key, tenant_access_token, id) options = { 'headers': { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, 'data': json.dumps({"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}) }; session = Session() request = Request('POST', uri, **options) prepped = request.prepare() response = session.send(prepped) print(response.json())
var request = require('request'), tenant_access_key = '...', tenant_access_token = '...', id = '...', options = { method: 'POST', url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json', headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, json: true, body: {"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""} }; request(options, function (error, response, data) { if (error) throw error; console.log(data); });
var tenant_access_key = '...', tenant_access_token = '...', id = '...'; jQuery.ajax({ url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json', method: 'POST', dataType: 'json', crossOrigin: true, headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, data: JSON.stringify({"name":"","provider_id":{},"creator_id":{},"updater_id":{},"tenant_id":{},"identifier":"","secret":""}), success: function(data, textStatus, jqXHR) { console.log(data); } });
Delete an existing Remote oauth client:
Permanently deletes an existing Remote oauth client. It cannot be undone.
delete https://connect.velosimo.io/api/v2/setup/remote_oauth_client/{id}.json
tenant_access_key='...' tenant_access_token='...' id='...' curl -X DELETE \ -H "X-Tenant-Access-Key: ${tenant_access_key}" \ -H "X-Tenant-Access-Token: ${tenant_access_token}" \ -H "Content-Type: application/json" \ "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json"
$tenant_access_key = '...'; $tenant_access_token = '...'; $id = '...'; $uri = "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json"; $headers = array( "Content-Type: application/json", "X-Tenant-Access-Key: ${tenant_access_key}", "X-Tenant-Access-Token: ${tenant_access_token}" ); $options = array( 'http' => array( 'header' => implode($headers, "\r\n"), 'method' => 'DELETE', ) ); $context = stream_context_create($options); $response = file_get_contents($uri, false, $context); print_r(json_decode($response, true));
require 'rest-client' require 'json' tenant_access_key = '...' tenant_access_token = '...' id = '...' response = RestClient::Request.execute( :url => "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/#{id}.json", :method => 'DELETE', :headers => { 'Content-Type' => 'application/json', 'X-Tenant-Access-Key' => tenant_access_key, 'X-Tenant-Access-Token' => tenant_access_token } ) puts JSON.parse(response.body)
from requests import Request, Session tenant_access_key = '...' tenant_access_token = '...' id = '...' uri = 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/%s.json' % (tenant_access_key, tenant_access_token, id) options = { 'headers': { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, }; session = Session() request = Request('DELETE', uri, **options) prepped = request.prepare() response = session.send(prepped) print(response.json())
var request = require('request'), tenant_access_key = '...', tenant_access_token = '...', id = '...', options = { method: 'DELETE', url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json', headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, json: true, }; request(options, function (error, response, data) { if (error) throw error; console.log(data); });
var tenant_access_key = '...', tenant_access_token = '...', id = '...'; jQuery.ajax({ url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}.json', method: 'DELETE', dataType: 'json', crossOrigin: true, headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, success: function(data, textStatus, jqXHR) { console.log(data); } });
Retrieve one attribute of an existing Remote oauth client:
Retrieves one attribute of an existing Remote oauth client.
get https://connect.velosimo.io/api/v2/setup/remote_oauth_client/{id}/{view}.json
tenant_access_key='...' tenant_access_token='...' id='...' view='...' curl -X GET \ -H "X-Tenant-Access-Key: ${tenant_access_key}" \ -H "X-Tenant-Access-Token: ${tenant_access_token}" \ -H "Content-Type: application/json" \ "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}/${view}.json"
$tenant_access_key = '...'; $tenant_access_token = '...'; $id = '...'; $view = '...'; $uri = "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}/${view}.json"; $headers = array( "Content-Type: application/json", "X-Tenant-Access-Key: ${tenant_access_key}", "X-Tenant-Access-Token: ${tenant_access_token}" ); $options = array( 'http' => array( 'header' => implode($headers, "\r\n"), 'method' => 'GET', ) ); $context = stream_context_create($options); $response = file_get_contents($uri, false, $context); print_r(json_decode($response, true));
require 'rest-client' require 'json' tenant_access_key = '...' tenant_access_token = '...' id = '...' view = '...' response = RestClient::Request.execute( :url => "https://connect.velosimo.io/api/v2/setup/remote_oauth_client/#{id}/#{view}.json", :method => 'GET', :headers => { 'Content-Type' => 'application/json', 'X-Tenant-Access-Key' => tenant_access_key, 'X-Tenant-Access-Token' => tenant_access_token } ) puts JSON.parse(response.body)
from requests import Request, Session tenant_access_key = '...' tenant_access_token = '...' id = '...' view = '...' uri = 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/%s/%s.json' % (tenant_access_key, tenant_access_token, id, view) options = { 'headers': { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, }; session = Session() request = Request('GET', uri, **options) prepped = request.prepare() response = session.send(prepped) print(response.json())
var request = require('request'), tenant_access_key = '...', tenant_access_token = '...', id = '...', view = '...', options = { method: 'GET', url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}/${view}.json', headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, json: true, }; request(options, function (error, response, data) { if (error) throw error; console.log(data); });
var tenant_access_key = '...', tenant_access_token = '...', id = '...', view = '...'; jQuery.ajax({ url: 'https://connect.velosimo.io/api/v2/setup/remote_oauth_client/${id}/${view}.json', method: 'GET', dataType: 'json', crossOrigin: true, headers: { 'Content-Type': 'application/json', 'X-Tenant-Access-Key': tenant_access_key, 'X-Tenant-Access-Token': tenant_access_token }, success: function(data, textStatus, jqXHR) { console.log(data); } });