Get Log Delivery Methods

Retrieves the available destinations for the delivery of log data.

Request

Retrieve delivery methods via the following request:

HTTP Method Request URI

GET

https://api.transactcdn.com/v2/mcc/rtld/delivery-methods

Request Headers

This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.

Request Body

Request body parameters are not required by this endpoint.

Response

The response to the above request includes an HTTP status code, response headers, and a response body.

Status Code

A status code indicates whether the request was successfully performed.

Response Headers

The response for this endpoint only includes standard HTTP response headers.

View common response headers.

Response Body

The response body for a successful request contains the following response elements:

Name Data Type Description

@id

String

Returns /v2/mcc/rtld/delivery-methods.

@type

String

Returns Collection.

items

Array

Contains the available destinations for log delivery.

code

String

items array

Identifies a log delivery destination by its code name. Reference this code name when defining or retrieving a RTLD configuration.

name

String

items array

Identifies a log delivery destination by its name.

total_items

Integer

Indicates the total number of log delivery destinations that were included in the response.

Errors

The response body for an unsuccessful request will contain an error response that provides additional information.

Sample Request and Response (JSON)

A sample JSON request is shown below.

GET https://api.transactcdn.com/v2/mcc/rtld/delivery-methods HTTP/1.1

Authorization: TOK:12345678-1234-1234-1234-1234567890ab

Accept: application/json

Content-Type: application/json

Host: api.transactcdn.com

A sample JSON response is shown below.

HTTP/1.1 200 OK

Cache-Control: no-cache

Content-Type: application/json; charset=utf-8

Date: Thu, 15 Apr 2021 12:00:00 GMT

Content-Length: 474

{
	"@id": "/v2/mcc/rtld/delivery-methods",
	"@type": "Collection",
	"items": [{
			"code": "aws_s3",
			"name": "AWS S3"
		}, {
			"code": "azure_blob_storage",
			"name": "Azure Blob Storage"
		}, {
			"code": "datadog",
			"name": "Datadog"
		}, {
			"code": "http_post",
			"name": "HTTP Post"
		}, {
			"code": "splunk_enterprise",
			"name": "Splunk Enterprise"
		}, {
			"code": "sumo_logic",
			"name": "Sumo Logic"
		}
	],
	"total_items": 6
}