Service Bus API

Service Bus APU Reference

get  /archivist/v1/svcbussources

List all SvcBusSources

Description: List all SvcBusSources, the results will not contain secrets

null
Response Parameter Type Description
sources array Service bus
Responses Description
200A successful response.
401Returned when the user is not authenticated to the system.
403Returned when the user is not authorized to list SvcBusSources.
defaultAn unexpected error response.

post  /archivist/v1/svcbussources

Create new SvcBusSource

Description: Create a connection to service bus endpoint - archivist will store credentials provided and sync events

{
  "connection_string": "Endpoint=sb://svcbussource-ns-jitsuin-te-1521552-cbcab4b965.servicebus.windows.net/;SharedAccessKeyName=iothubowner;SharedAccessKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=;EntityPath=jitsuin-test-iot-hub",
  "display_name": "Jitsuin",
  "queue_name": "iothub"
}
Parameter Type Description
connection_string string Connection String to Service bus endpoint
display_name string The displayable name of the subscription.
queue_name string Service bus queue name

{
  "display_name": "Jitsuin",
  "identity": "svcbussources/20c97f42-87fc-482c-9d58-4d11abd33359"
}
Response Parameter Type Description
display_name string The displayable name of the subscription.
identity string Relative resource name for the subscription. e.g. svcbussources/20c97f42-87fc-482c-9d58-4d11abd33359
queue_name string Service bus queue name
status string Service bus subscription status
Responses Description
200A successful response.
401Returned when the user is not authenticated to the system.
403Returned when the user is not authorized to create SvcBusSource.
429Returned when the number of concurrent subscriptions exceeds capacity (default=2).
defaultAn unexpected error response.

delete  /archivist/v1/{identity}

Delete SvcBusSource

Description: Delete SvcBusSource with provided connection_identity

{
  "display_name": "Jitsuin",
  "identity": "svcbussources/20c97f42-87fc-482c-9d58-4d11abd33359"
}
Response Parameter Type Description
display_name string The displayable name of the subscription.
identity string Relative resource name for the subscription. e.g. svcbussources/20c97f42-87fc-482c-9d58-4d11abd33359
queue_name string Service bus queue name
status string Service bus subscription status
Responses Description
200A successful response.
401Returned when the user is not authenticated to the system.
403Returned when the user is not authorized to delete SvcBusSources.
defaultAn unexpected error response.

get  /archivist/v1/{identity}

Get SvcBusSource with provided identity

Description: Get SvcBusSource with provided identity, response will not include the secret

{
  "display_name": "Jitsuin",
  "identity": "svcbussources/20c97f42-87fc-482c-9d58-4d11abd33359"
}
Response Parameter Type Description
display_name string The displayable name of the subscription.
identity string Relative resource name for the subscription. e.g. svcbussources/20c97f42-87fc-482c-9d58-4d11abd33359
queue_name string Service bus queue name
status string Service bus subscription status
Responses Description
200A successful response.
401Returned when the user is not authenticated to the system.
403Returned when the user is not authorized to get SvcBusSource.
defaultAn unexpected error response.

Edit this page on GitHub