Thinkcode.RabbitMQ.OpenAPI.Api.BindingsApi
May 13, 2019 ยท View on GitHub
All URIs are relative to http://mb1.bus.adaptive.me/rabbitmq/api
| Method | HTTP request | Description |
|---|---|---|
| CreateBindingsForQueueExchange | POST /bindings/{vhost}/e/{exchange}/q/{queue} | Create Bindings for Queue |
| DeleteBindingForQueueExchange | DELETE /bindings/{vhost}/e/{exchange}/q/{queue}/{propertyKey} | Delete Binding for Queue |
| GetBindingForQueueExchange | GET /bindings/{vhost}/e/{exchange}/q/{queue}/{propertyKey} | Get Binding for Queue |
| ListBindings | GET /bindings | List Bindings |
| ListBindingsAsDestination | GET /exchanges/{vhost}/{exchange}/bindings/destination | List Bindings as Destination |
| ListBindingsAsSource | GET /exchanges/{vhost}/{exchange}/bindings/source | List Bindings as Source |
| ListBindingsForQueue | GET /queues/{vhost}/{queue}/bindings | List All Bindings for Queue |
| ListBindingsForQueueExchange | GET /bindings/{vhost}/e/{exchange}/q/{queue} | List Bindings for Queue |
CreateBindingsForQueueExchange
void CreateBindingsForQueueExchange (string vhost, string exchange, string queue, BindingRequest body = null)
Create Bindings for Queue
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class CreateBindingsForQueueExchangeExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
var vhost = vhost_example; // string |
var exchange = exchange_example; // string |
var queue = queue_example; // string |
var body = new BindingRequest(); // BindingRequest | (optional)
try
{
// Create Bindings for Queue
apiInstance.CreateBindingsForQueueExchange(vhost, exchange, queue, body);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.CreateBindingsForQueueExchange: " + e.Message );
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vhost | string | ||
| exchange | string | ||
| queue | string | ||
| body | BindingRequest | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteBindingForQueueExchange
void DeleteBindingForQueueExchange (string vhost, string exchange, string queue, string propertyKey)
Delete Binding for Queue
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class DeleteBindingForQueueExchangeExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
var vhost = vhost_example; // string |
var exchange = exchange_example; // string |
var queue = queue_example; // string |
var propertyKey = propertyKey_example; // string |
try
{
// Delete Binding for Queue
apiInstance.DeleteBindingForQueueExchange(vhost, exchange, queue, propertyKey);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.DeleteBindingForQueueExchange: " + e.Message );
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vhost | string | ||
| exchange | string | ||
| queue | string | ||
| propertyKey | string |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetBindingForQueueExchange
Binding GetBindingForQueueExchange (string vhost, string exchange, string queue, string propertyKey)
Get Binding for Queue
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class GetBindingForQueueExchangeExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
var vhost = vhost_example; // string |
var exchange = exchange_example; // string |
var queue = queue_example; // string |
var propertyKey = propertyKey_example; // string |
try
{
// Get Binding for Queue
Binding result = apiInstance.GetBindingForQueueExchange(vhost, exchange, queue, propertyKey);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.GetBindingForQueueExchange: " + e.Message );
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vhost | string | ||
| exchange | string | ||
| queue | string | ||
| propertyKey | string |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListBindings
List
ListBindings ()
List Bindings
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class ListBindingsExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
try
{
// List Bindings
List<Binding> result = apiInstance.ListBindings();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.ListBindings: " + e.Message );
}
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListBindingsAsDestination
List
ListBindingsAsDestination (string vhost, string exchange)
List Bindings as Destination
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class ListBindingsAsDestinationExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
var vhost = vhost_example; // string |
var exchange = exchange_example; // string |
try
{
// List Bindings as Destination
List<Binding> result = apiInstance.ListBindingsAsDestination(vhost, exchange);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.ListBindingsAsDestination: " + e.Message );
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vhost | string | ||
| exchange | string |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListBindingsAsSource
List
ListBindingsAsSource (string vhost, string exchange)
List Bindings as Source
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class ListBindingsAsSourceExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
var vhost = vhost_example; // string |
var exchange = exchange_example; // string |
try
{
// List Bindings as Source
List<Binding> result = apiInstance.ListBindingsAsSource(vhost, exchange);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.ListBindingsAsSource: " + e.Message );
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vhost | string | ||
| exchange | string |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListBindingsForQueue
List
ListBindingsForQueue (string vhost, string queue)
List All Bindings for Queue
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class ListBindingsForQueueExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
var vhost = vhost_example; // string |
var queue = queue_example; // string |
try
{
// List All Bindings for Queue
List<Binding> result = apiInstance.ListBindingsForQueue(vhost, queue);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.ListBindingsForQueue: " + e.Message );
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vhost | string | ||
| queue | string |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListBindingsForQueueExchange
List
ListBindingsForQueueExchange (string vhost, string exchange, string queue)
List Bindings for Queue
Example
using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;
namespace Example
{
public class ListBindingsForQueueExchangeExample
{
public void main()
{
// Configure HTTP basic authorization: basic_auth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new BindingsApi();
var vhost = vhost_example; // string |
var exchange = exchange_example; // string |
var queue = queue_example; // string |
try
{
// List Bindings for Queue
List<Binding> result = apiInstance.ListBindingsForQueueExchange(vhost, exchange, queue);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BindingsApi.ListBindingsForQueueExchange: " + e.Message );
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| vhost | string | ||
| exchange | string | ||
| queue | string |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]