Rest APIs
Andy X is an open-source distributed streaming platform designed to deliver the best performance possible for high-performance data pipelines, streaming analytics, streaming between microservices and data integrations.
- Authentication
- get__api_v3_activities_tenants_count
- get__api_v3_activities_products_count
- get__api_v3_activities_components_count
- get__api_v3_activities_topics_count
- get__api_v3_activities_subscriptions_count
- get__api_v3_activities_producers_count
- get__api_v3_activities_subscriptions
- get__api_v3_activities_producers
- get__api_v3_clusters
- get__api_v3_clusters_nodes_current
- get__api_v3_tenants_{tenant}products{product}_components
- get__api_v3_tenants_{tenant}products{product}components{component}
- post__api_v3_tenants_{tenant}products{product}components{component}
- put__api_v3_tenants_{tenant}products{product}components{component}
- delete__api_v3_tenants_{tenant}products{product}components{component}
- get__api_v3_tenants_{tenant}products{product}components{component}_settings
- put__api_v3_tenants_{tenant}products{product}components{component}_settings
- post__api_v3_tenants_{tenant}products{product}components{component}_tokens
- get__api_v3_tenants_{tenant}products{product}components{component}_tokens
- put__api_v3_tenants_{tenant}products{product}components{component}tokens{key}_revoke
- get__api_v3_tenants_{tenant}products{product}components{component}tokens{key}
- get__api_v3_tenants_{tenant}products{product}components{component}_retentions
- post__api_v3_tenants_{tenant}products{product}components{component}_retentions
- put__api_v3_tenants_{tenant}products{product}components{component}retentions{id}
- delete__api_v3_tenants_{tenant}products{product}components{component}retentions{id}
- get__api_v3_node_version
- get__api_v3_node_users_role
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_producers
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
- post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
- delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
- get__api_v3_tenants_{tenant}_products
- get__api_v3_tenants_{tenant}products{product}
- post__api_v3_tenants_{tenant}products{product}
- put__api_v3_tenants_{tenant}products{product}
- delete__api_v3_tenants_{tenant}products{product}_delete
- get__api_v3_tenants_{tenant}products{product}_settings
- put__api_v3_tenants_{tenant}products{product}_settings
- post__api_v3_tenants_{tenant}products{product}_tokens
- get__api_v3_tenants_{tenant}products{product}_tokens
- put__api_v3_tenants_{tenant}products{product}tokens{key}_revoke
- get__api_v3_tenants_{tenant}products{product}tokens{key}
- get__api_v3_tenants_{tenant}products{product}_retentions
- post__api_v3_tenants_{tenant}products{product}_retentions
- put__api_v3_tenants_{tenant}products{product}retentions{id}
- delete__api_v3_tenants_{tenant}products{product}retentions{id}
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_subscriptions
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
- post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
- delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
- get__api_v3_tenants
- get__api_v3_tenants_{tenant}
- post__api_v3_tenants_{tenant}
- put__api_v3_tenants_{tenant}_activate
- put__api_v3_tenants_{tenant}_deactivate
- delete__api_v3_tenants_{tenant}_delete
- get__api_v3_tenants_{tenant}_settings
- put__api_v3_tenants_{tenant}_settings
- get__api_v3_tenants_{tenant}_tokens
- post__api_v3_tenants_{tenant}_tokens
- get__api_v3_tenants_{tenant}tokens{key}
- put__api_v3_tenants_{tenant}tokens{key}_revoke
- get__api_v3_tenants_{tenant}_retentions
- post__api_v3_tenants_{tenant}_retentions
- put__api_v3_tenants_{tenant}retentions{id}
- delete__api_v3_tenants_{tenant}retentions{id}
- get__api_v3_tenants_{tenant}products{product}components{component}_topics
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- put__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_settings
- put__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_settings
- Schemas
On this page
- Authentication
- get__api_v3_activities_tenants_count
- get__api_v3_activities_products_count
- get__api_v3_activities_components_count
- get__api_v3_activities_topics_count
- get__api_v3_activities_subscriptions_count
- get__api_v3_activities_producers_count
- get__api_v3_activities_subscriptions
- get__api_v3_activities_producers
- get__api_v3_clusters
- get__api_v3_clusters_nodes_current
- get__api_v3_tenants_{tenant}products{product}_components
- get__api_v3_tenants_{tenant}products{product}components{component}
- post__api_v3_tenants_{tenant}products{product}components{component}
- put__api_v3_tenants_{tenant}products{product}components{component}
- delete__api_v3_tenants_{tenant}products{product}components{component}
- get__api_v3_tenants_{tenant}products{product}components{component}_settings
- put__api_v3_tenants_{tenant}products{product}components{component}_settings
- post__api_v3_tenants_{tenant}products{product}components{component}_tokens
- get__api_v3_tenants_{tenant}products{product}components{component}_tokens
- put__api_v3_tenants_{tenant}products{product}components{component}tokens{key}_revoke
- get__api_v3_tenants_{tenant}products{product}components{component}tokens{key}
- get__api_v3_tenants_{tenant}products{product}components{component}_retentions
- post__api_v3_tenants_{tenant}products{product}components{component}_retentions
- put__api_v3_tenants_{tenant}products{product}components{component}retentions{id}
- delete__api_v3_tenants_{tenant}products{product}components{component}retentions{id}
- get__api_v3_node_version
- get__api_v3_node_users_role
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_producers
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
- post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
- delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
- get__api_v3_tenants_{tenant}_products
- get__api_v3_tenants_{tenant}products{product}
- post__api_v3_tenants_{tenant}products{product}
- put__api_v3_tenants_{tenant}products{product}
- delete__api_v3_tenants_{tenant}products{product}_delete
- get__api_v3_tenants_{tenant}products{product}_settings
- put__api_v3_tenants_{tenant}products{product}_settings
- post__api_v3_tenants_{tenant}products{product}_tokens
- get__api_v3_tenants_{tenant}products{product}_tokens
- put__api_v3_tenants_{tenant}products{product}tokens{key}_revoke
- get__api_v3_tenants_{tenant}products{product}tokens{key}
- get__api_v3_tenants_{tenant}products{product}_retentions
- post__api_v3_tenants_{tenant}products{product}_retentions
- put__api_v3_tenants_{tenant}products{product}retentions{id}
- delete__api_v3_tenants_{tenant}products{product}retentions{id}
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_subscriptions
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
- post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
- delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
- get__api_v3_tenants
- get__api_v3_tenants_{tenant}
- post__api_v3_tenants_{tenant}
- put__api_v3_tenants_{tenant}_activate
- put__api_v3_tenants_{tenant}_deactivate
- delete__api_v3_tenants_{tenant}_delete
- get__api_v3_tenants_{tenant}_settings
- put__api_v3_tenants_{tenant}_settings
- get__api_v3_tenants_{tenant}_tokens
- post__api_v3_tenants_{tenant}_tokens
- get__api_v3_tenants_{tenant}tokens{key}
- put__api_v3_tenants_{tenant}tokens{key}_revoke
- get__api_v3_tenants_{tenant}_retentions
- post__api_v3_tenants_{tenant}_retentions
- put__api_v3_tenants_{tenant}retentions{id}
- delete__api_v3_tenants_{tenant}retentions{id}
- get__api_v3_tenants_{tenant}products{product}components{component}_topics
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- put__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
- get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_settings
- put__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_settings
- Schemas

Authentication
- HTTP Authentication, scheme: basic Basic Authorization header using the Bearer scheme.
Activities
get__api_v3_activities_tenants_count
Code samples
## You can also use wget
curl -X GET /api/v3/activities/tenants/count \
-H 'Accept: application/json'
GET /api/v3/activities/tenants/count HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/tenants/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/tenants/count',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/tenants/count', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/tenants/count', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/tenants/count");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/tenants/count", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/tenants/count
Example responses
200 Response
0
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | integer |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_activities_products_count
Code samples
## You can also use wget
curl -X GET /api/v3/activities/products/count \
-H 'Accept: application/json'
GET /api/v3/activities/products/count HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/products/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/products/count',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/products/count', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/products/count', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/products/count");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/products/count", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/products/count
Example responses
200 Response
0
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | integer |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_activities_components_count
Code samples
## You can also use wget
curl -X GET /api/v3/activities/components/count \
-H 'Accept: application/json'
GET /api/v3/activities/components/count HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/components/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/components/count',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/components/count', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/components/count', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/components/count");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/components/count", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/components/count
Example responses
200 Response
0
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | integer |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_activities_topics_count
Code samples
## You can also use wget
curl -X GET /api/v3/activities/topics/count \
-H 'Accept: application/json'
GET /api/v3/activities/topics/count HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/topics/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/topics/count',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/topics/count', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/topics/count', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/topics/count");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/topics/count", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/topics/count
Example responses
200 Response
0
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | integer |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_activities_subscriptions_count
Code samples
## You can also use wget
curl -X GET /api/v3/activities/subscriptions/count \
-H 'Accept: application/json'
GET /api/v3/activities/subscriptions/count HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/subscriptions/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/subscriptions/count',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/subscriptions/count', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/subscriptions/count', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/subscriptions/count");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/subscriptions/count", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/subscriptions/count
Example responses
200 Response
0
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | integer |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_activities_producers_count
Code samples
## You can also use wget
curl -X GET /api/v3/activities/producers/count \
-H 'Accept: application/json'
GET /api/v3/activities/producers/count HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/producers/count',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/producers/count',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/producers/count', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/producers/count', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/producers/count");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/producers/count", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/producers/count
Example responses
200 Response
0
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | integer |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_activities_subscriptions
Code samples
## You can also use wget
curl -X GET /api/v3/activities/subscriptions \
-H 'Accept: application/json'
GET /api/v3/activities/subscriptions HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/subscriptions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/subscriptions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/subscriptions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/subscriptions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/subscriptions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/subscriptions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/subscriptions
Example responses
200 Response
[
{
"name": "string",
"location": "string",
"isActive": true
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [SubscriptionActivity] | false | none | none |
» name | string¦null | false | none | none |
» location | string¦null | false | none | none |
» isActive | boolean | false | none | none |
get__api_v3_activities_producers
Code samples
## You can also use wget
curl -X GET /api/v3/activities/producers \
-H 'Accept: application/json'
GET /api/v3/activities/producers HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/activities/producers',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/activities/producers',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/activities/producers', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/activities/producers', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/activities/producers");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/activities/producers", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/activities/producers
Example responses
200 Response
[
{
"key": "string",
"tenant": "string",
"name": "string",
"location": "string",
"isActive": true,
"instancesCount": 0
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [ProducerActivity] | false | none | none |
» key | string¦null | false | none | none |
» tenant | string¦null | false | none | none |
» name | string¦null | false | none | none |
» location | string¦null | false | none | none |
» isActive | boolean | false | none | none |
» instancesCount | integer(int32) | false | none | none |
Clusters
get__api_v3_clusters
Code samples
## You can also use wget
curl -X GET /api/v3/clusters \
-H 'Accept: application/json'
GET /api/v3/clusters HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/clusters',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/clusters',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/clusters', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/clusters', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/clusters");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/clusters", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/clusters
Example responses
200 Response
{
"inThroughputInMB": 0,
"outThroughputInMB": 0,
"activeDataIngestions": 0,
"activeSubscriptions": 0,
"name": "string",
"shardDistributionType": "Sync",
"status": "Online",
"shards": [
{
"replicaDistributionType": "Sync",
"replicas": [
{
"nodeId": "string",
"host": "string",
"port": "string",
"connectionType": "SSL",
"username": "string",
"password": "string",
"type": "Main",
"isConnected": true,
"isLocal": true,
"x509CertificateFile": "string",
"x509CertificatePassword": "string"
}
]
}
]
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Cluster |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_clusters_nodes_current
Code samples
## You can also use wget
curl -X GET /api/v3/clusters/nodes/current \
-H 'Accept: application/json'
GET /api/v3/clusters/nodes/current HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/clusters/nodes/current',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/clusters/nodes/current',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/clusters/nodes/current', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/clusters/nodes/current', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/clusters/nodes/current");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/clusters/nodes/current", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/clusters/nodes/current
Example responses
200 Response
{
"nodeId": "string",
"host": "string",
"port": "string",
"connectionType": "SSL",
"username": "string",
"password": "string",
"type": "Main",
"isConnected": true,
"isLocal": true,
"x509CertificateFile": "string",
"x509CertificatePassword": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Replica |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Components
get__api_v3_tenants_{tenant}products{product}_components
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
Example responses
200 Response
[
"string"
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
get__api_v3_tenants_{tenant}products{product}components{component}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"description": "string",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Component |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}products{product}components{component}
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/components/{component} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/components/{component} HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"isTopicAutomaticCreationAllowed": true,
"enforceSchemaValidation": true,
"isAuthorizationEnabled": true,
"isSubscriptionAutomaticCreationAllowed": true,
"isProducerAutomaticCreationAllowed": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/components/{component}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/components/{component}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/components/{component}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/components/{component}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}
Body parameter
{
"isTopicAutomaticCreationAllowed": true,
"enforceSchemaValidation": true,
"isAuthorizationEnabled": true,
"isSubscriptionAutomaticCreationAllowed": true,
"isProducerAutomaticCreationAllowed": true
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
description | query | string | false | none |
body | body | ComponentSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}components{component}
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/components/{component} \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/components/{component}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/components/{component}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/components/{component}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/components/{component}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
description | query | string | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}products{product}components{component}
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component} \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/products/{product}/components/{component}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/products/{product}/components/{component}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/products/{product}/components/{component}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/products/{product}/components/{component}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}components{component}_settings
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/settings \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/settings HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/settings
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
Example responses
200 Response
{
"isTopicAutomaticCreationAllowed": true,
"enforceSchemaValidation": true,
"isAuthorizationEnabled": true,
"isSubscriptionAutomaticCreationAllowed": true,
"isProducerAutomaticCreationAllowed": true
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | ComponentSettings |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}components{component}_settings
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/settings \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/settings HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"isTopicAutomaticCreationAllowed": true,
"enforceSchemaValidation": true,
"isAuthorizationEnabled": true,
"isSubscriptionAutomaticCreationAllowed": true,
"isProducerAutomaticCreationAllowed": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/settings
Body parameter
{
"isTopicAutomaticCreationAllowed": true,
"enforceSchemaValidation": true,
"isAuthorizationEnabled": true,
"isSubscriptionAutomaticCreationAllowed": true,
"isProducerAutomaticCreationAllowed": true
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
body | body | ComponentSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}products{product}components{component}_tokens
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"issuedFor": "string",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens
Body parameter
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"issuedFor": "string",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
body | body | ComponentToken | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}components{component}_tokens
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
Example responses
200 Response
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"issuedFor": "string",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [ComponentToken] | false | none | none |
» id | string(uuid) | false | none | none |
» roles | [ComponentTokenRole]¦null | false | none | none |
» isActive | boolean | false | none | none |
» expireDate | string(date-time) | false | none | none |
» issuedFor | string¦null | false | none | none |
» description | string¦null | false | none | none |
» issuedDate | string(date-time) | false | none | none |
» updatedDate | string(date-time)¦null | false | none | none |
» createdDate | string(date-time) | false | none | none |
» updatedBy | string¦null | false | none | none |
» createdBy | string¦null | false | none | none |
put__api_v3_tenants_{tenant}products{product}components{component}tokens{key}_revoke
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}/revoke
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
key | path | string(uuid) | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}components{component}tokens{key}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/tokens/{key}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
key | path | string(uuid) | true | none |
Example responses
200 Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"issuedFor": "string",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | ComponentToken |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}components{component}_retentions
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
Example responses
200 Response
[
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [ComponentRetention] | false | none | none |
» id | integer(int64) | false | none | none |
» name | string¦null | false | none | none |
» type | RetentionType | false | none | none |
» timeToLiveInMinutes | integer(int64) | false | none | none |
» updatedDate | string(date-time)¦null | false | none | none |
» createdDate | string(date-time) | false | none | none |
» updatedBy | string¦null | false | none | none |
» createdBy | string¦null | false | none | none |
Enumerated Values
Property | Value |
---|---|
type | SOFT_TTL |
type | HARD_TTL |
post__api_v3_tenants_{tenant}products{product}components{component}_retentions
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions
Body parameter
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
body | body | ComponentRetention | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}components{component}retentions{id}
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id} HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}
Body parameter
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
id | path | integer(int64) | true | none |
body | body | ComponentRetention | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}products{product}components{component}retentions{id}
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id} \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/retentions/{id}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
id | path | integer(int64) | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Node
get__api_v3_node_version
Code samples
## You can also use wget
curl -X GET /api/v3/node/version \
-H 'Accept: text/plain'
GET /api/v3/node/version HTTP/1.1
Accept: text/plain
const headers = {
'Accept':'text/plain'
};
fetch('/api/v3/node/version',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'text/plain'
}
result = RestClient.get '/api/v3/node/version',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'text/plain'
}
r = requests.get('/api/v3/node/version', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'text/plain',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/node/version', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/node/version");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"text/plain"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/node/version", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/node/version
Example responses
200 Response
{"name":"string","shortName":"string","version":"string"}
{
"name": "string",
"shortName": "string",
"version": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | ApplicationDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_node_users_role
Code samples
## You can also use wget
curl -X GET /api/v3/node/users/role \
-H 'Accept: text/plain'
GET /api/v3/node/users/role HTTP/1.1
Accept: text/plain
const headers = {
'Accept':'text/plain'
};
fetch('/api/v3/node/users/role',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'text/plain'
}
result = RestClient.get '/api/v3/node/users/role',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'text/plain'
}
r = requests.get('/api/v3/node/users/role', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'text/plain',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/node/users/role', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/node/users/role");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"text/plain"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/node/users/role", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/node/users/role
Example responses
200 Response
"string"
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
404 | Not Found | Not Found | ProblemDetails |
Producers
get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_producers
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
Example responses
200 Response
[
"string"
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
producer | path | string | true | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"description": "string",
"instanceType": "Single",
"publicIpRange": [
"string"
],
"privateIpRange": [
"string"
],
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Producer |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer} \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
producer | path | string | true | none |
description | query | string | false | none |
instanceType | query | ProducerInstanceType | false | none |
Enumerated Values
Parameter | Value |
---|---|
instanceType | Single |
instanceType | Multiple |
Example responses
200 Response
{
"tenant": "string",
"product": "string",
"component": "string",
"topic": "string",
"subscriptionName": "string",
"subscriptionType": "Unique",
"subscriptionMode": "Resilient",
"initialPosition": "Earliest",
"consumersConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"consumerExternalConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"currentConnectionIndex": 0,
"subscriptionPositionContext": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"createdDate": "2019-08-24T14:15:22Z"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Subscription |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}producers{producer}
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer} \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/producers/{producer}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
producer | path | string | true | none |
Example responses
200 Response
{
"tenant": "string",
"product": "string",
"component": "string",
"topic": "string",
"subscriptionName": "string",
"subscriptionType": "Unique",
"subscriptionMode": "Resilient",
"initialPosition": "Earliest",
"consumersConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"consumerExternalConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"currentConnectionIndex": 0,
"subscriptionPositionContext": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"createdDate": "2019-08-24T14:15:22Z"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Subscription |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Products
get__api_v3_tenants_{tenant}_products
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
[
"string"
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
get__api_v3_tenants_{tenant}products{product}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"description": "string",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Product |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}products{product}
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product} HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"isAuthorizationEnabled": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}
Body parameter
{
"isAuthorizationEnabled": true
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
description | query | string | false | none |
body | body | ProductSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product} \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
description | query | string | false | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"description": "string",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Product |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}products{product}_delete
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/products/{product}/delete \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/products/{product}/delete HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/delete',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/products/{product}/delete',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/products/{product}/delete', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/products/{product}/delete', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/delete");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/products/{product}/delete", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/products/{product}/delete
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}_settings
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/settings \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/settings HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/settings',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/settings
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
Example responses
200 Response
{
"isAuthorizationEnabled": true
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | ProductSettings |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}_settings
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/settings \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/settings HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"isAuthorizationEnabled": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/settings',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/settings
Body parameter
{
"isAuthorizationEnabled": true
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
body | body | ProductSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}products{product}_tokens
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/tokens \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/tokens HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/tokens',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/tokens',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/tokens', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/tokens', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/tokens");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/tokens", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/tokens
Body parameter
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
body | body | ProductToken | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}_tokens
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/tokens \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/tokens HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/tokens',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/tokens',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/tokens', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/tokens', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/tokens");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/tokens", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/tokens
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
Example responses
200 Response
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [ProductToken] | false | none | none |
» id | string(uuid) | false | none | none |
» roles | [ProductTokenRole]¦null | false | none | none |
» isActive | boolean | false | none | none |
» expireDate | string(date-time) | false | none | none |
» description | string¦null | false | none | none |
» issuedDate | string(date-time) | false | none | none |
» updatedDate | string(date-time)¦null | false | none | none |
» createdDate | string(date-time) | false | none | none |
» updatedBy | string¦null | false | none | none |
» createdBy | string¦null | false | none | none |
put__api_v3_tenants_{tenant}products{product}tokens{key}_revoke
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/tokens/{key}/revoke
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
key | path | string(uuid) | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}tokens{key}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/tokens/{key} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/tokens/{key} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/tokens/{key}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/tokens/{key}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/tokens/{key}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/tokens/{key}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/tokens/{key}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/tokens/{key}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/tokens/{key}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
key | path | string(uuid) | true | none |
product | path | string | true | none |
Example responses
200 Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | ProductToken |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}_retentions
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/retentions \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/retentions HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/retentions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/retentions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/retentions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/retentions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/retentions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/retentions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/retentions
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
Example responses
200 Response
[
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [ProductRetention] | false | none | none |
» id | integer(int64) | false | none | none |
» name | string¦null | false | none | none |
» type | RetentionType | false | none | none |
» timeToLiveInMinutes | integer(int64) | false | none | none |
» updatedDate | string(date-time)¦null | false | none | none |
» createdDate | string(date-time) | false | none | none |
» updatedBy | string¦null | false | none | none |
» createdBy | string¦null | false | none | none |
Enumerated Values
Property | Value |
---|---|
type | SOFT_TTL |
type | HARD_TTL |
post__api_v3_tenants_{tenant}products{product}_retentions
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/retentions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/retentions HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/retentions',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/retentions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/retentions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/retentions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/retentions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/retentions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/retentions
Body parameter
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
body | body | ProductRetention | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}retentions{id}
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/retentions/{id} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/retentions/{id} HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/retentions/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/retentions/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/retentions/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/retentions/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/retentions/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/retentions/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/retentions/{id}
Body parameter
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
id | path | integer(int64) | true | none |
body | body | ProductRetention | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}products{product}retentions{id}
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/products/{product}/retentions/{id} \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/products/{product}/retentions/{id} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/retentions/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/products/{product}/retentions/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/products/{product}/retentions/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/products/{product}/retentions/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/retentions/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/products/{product}/retentions/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/products/{product}/retentions/{id}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
id | path | integer(int64) | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Subscriptions
get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_subscriptions
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
Example responses
200 Response
[
"string"
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
subscription | path | string | true | none |
Example responses
200 Response
{
"tenant": "string",
"product": "string",
"component": "string",
"topic": "string",
"subscriptionName": "string",
"subscriptionType": "Unique",
"subscriptionMode": "Resilient",
"initialPosition": "Earliest",
"consumersConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"consumerExternalConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"currentConnectionIndex": 0,
"subscriptionPositionContext": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"createdDate": "2019-08-24T14:15:22Z"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Subscription |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription} \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
subscription | path | string | true | none |
subscriptionType | query | SubscriptionType | false | none |
subscriptionMode | query | SubscriptionMode | false | none |
initialPosition | query | InitialPosition | false | none |
Enumerated Values
Parameter | Value |
---|---|
subscriptionType | Unique |
subscriptionType | Failover |
subscriptionType | Shared |
subscriptionMode | Resilient |
subscriptionMode | NonResilient |
initialPosition | Earliest |
initialPosition | Latest |
Example responses
200 Response
{
"tenant": "string",
"product": "string",
"component": "string",
"topic": "string",
"subscriptionName": "string",
"subscriptionType": "Unique",
"subscriptionMode": "Resilient",
"initialPosition": "Earliest",
"consumersConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"consumerExternalConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"currentConnectionIndex": 0,
"subscriptionPositionContext": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"createdDate": "2019-08-24T14:15:22Z"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Subscription |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}subscriptions{subscription}
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription} \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/subscriptions/{subscription}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
subscription | path | string | true | none |
Example responses
200 Response
{
"tenant": "string",
"product": "string",
"component": "string",
"topic": "string",
"subscriptionName": "string",
"subscriptionType": "Unique",
"subscriptionMode": "Resilient",
"initialPosition": "Earliest",
"consumersConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"consumerExternalConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"currentConnectionIndex": 0,
"subscriptionPositionContext": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"createdDate": "2019-08-24T14:15:22Z"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Subscription |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Tenants
get__api_v3_tenants
Code samples
## You can also use wget
curl -X GET /api/v3/tenants \
-H 'Accept: application/json'
GET /api/v3/tenants HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants
Example responses
200 Response
[
"string"
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
get__api_v3_tenants_{tenant}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"isActive": true,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Tenant |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant} HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"isProductAutomaticCreationAllowed": true,
"isEncryptionEnabled": true,
"isAuthorizationEnabled": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}
Body parameter
{
"isProductAutomaticCreationAllowed": true,
"isEncryptionEnabled": true,
"isAuthorizationEnabled": true
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
body | body | TenantSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
put__api_v3_tenants_{tenant}_activate
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/activate \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/activate HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/activate',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/activate',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/activate', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/activate', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/activate");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/activate", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/activate
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"isActive": true,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Tenant |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}_deactivate
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/deactivate \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/deactivate HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/deactivate',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/deactivate',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/deactivate', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/deactivate', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/deactivate");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/deactivate", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/deactivate
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"isActive": true,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Tenant |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}_delete
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/delete \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/delete HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/delete',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/delete',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/delete', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/delete', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/delete");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/delete", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/delete
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}_settings
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/settings \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/settings HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/settings',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/settings
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
{
"isProductAutomaticCreationAllowed": true,
"isEncryptionEnabled": true,
"isAuthorizationEnabled": true
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | TenantSettings |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}_settings
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/settings \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/settings HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"isProductAutomaticCreationAllowed": true,
"isEncryptionEnabled": true,
"isAuthorizationEnabled": true
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/settings',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/settings
Body parameter
{
"isProductAutomaticCreationAllowed": true,
"isEncryptionEnabled": true,
"isAuthorizationEnabled": true
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
body | body | TenantSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
get__api_v3_tenants_{tenant}_tokens
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/tokens \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/tokens HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/tokens',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/tokens',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/tokens', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/tokens', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/tokens");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/tokens", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/tokens
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
[
"string"
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
post__api_v3_tenants_{tenant}_tokens
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/tokens \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/tokens HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"isActive": true,
"roles": [
"Produce"
],
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/tokens',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/tokens',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/tokens', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/tokens', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/tokens");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/tokens", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/tokens
Body parameter
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"isActive": true,
"roles": [
"Produce"
],
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
body | body | TenantToken | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
get__api_v3_tenants_{tenant}tokens{key}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/tokens/{key} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/tokens/{key} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/tokens/{key}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/tokens/{key}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/tokens/{key}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/tokens/{key}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/tokens/{key}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/tokens/{key}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/tokens/{key}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
key | path | string(uuid) | true | none |
Example responses
200 Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"isActive": true,
"roles": [
"Produce"
],
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | TenantToken |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}tokens{key}_revoke
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/tokens/{key}/revoke \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/tokens/{key}/revoke HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/tokens/{key}/revoke',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/tokens/{key}/revoke',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/tokens/{key}/revoke', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/tokens/{key}/revoke', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/tokens/{key}/revoke");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/tokens/{key}/revoke", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/tokens/{key}/revoke
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
key | path | string(uuid) | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}_retentions
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/retentions \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/retentions HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/retentions',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/retentions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/retentions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/retentions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/retentions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/retentions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/retentions
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
Example responses
200 Response
[
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
Status Code 200
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | [TenantRetention] | false | none | none |
» id | integer(int64) | false | none | none |
» name | string¦null | false | none | none |
» type | RetentionType | false | none | none |
» timeToLiveInMinutes | integer(int64) | false | none | none |
» updatedDate | string(date-time)¦null | false | none | none |
» createdDate | string(date-time) | false | none | none |
» updatedBy | string¦null | false | none | none |
» createdBy | string¦null | false | none | none |
Enumerated Values
Property | Value |
---|---|
type | SOFT_TTL |
type | HARD_TTL |
post__api_v3_tenants_{tenant}_retentions
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/retentions \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/retentions HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/retentions',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/retentions',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/retentions', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/retentions', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/retentions");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/retentions", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/retentions
Body parameter
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
body | body | TenantRetention | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}retentions{id}
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/retentions/{id} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/retentions/{id} HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/retentions/{id}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/retentions/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/retentions/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/retentions/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/retentions/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/retentions/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/retentions/{id}
Body parameter
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
id | path | integer(int64) | true | none |
body | body | TenantRetention | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}retentions{id}
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/retentions/{id} \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/retentions/{id} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/retentions/{id}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/retentions/{id}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/retentions/{id}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/retentions/{id}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/retentions/{id}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/retentions/{id}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/retentions/{id}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
id | path | integer(int64) | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Topics
get__api_v3_tenants_{tenant}products{product}components{component}_topics
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
Example responses
200 Response
[
"string"
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Inline |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Response Schema
get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
Example responses
200 Response
{
"id": 0,
"name": "string",
"description": "string",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | Topic |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
post__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
Code samples
## You can also use wget
curl -X POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"writeBufferSizeInBytes": 0,
"maxWriteBufferNumber": 0,
"maxWriteBufferSizeToMaintain": 0,
"minWriteBufferNumberToMerge": 0,
"maxBackgroundCompactionsThreads": 0,
"maxBackgroundFlushesThreads": 0
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.post '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('POST','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
POST /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}
Body parameter
{
"writeBufferSizeInBytes": 0,
"maxWriteBufferNumber": 0,
"maxWriteBufferSizeToMaintain": 0,
"minWriteBufferNumberToMerge": 0,
"maxBackgroundCompactionsThreads": 0,
"maxBackgroundFlushesThreads": 0
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
description | query | string | false | none |
body | body | TopicSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
{
method: 'PUT',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
description | query | string | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
delete__api_v3_tenants_{tenant}products{product}components{component}topics{topic}
Code samples
## You can also use wget
curl -X DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} \
-H 'Accept: application/json'
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic} HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
{
method: 'DELETE',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.delete '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.delete('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('DELETE','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("DELETE");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("DELETE", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
DELETE /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
get__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_settings
Code samples
## You can also use wget
curl -X GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings \
-H 'Accept: application/json'
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings HTTP/1.1
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
Example responses
200 Response
{
"writeBufferSizeInBytes": 0,
"maxWriteBufferNumber": 0,
"maxWriteBufferSizeToMaintain": 0,
"minWriteBufferNumberToMerge": 0,
"maxBackgroundCompactionsThreads": 0,
"maxBackgroundFlushesThreads": 0
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | TopicSettings |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
put__api_v3_tenants_{tenant}products{product}components{component}topics{topic}_settings
Code samples
## You can also use wget
curl -X PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings HTTP/1.1
Content-Type: application/json
Accept: application/json
const inputBody = '{
"writeBufferSizeInBytes": 0,
"maxWriteBufferNumber": 0,
"maxWriteBufferSizeToMaintain": 0,
"minWriteBufferNumberToMerge": 0,
"maxBackgroundCompactionsThreads": 0,
"maxBackgroundFlushesThreads": 0
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/json',
'Accept' => 'application/json'
}
result = RestClient.put '/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.put('/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings', headers = headers)
print(r.json())
<?php
require 'vendor/autoload.php';
$headers = array(
'Content-Type' => 'application/json',
'Accept' => 'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('PUT','/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "/api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
PUT /api/v3/tenants/{tenant}/products/{product}/components/{component}/topics/{topic}/settings
Body parameter
{
"writeBufferSizeInBytes": 0,
"maxWriteBufferNumber": 0,
"maxWriteBufferSizeToMaintain": 0,
"minWriteBufferNumberToMerge": 0,
"maxBackgroundCompactionsThreads": 0,
"maxBackgroundFlushesThreads": 0
}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
tenant | path | string | true | none |
product | path | string | true | none |
component | path | string | true | none |
topic | path | string | true | none |
body | body | TopicSettings | false | none |
Example responses
200 Response
"string"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Success | string |
400 | Bad Request | Bad Request | ProblemDetails |
401 | Unauthorized | Unauthorized | ProblemDetails |
404 | Not Found | Not Found | ProblemDetails |
Schemas
ApplicationDetails
{
"name": "string",
"shortName": "string",
"version": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string¦null | false | none | none |
shortName | string¦null | false | none | none |
version | string¦null | false | none | none |
CascadeTiming
"Immediate"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Immediate |
anonymous | OnSaveChanges |
anonymous | Never |
ChangeTracker
{
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"debugView": {
"longView": "string",
"shortView": "string"
}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
autoDetectChangesEnabled | boolean | false | none | none |
lazyLoadingEnabled | boolean | false | none | none |
queryTrackingBehavior | QueryTrackingBehavior | false | none | none |
deleteOrphansTiming | CascadeTiming | false | none | none |
cascadeDeleteTiming | CascadeTiming | false | none | none |
context | DbContext | false | none | none |
debugView | DebugView | false | none | none |
Cluster
{
"inThroughputInMB": 0,
"outThroughputInMB": 0,
"activeDataIngestions": 0,
"activeSubscriptions": 0,
"name": "string",
"shardDistributionType": "Sync",
"status": "Online",
"shards": [
{
"replicaDistributionType": "Sync",
"replicas": [
{
"nodeId": "string",
"host": "string",
"port": "string",
"connectionType": "SSL",
"username": "string",
"password": "string",
"type": "Main",
"isConnected": true,
"isLocal": true,
"x509CertificateFile": "string",
"x509CertificatePassword": "string"
}
]
}
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
inThroughputInMB | integer(int64) | false | none | none |
outThroughputInMB | integer(int64) | false | none | none |
activeDataIngestions | integer(int64) | false | none | none |
activeSubscriptions | integer(int64) | false | none | none |
name | string¦null | false | none | none |
shardDistributionType | DistributionTypes | false | none | none |
status | ClusterStatus | false | none | none |
shards | [Shard]¦null | false | none | none |
ClusterStatus
"Online"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Online |
anonymous | PartiallyOnline |
anonymous | Starting |
anonymous | Offline |
anonymous | Restarting |
anonymous | Recovering |
anonymous | Disconnecting |
Component
{
"id": 0,
"name": "string",
"description": "string",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
description | string¦null | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
ComponentRetention
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
type | RetentionType | false | none | none |
timeToLiveInMinutes | integer(int64) | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
ComponentSettings
{
"isTopicAutomaticCreationAllowed": true,
"enforceSchemaValidation": true,
"isAuthorizationEnabled": true,
"isSubscriptionAutomaticCreationAllowed": true,
"isProducerAutomaticCreationAllowed": true
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
isTopicAutomaticCreationAllowed | boolean | false | none | none |
enforceSchemaValidation | boolean | false | none | none |
isAuthorizationEnabled | boolean | false | none | none |
isSubscriptionAutomaticCreationAllowed | boolean | false | none | none |
isProducerAutomaticCreationAllowed | boolean | false | none | none |
ComponentToken
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"issuedFor": "string",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string(uuid) | false | none | none |
roles | [ComponentTokenRole]¦null | false | none | none |
isActive | boolean | false | none | none |
expireDate | string(date-time) | false | none | none |
issuedFor | string¦null | false | none | none |
description | string¦null | false | none | none |
issuedDate | string(date-time) | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
ComponentTokenRole
"Produce"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Produce |
anonymous | Consume |
Consumer
{
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
subscription | string¦null | false | none | none |
id | string(uuid) | false | none | none |
name | string¦null | false | none | none |
connection | ConsumerConnection | false | none | none |
connectedDate | string(date-time) | false | none | none |
ConsumerConnection
{
"clientIpAddress": "string",
"serverIpAddress": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
clientIpAddress | string¦null | false | none | none |
serverIpAddress | string¦null | false | none | none |
DatabaseFacade
{
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
currentTransaction | IDbContextTransaction | false | none | none |
autoTransactionsEnabled | boolean | false | none | none |
autoSavepointsEnabled | boolean | false | none | none |
providerName | string¦null | false | read-only | none |
DbContext
{
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
database | DatabaseFacade | false | none | none |
changeTracker | ChangeTracker | false | none | none |
model | IModel | false | none | none |
contextId | DbContextId | false | none | none |
DbContextId
{
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
instanceId | string(uuid) | false | read-only | none |
lease | integer(int32) | false | none | none |
DebugView
{
"longView": "string",
"shortView": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
longView | string¦null | false | read-only | none |
shortView | string¦null | false | read-only | none |
DistributionTypes
"Sync"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Sync |
anonymous | Async |
IConstructorBindingFactory
{}
Properties
None
IDbContextTransaction
{
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
transactionId | string(uuid) | false | read-only | none |
supportsSavepoints | boolean | false | read-only | none |
IModel
{
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
modelDependencies | RuntimeModelDependencies | false | none | none |
IParameterBindingFactories
{}
Properties
None
ITypeMappingSource
{}
Properties
None
InitialPosition
"Earliest"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Earliest |
anonymous | Latest |
NodeConnectionType
"SSL"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | SSL |
anonymous | NON_SSL |
ProblemDetails
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
additionalProperties | any | false | none | none |
type | string¦null | false | none | none |
title | string¦null | false | none | none |
status | integer(int32)¦null | false | none | none |
detail | string¦null | false | none | none |
instance | string¦null | false | none | none |
Producer
{
"id": 0,
"name": "string",
"description": "string",
"instanceType": "Single",
"publicIpRange": [
"string"
],
"privateIpRange": [
"string"
],
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
description | string¦null | false | none | none |
instanceType | ProducerInstanceType | false | none | none |
publicIpRange | [string]¦null | false | none | none |
privateIpRange | [string]¦null | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
ProducerActivity
{
"key": "string",
"tenant": "string",
"name": "string",
"location": "string",
"isActive": true,
"instancesCount": 0
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
key | string¦null | false | none | none |
tenant | string¦null | false | none | none |
name | string¦null | false | none | none |
location | string¦null | false | none | none |
isActive | boolean | false | none | none |
instancesCount | integer(int32) | false | none | none |
ProducerInstanceType
"Single"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Single |
anonymous | Multiple |
Product
{
"id": 0,
"name": "string",
"description": "string",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
description | string¦null | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
ProductRetention
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
type | RetentionType | false | none | none |
timeToLiveInMinutes | integer(int64) | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
ProductSettings
{
"isAuthorizationEnabled": true
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
isAuthorizationEnabled | boolean | false | none | none |
ProductToken
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"roles": [
"Produce"
],
"isActive": true,
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string(uuid) | false | none | none |
roles | [ProductTokenRole]¦null | false | none | none |
isActive | boolean | false | none | none |
expireDate | string(date-time) | false | none | none |
description | string¦null | false | none | none |
issuedDate | string(date-time) | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
ProductTokenRole
"Produce"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Produce |
anonymous | Consume |
QueryTrackingBehavior
"TrackAll"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | TrackAll |
anonymous | NoTracking |
anonymous | NoTrackingWithIdentityResolution |
Replica
{
"nodeId": "string",
"host": "string",
"port": "string",
"connectionType": "SSL",
"username": "string",
"password": "string",
"type": "Main",
"isConnected": true,
"isLocal": true,
"x509CertificateFile": "string",
"x509CertificatePassword": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
nodeId | string¦null | false | none | none |
host | string¦null | false | none | none |
port | string¦null | false | none | none |
connectionType | NodeConnectionType | false | none | none |
username | string¦null | false | none | none |
password | string¦null | false | none | none |
type | ReplicaTypes | false | none | none |
isConnected | boolean | false | none | none |
isLocal | boolean | false | none | none |
x509CertificateFile | string¦null | false | none | none |
x509CertificatePassword | string¦null | false | none | none |
ReplicaTypes
"Main"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Main |
anonymous | Worker |
anonymous | BackupReplica |
RetentionType
"SOFT_TTL"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | SOFT_TTL |
anonymous | HARD_TTL |
RuntimeModelDependencies
{
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
typeMappingSource | ITypeMappingSource | false | none | none |
constructorBindingFactory | IConstructorBindingFactory | false | none | none |
parameterBindingFactories | IParameterBindingFactories | false | none | none |
Shard
{
"replicaDistributionType": "Sync",
"replicas": [
{
"nodeId": "string",
"host": "string",
"port": "string",
"connectionType": "SSL",
"username": "string",
"password": "string",
"type": "Main",
"isConnected": true,
"isLocal": true,
"x509CertificateFile": "string",
"x509CertificatePassword": "string"
}
]
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
replicaDistributionType | DistributionTypes | false | none | none |
replicas | [Replica]¦null | false | none | none |
Subscription
{
"tenant": "string",
"product": "string",
"component": "string",
"topic": "string",
"subscriptionName": "string",
"subscriptionType": "Unique",
"subscriptionMode": "Resilient",
"initialPosition": "Earliest",
"consumersConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"consumerExternalConnected": {
"property1": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
},
"property2": {
"subscription": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"connection": {
"clientIpAddress": "string",
"serverIpAddress": "string"
},
"connectedDate": "2019-08-24T14:15:22Z"
}
},
"currentConnectionIndex": 0,
"subscriptionPositionContext": {
"database": {
"currentTransaction": {
"transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
"supportsSavepoints": true
},
"autoTransactionsEnabled": true,
"autoSavepointsEnabled": true,
"providerName": "string"
},
"changeTracker": {
"autoDetectChangesEnabled": true,
"lazyLoadingEnabled": true,
"queryTrackingBehavior": "TrackAll",
"deleteOrphansTiming": "Immediate",
"cascadeDeleteTiming": "Immediate",
"context": {},
"debugView": {
"longView": "string",
"shortView": "string"
}
},
"model": {
"modelDependencies": {
"typeMappingSource": {},
"constructorBindingFactory": {},
"parameterBindingFactories": {}
}
},
"contextId": {
"instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
"lease": 0
}
},
"createdDate": "2019-08-24T14:15:22Z"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
tenant | string¦null | false | none | none |
product | string¦null | false | none | none |
component | string¦null | false | none | none |
topic | string¦null | false | none | none |
subscriptionName | string¦null | false | none | none |
subscriptionType | SubscriptionType | false | none | none |
subscriptionMode | SubscriptionMode | false | none | none |
initialPosition | InitialPosition | false | none | none |
consumersConnected | object¦null | false | none | none |
» additionalProperties | Consumer | false | none | none |
consumerExternalConnected | object¦null | false | none | none |
» additionalProperties | Consumer | false | none | none |
currentConnectionIndex | integer(int32) | false | none | none |
subscriptionPositionContext | DbContext | false | none | none |
createdDate | string(date-time) | false | none | none |
SubscriptionActivity
{
"name": "string",
"location": "string",
"isActive": true
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
name | string¦null | false | none | none |
location | string¦null | false | none | none |
isActive | boolean | false | none | none |
SubscriptionMode
"Resilient"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Resilient |
anonymous | NonResilient |
SubscriptionType
"Unique"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Unique |
anonymous | Failover |
anonymous | Shared |
Tenant
{
"id": 0,
"name": "string",
"isActive": true,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
isActive | boolean | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
TenantRetention
{
"id": 0,
"name": "string",
"type": "SOFT_TTL",
"timeToLiveInMinutes": 0,
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
type | RetentionType | false | none | none |
timeToLiveInMinutes | integer(int64) | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
TenantSettings
{
"isProductAutomaticCreationAllowed": true,
"isEncryptionEnabled": true,
"isAuthorizationEnabled": true
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
isProductAutomaticCreationAllowed | boolean | false | none | none |
isEncryptionEnabled | boolean | false | none | none |
isAuthorizationEnabled | boolean | false | none | none |
TenantToken
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"isActive": true,
"roles": [
"Produce"
],
"expireDate": "2019-08-24T14:15:22Z",
"description": "string",
"issuedDate": "2019-08-24T14:15:22Z",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | string(uuid) | false | none | none |
isActive | boolean | false | none | none |
roles | [TenantTokenRole]¦null | false | none | none |
expireDate | string(date-time) | false | none | none |
description | string¦null | false | none | none |
issuedDate | string(date-time) | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
TenantTokenRole
"Produce"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
anonymous | string | false | none | none |
Enumerated Values
Property | Value |
---|---|
anonymous | Produce |
anonymous | Consume |
Topic
{
"id": 0,
"name": "string",
"description": "string",
"updatedDate": "2019-08-24T14:15:22Z",
"createdDate": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"createdBy": "string"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer(int64) | false | none | none |
name | string¦null | false | none | none |
description | string¦null | false | none | none |
updatedDate | string(date-time)¦null | false | none | none |
createdDate | string(date-time) | false | none | none |
updatedBy | string¦null | false | none | none |
createdBy | string¦null | false | none | none |
TopicSettings
{
"writeBufferSizeInBytes": 0,
"maxWriteBufferNumber": 0,
"maxWriteBufferSizeToMaintain": 0,
"minWriteBufferNumberToMerge": 0,
"maxBackgroundCompactionsThreads": 0,
"maxBackgroundFlushesThreads": 0
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
writeBufferSizeInBytes | integer(int64) | false | none | none |
maxWriteBufferNumber | integer(int32) | false | none | none |
maxWriteBufferSizeToMaintain | integer(int32) | false | none | none |
minWriteBufferNumberToMerge | integer(int32) | false | none | none |
maxBackgroundCompactionsThreads | integer(int32) | false | none | none |
maxBackgroundFlushesThreads | integer(int32) | false | none | none |