POST BatchGetUserAccessTasks
{{baseUrl}}/useraccess/batchget
BODY json

{
  "appBundleIdentifier": "",
  "taskIdList": []
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/useraccess/batchget");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/useraccess/batchget" {:content-type :json
                                                                :form-params {:appBundleIdentifier ""
                                                                              :taskIdList []}})
require "http/client"

url = "{{baseUrl}}/useraccess/batchget"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/useraccess/batchget"),
    Content = new StringContent("{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/useraccess/batchget");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/useraccess/batchget"

	payload := strings.NewReader("{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/useraccess/batchget HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 51

{
  "appBundleIdentifier": "",
  "taskIdList": []
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/useraccess/batchget")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/useraccess/batchget"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/useraccess/batchget")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/useraccess/batchget")
  .header("content-type", "application/json")
  .body("{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}")
  .asString();
const data = JSON.stringify({
  appBundleIdentifier: '',
  taskIdList: []
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/useraccess/batchget');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/useraccess/batchget',
  headers: {'content-type': 'application/json'},
  data: {appBundleIdentifier: '', taskIdList: []}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/useraccess/batchget';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appBundleIdentifier":"","taskIdList":[]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/useraccess/batchget',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "appBundleIdentifier": "",\n  "taskIdList": []\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/useraccess/batchget")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/useraccess/batchget',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({appBundleIdentifier: '', taskIdList: []}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/useraccess/batchget',
  headers: {'content-type': 'application/json'},
  body: {appBundleIdentifier: '', taskIdList: []},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/useraccess/batchget');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  appBundleIdentifier: '',
  taskIdList: []
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/useraccess/batchget',
  headers: {'content-type': 'application/json'},
  data: {appBundleIdentifier: '', taskIdList: []}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/useraccess/batchget';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appBundleIdentifier":"","taskIdList":[]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"appBundleIdentifier": @"",
                              @"taskIdList": @[  ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/useraccess/batchget"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/useraccess/batchget" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/useraccess/batchget",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'appBundleIdentifier' => '',
    'taskIdList' => [
        
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/useraccess/batchget', [
  'body' => '{
  "appBundleIdentifier": "",
  "taskIdList": []
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/useraccess/batchget');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'appBundleIdentifier' => '',
  'taskIdList' => [
    
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'appBundleIdentifier' => '',
  'taskIdList' => [
    
  ]
]));
$request->setRequestUrl('{{baseUrl}}/useraccess/batchget');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/useraccess/batchget' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appBundleIdentifier": "",
  "taskIdList": []
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/useraccess/batchget' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appBundleIdentifier": "",
  "taskIdList": []
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/useraccess/batchget", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/useraccess/batchget"

payload = {
    "appBundleIdentifier": "",
    "taskIdList": []
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/useraccess/batchget"

payload <- "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/useraccess/batchget")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/useraccess/batchget') do |req|
  req.body = "{\n  \"appBundleIdentifier\": \"\",\n  \"taskIdList\": []\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/useraccess/batchget";

    let payload = json!({
        "appBundleIdentifier": "",
        "taskIdList": ()
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/useraccess/batchget \
  --header 'content-type: application/json' \
  --data '{
  "appBundleIdentifier": "",
  "taskIdList": []
}'
echo '{
  "appBundleIdentifier": "",
  "taskIdList": []
}' |  \
  http POST {{baseUrl}}/useraccess/batchget \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "appBundleIdentifier": "",\n  "taskIdList": []\n}' \
  --output-document \
  - {{baseUrl}}/useraccess/batchget
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "appBundleIdentifier": "",
  "taskIdList": []
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/useraccess/batchget")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST ConnectAppAuthorization
{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect
QUERY PARAMS

appBundleIdentifier
appAuthorizationIdentifier
BODY json

{
  "authRequest": {
    "redirectUri": "",
    "code": ""
  }
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect" {:content-type :json
                                                                                                                                  :form-params {:authRequest {:redirectUri ""
                                                                                                                                                              :code ""}}})
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect"),
    Content = new StringContent("{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect"

	payload := strings.NewReader("{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 64

{
  "authRequest": {
    "redirectUri": "",
    "code": ""
  }
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect")
  .header("content-type", "application/json")
  .body("{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}")
  .asString();
const data = JSON.stringify({
  authRequest: {
    redirectUri: '',
    code: ''
  }
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect',
  headers: {'content-type': 'application/json'},
  data: {authRequest: {redirectUri: '', code: ''}}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"authRequest":{"redirectUri":"","code":""}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "authRequest": {\n    "redirectUri": "",\n    "code": ""\n  }\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({authRequest: {redirectUri: '', code: ''}}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect',
  headers: {'content-type': 'application/json'},
  body: {authRequest: {redirectUri: '', code: ''}},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  authRequest: {
    redirectUri: '',
    code: ''
  }
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect',
  headers: {'content-type': 'application/json'},
  data: {authRequest: {redirectUri: '', code: ''}}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"authRequest":{"redirectUri":"","code":""}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"authRequest": @{ @"redirectUri": @"", @"code": @"" } };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'authRequest' => [
        'redirectUri' => '',
        'code' => ''
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect', [
  'body' => '{
  "authRequest": {
    "redirectUri": "",
    "code": ""
  }
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'authRequest' => [
    'redirectUri' => '',
    'code' => ''
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'authRequest' => [
    'redirectUri' => '',
    'code' => ''
  ]
]));
$request->setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "authRequest": {
    "redirectUri": "",
    "code": ""
  }
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "authRequest": {
    "redirectUri": "",
    "code": ""
  }
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect"

payload = { "authRequest": {
        "redirectUri": "",
        "code": ""
    } }
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect"

payload <- "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect') do |req|
  req.body = "{\n  \"authRequest\": {\n    \"redirectUri\": \"\",\n    \"code\": \"\"\n  }\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect";

    let payload = json!({"authRequest": json!({
            "redirectUri": "",
            "code": ""
        })});

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect \
  --header 'content-type: application/json' \
  --data '{
  "authRequest": {
    "redirectUri": "",
    "code": ""
  }
}'
echo '{
  "authRequest": {
    "redirectUri": "",
    "code": ""
  }
}' |  \
  http POST {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "authRequest": {\n    "redirectUri": "",\n    "code": ""\n  }\n}' \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect
import Foundation

let headers = ["content-type": "application/json"]
let parameters = ["authRequest": [
    "redirectUri": "",
    "code": ""
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier/connect")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST CreateAppAuthorization
{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations
QUERY PARAMS

appBundleIdentifier
BODY json

{
  "app": "",
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  },
  "authType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations" {:content-type :json
                                                                                              :form-params {:app ""
                                                                                                            :credential {:oauth2Credential ""
                                                                                                                         :apiKeyCredential ""}
                                                                                                            :tenant {:tenantIdentifier ""
                                                                                                                     :tenantDisplayName ""}
                                                                                                            :authType ""
                                                                                                            :clientToken ""
                                                                                                            :tags [{:key ""
                                                                                                                    :value ""}]}})
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"),
    Content = new StringContent("{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"

	payload := strings.NewReader("{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/appbundles/:appBundleIdentifier/appauthorizations HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 271

{
  "app": "",
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  },
  "authType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .header("content-type", "application/json")
  .body("{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  app: '',
  credential: {
    oauth2Credential: '',
    apiKeyCredential: ''
  },
  tenant: {
    tenantIdentifier: '',
    tenantDisplayName: ''
  },
  authType: '',
  clientToken: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations',
  headers: {'content-type': 'application/json'},
  data: {
    app: '',
    credential: {oauth2Credential: '', apiKeyCredential: ''},
    tenant: {tenantIdentifier: '', tenantDisplayName: ''},
    authType: '',
    clientToken: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"app":"","credential":{"oauth2Credential":"","apiKeyCredential":""},"tenant":{"tenantIdentifier":"","tenantDisplayName":""},"authType":"","clientToken":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "app": "",\n  "credential": {\n    "oauth2Credential": "",\n    "apiKeyCredential": ""\n  },\n  "tenant": {\n    "tenantIdentifier": "",\n    "tenantDisplayName": ""\n  },\n  "authType": "",\n  "clientToken": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/appauthorizations',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  app: '',
  credential: {oauth2Credential: '', apiKeyCredential: ''},
  tenant: {tenantIdentifier: '', tenantDisplayName: ''},
  authType: '',
  clientToken: '',
  tags: [{key: '', value: ''}]
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations',
  headers: {'content-type': 'application/json'},
  body: {
    app: '',
    credential: {oauth2Credential: '', apiKeyCredential: ''},
    tenant: {tenantIdentifier: '', tenantDisplayName: ''},
    authType: '',
    clientToken: '',
    tags: [{key: '', value: ''}]
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  app: '',
  credential: {
    oauth2Credential: '',
    apiKeyCredential: ''
  },
  tenant: {
    tenantIdentifier: '',
    tenantDisplayName: ''
  },
  authType: '',
  clientToken: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations',
  headers: {'content-type': 'application/json'},
  data: {
    app: '',
    credential: {oauth2Credential: '', apiKeyCredential: ''},
    tenant: {tenantIdentifier: '', tenantDisplayName: ''},
    authType: '',
    clientToken: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"app":"","credential":{"oauth2Credential":"","apiKeyCredential":""},"tenant":{"tenantIdentifier":"","tenantDisplayName":""},"authType":"","clientToken":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"app": @"",
                              @"credential": @{ @"oauth2Credential": @"", @"apiKeyCredential": @"" },
                              @"tenant": @{ @"tenantIdentifier": @"", @"tenantDisplayName": @"" },
                              @"authType": @"",
                              @"clientToken": @"",
                              @"tags": @[ @{ @"key": @"", @"value": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'app' => '',
    'credential' => [
        'oauth2Credential' => '',
        'apiKeyCredential' => ''
    ],
    'tenant' => [
        'tenantIdentifier' => '',
        'tenantDisplayName' => ''
    ],
    'authType' => '',
    'clientToken' => '',
    'tags' => [
        [
                'key' => '',
                'value' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations', [
  'body' => '{
  "app": "",
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  },
  "authType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'app' => '',
  'credential' => [
    'oauth2Credential' => '',
    'apiKeyCredential' => ''
  ],
  'tenant' => [
    'tenantIdentifier' => '',
    'tenantDisplayName' => ''
  ],
  'authType' => '',
  'clientToken' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'app' => '',
  'credential' => [
    'oauth2Credential' => '',
    'apiKeyCredential' => ''
  ],
  'tenant' => [
    'tenantIdentifier' => '',
    'tenantDisplayName' => ''
  ],
  'authType' => '',
  'clientToken' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "app": "",
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  },
  "authType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "app": "",
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  },
  "authType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/appbundles/:appBundleIdentifier/appauthorizations", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"

payload = {
    "app": "",
    "credential": {
        "oauth2Credential": "",
        "apiKeyCredential": ""
    },
    "tenant": {
        "tenantIdentifier": "",
        "tenantDisplayName": ""
    },
    "authType": "",
    "clientToken": "",
    "tags": [
        {
            "key": "",
            "value": ""
        }
    ]
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"

payload <- "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/appbundles/:appBundleIdentifier/appauthorizations') do |req|
  req.body = "{\n  \"app\": \"\",\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  },\n  \"authType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations";

    let payload = json!({
        "app": "",
        "credential": json!({
            "oauth2Credential": "",
            "apiKeyCredential": ""
        }),
        "tenant": json!({
            "tenantIdentifier": "",
            "tenantDisplayName": ""
        }),
        "authType": "",
        "clientToken": "",
        "tags": (
            json!({
                "key": "",
                "value": ""
            })
        )
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations \
  --header 'content-type: application/json' \
  --data '{
  "app": "",
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  },
  "authType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
echo '{
  "app": "",
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  },
  "authType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "app": "",\n  "credential": {\n    "oauth2Credential": "",\n    "apiKeyCredential": ""\n  },\n  "tenant": {\n    "tenantIdentifier": "",\n    "tenantDisplayName": ""\n  },\n  "authType": "",\n  "clientToken": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "app": "",
  "credential": [
    "oauth2Credential": "",
    "apiKeyCredential": ""
  ],
  "tenant": [
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  ],
  "authType": "",
  "clientToken": "",
  "tags": [
    [
      "key": "",
      "value": ""
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST CreateAppBundle
{{baseUrl}}/appbundles
BODY json

{
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/appbundles" {:content-type :json
                                                       :form-params {:clientToken ""
                                                                     :customerManagedKeyIdentifier ""
                                                                     :tags [{:key ""
                                                                             :value ""}]}})
require "http/client"

url = "{{baseUrl}}/appbundles"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/appbundles"),
    Content = new StringContent("{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles"

	payload := strings.NewReader("{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/appbundles HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 125

{
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/appbundles")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/appbundles")
  .header("content-type", "application/json")
  .body("{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  clientToken: '',
  customerManagedKeyIdentifier: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/appbundles');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles',
  headers: {'content-type': 'application/json'},
  data: {
    clientToken: '',
    customerManagedKeyIdentifier: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"clientToken":"","customerManagedKeyIdentifier":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "clientToken": "",\n  "customerManagedKeyIdentifier": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/appbundles")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  clientToken: '',
  customerManagedKeyIdentifier: '',
  tags: [{key: '', value: ''}]
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles',
  headers: {'content-type': 'application/json'},
  body: {
    clientToken: '',
    customerManagedKeyIdentifier: '',
    tags: [{key: '', value: ''}]
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/appbundles');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  clientToken: '',
  customerManagedKeyIdentifier: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles',
  headers: {'content-type': 'application/json'},
  data: {
    clientToken: '',
    customerManagedKeyIdentifier: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"clientToken":"","customerManagedKeyIdentifier":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"clientToken": @"",
                              @"customerManagedKeyIdentifier": @"",
                              @"tags": @[ @{ @"key": @"", @"value": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'clientToken' => '',
    'customerManagedKeyIdentifier' => '',
    'tags' => [
        [
                'key' => '',
                'value' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/appbundles', [
  'body' => '{
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'clientToken' => '',
  'customerManagedKeyIdentifier' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'clientToken' => '',
  'customerManagedKeyIdentifier' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/appbundles');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/appbundles", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles"

payload = {
    "clientToken": "",
    "customerManagedKeyIdentifier": "",
    "tags": [
        {
            "key": "",
            "value": ""
        }
    ]
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles"

payload <- "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/appbundles') do |req|
  req.body = "{\n  \"clientToken\": \"\",\n  \"customerManagedKeyIdentifier\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles";

    let payload = json!({
        "clientToken": "",
        "customerManagedKeyIdentifier": "",
        "tags": (
            json!({
                "key": "",
                "value": ""
            })
        )
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/appbundles \
  --header 'content-type: application/json' \
  --data '{
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
echo '{
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/appbundles \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "clientToken": "",\n  "customerManagedKeyIdentifier": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/appbundles
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "clientToken": "",
  "customerManagedKeyIdentifier": "",
  "tags": [
    [
      "key": "",
      "value": ""
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST CreateIngestion
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions
QUERY PARAMS

appBundleIdentifier
BODY json

{
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions" {:content-type :json
                                                                                       :form-params {:app ""
                                                                                                     :tenantId ""
                                                                                                     :ingestionType ""
                                                                                                     :clientToken ""
                                                                                                     :tags [{:key ""
                                                                                                             :value ""}]}})
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"),
    Content = new StringContent("{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"

	payload := strings.NewReader("{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/appbundles/:appBundleIdentifier/ingestions HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 141

{
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .header("content-type", "application/json")
  .body("{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  app: '',
  tenantId: '',
  ingestionType: '',
  clientToken: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions',
  headers: {'content-type': 'application/json'},
  data: {
    app: '',
    tenantId: '',
    ingestionType: '',
    clientToken: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"app":"","tenantId":"","ingestionType":"","clientToken":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "app": "",\n  "tenantId": "",\n  "ingestionType": "",\n  "clientToken": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  app: '',
  tenantId: '',
  ingestionType: '',
  clientToken: '',
  tags: [{key: '', value: ''}]
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions',
  headers: {'content-type': 'application/json'},
  body: {
    app: '',
    tenantId: '',
    ingestionType: '',
    clientToken: '',
    tags: [{key: '', value: ''}]
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  app: '',
  tenantId: '',
  ingestionType: '',
  clientToken: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions',
  headers: {'content-type': 'application/json'},
  data: {
    app: '',
    tenantId: '',
    ingestionType: '',
    clientToken: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"app":"","tenantId":"","ingestionType":"","clientToken":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"app": @"",
                              @"tenantId": @"",
                              @"ingestionType": @"",
                              @"clientToken": @"",
                              @"tags": @[ @{ @"key": @"", @"value": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'app' => '',
    'tenantId' => '',
    'ingestionType' => '',
    'clientToken' => '',
    'tags' => [
        [
                'key' => '',
                'value' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions', [
  'body' => '{
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'app' => '',
  'tenantId' => '',
  'ingestionType' => '',
  'clientToken' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'app' => '',
  'tenantId' => '',
  'ingestionType' => '',
  'clientToken' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/appbundles/:appBundleIdentifier/ingestions", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"

payload = {
    "app": "",
    "tenantId": "",
    "ingestionType": "",
    "clientToken": "",
    "tags": [
        {
            "key": "",
            "value": ""
        }
    ]
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"

payload <- "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/appbundles/:appBundleIdentifier/ingestions') do |req|
  req.body = "{\n  \"app\": \"\",\n  \"tenantId\": \"\",\n  \"ingestionType\": \"\",\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions";

    let payload = json!({
        "app": "",
        "tenantId": "",
        "ingestionType": "",
        "clientToken": "",
        "tags": (
            json!({
                "key": "",
                "value": ""
            })
        )
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions \
  --header 'content-type: application/json' \
  --data '{
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
echo '{
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "app": "",\n  "tenantId": "",\n  "ingestionType": "",\n  "clientToken": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "app": "",
  "tenantId": "",
  "ingestionType": "",
  "clientToken": "",
  "tags": [
    [
      "key": "",
      "value": ""
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST CreateIngestionDestination
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations
QUERY PARAMS

appBundleIdentifier
ingestionIdentifier
BODY json

{
  "processingConfiguration": {
    "auditLog": ""
  },
  "destinationConfiguration": {
    "auditLog": ""
  },
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations" {:content-type :json
                                                                                                                                  :form-params {:processingConfiguration {:auditLog ""}
                                                                                                                                                :destinationConfiguration {:auditLog ""}
                                                                                                                                                :clientToken ""
                                                                                                                                                :tags [{:key ""
                                                                                                                                                        :value ""}]}})
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"),
    Content = new StringContent("{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"

	payload := strings.NewReader("{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 198

{
  "processingConfiguration": {
    "auditLog": ""
  },
  "destinationConfiguration": {
    "auditLog": ""
  },
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .header("content-type", "application/json")
  .body("{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  processingConfiguration: {
    auditLog: ''
  },
  destinationConfiguration: {
    auditLog: ''
  },
  clientToken: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations',
  headers: {'content-type': 'application/json'},
  data: {
    processingConfiguration: {auditLog: ''},
    destinationConfiguration: {auditLog: ''},
    clientToken: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"processingConfiguration":{"auditLog":""},"destinationConfiguration":{"auditLog":""},"clientToken":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "processingConfiguration": {\n    "auditLog": ""\n  },\n  "destinationConfiguration": {\n    "auditLog": ""\n  },\n  "clientToken": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  processingConfiguration: {auditLog: ''},
  destinationConfiguration: {auditLog: ''},
  clientToken: '',
  tags: [{key: '', value: ''}]
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations',
  headers: {'content-type': 'application/json'},
  body: {
    processingConfiguration: {auditLog: ''},
    destinationConfiguration: {auditLog: ''},
    clientToken: '',
    tags: [{key: '', value: ''}]
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  processingConfiguration: {
    auditLog: ''
  },
  destinationConfiguration: {
    auditLog: ''
  },
  clientToken: '',
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations',
  headers: {'content-type': 'application/json'},
  data: {
    processingConfiguration: {auditLog: ''},
    destinationConfiguration: {auditLog: ''},
    clientToken: '',
    tags: [{key: '', value: ''}]
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"processingConfiguration":{"auditLog":""},"destinationConfiguration":{"auditLog":""},"clientToken":"","tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"processingConfiguration": @{ @"auditLog": @"" },
                              @"destinationConfiguration": @{ @"auditLog": @"" },
                              @"clientToken": @"",
                              @"tags": @[ @{ @"key": @"", @"value": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'processingConfiguration' => [
        'auditLog' => ''
    ],
    'destinationConfiguration' => [
        'auditLog' => ''
    ],
    'clientToken' => '',
    'tags' => [
        [
                'key' => '',
                'value' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations', [
  'body' => '{
  "processingConfiguration": {
    "auditLog": ""
  },
  "destinationConfiguration": {
    "auditLog": ""
  },
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'processingConfiguration' => [
    'auditLog' => ''
  ],
  'destinationConfiguration' => [
    'auditLog' => ''
  ],
  'clientToken' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'processingConfiguration' => [
    'auditLog' => ''
  ],
  'destinationConfiguration' => [
    'auditLog' => ''
  ],
  'clientToken' => '',
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "processingConfiguration": {
    "auditLog": ""
  },
  "destinationConfiguration": {
    "auditLog": ""
  },
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "processingConfiguration": {
    "auditLog": ""
  },
  "destinationConfiguration": {
    "auditLog": ""
  },
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"

payload = {
    "processingConfiguration": { "auditLog": "" },
    "destinationConfiguration": { "auditLog": "" },
    "clientToken": "",
    "tags": [
        {
            "key": "",
            "value": ""
        }
    ]
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"

payload <- "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations') do |req|
  req.body = "{\n  \"processingConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  },\n  \"clientToken\": \"\",\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations";

    let payload = json!({
        "processingConfiguration": json!({"auditLog": ""}),
        "destinationConfiguration": json!({"auditLog": ""}),
        "clientToken": "",
        "tags": (
            json!({
                "key": "",
                "value": ""
            })
        )
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations \
  --header 'content-type: application/json' \
  --data '{
  "processingConfiguration": {
    "auditLog": ""
  },
  "destinationConfiguration": {
    "auditLog": ""
  },
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
echo '{
  "processingConfiguration": {
    "auditLog": ""
  },
  "destinationConfiguration": {
    "auditLog": ""
  },
  "clientToken": "",
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "processingConfiguration": {\n    "auditLog": ""\n  },\n  "destinationConfiguration": {\n    "auditLog": ""\n  },\n  "clientToken": "",\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "processingConfiguration": ["auditLog": ""],
  "destinationConfiguration": ["auditLog": ""],
  "clientToken": "",
  "tags": [
    [
      "key": "",
      "value": ""
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
DELETE DeleteAppAuthorization
{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
QUERY PARAMS

appBundleIdentifier
appAuthorizationIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/delete "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

response = HTTP::Client.delete url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Delete,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier");
var request = new RestRequest("", Method.Delete);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

	req, _ := http.NewRequest("DELETE", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
DELETE /baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("DELETE", "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"))
    .method("DELETE", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .delete(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.delete("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  method: 'DELETE',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .delete(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'DELETE',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"DELETE"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier" in

Client.call `DELETE uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "DELETE",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');
$request->setMethod(HTTP_METH_DELETE);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');
$request->setRequestMethod('DELETE');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier' -Method DELETE 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier' -Method DELETE 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("DELETE", "/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

response = requests.delete(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

response <- VERB("DELETE", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.delete('/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier') do |req|
end

puts response.status
puts response.body
use std::str::FromStr;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier";

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("DELETE").unwrap(), url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request DELETE \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
http DELETE {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
wget --quiet \
  --method DELETE \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
DELETE DeleteAppBundle
{{baseUrl}}/appbundles/:appBundleIdentifier
QUERY PARAMS

appBundleIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/delete "{{baseUrl}}/appbundles/:appBundleIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier"

response = HTTP::Client.delete url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Delete,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier");
var request = new RestRequest("", Method.Delete);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier"

	req, _ := http.NewRequest("DELETE", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
DELETE /baseUrl/appbundles/:appBundleIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("DELETE", "{{baseUrl}}/appbundles/:appBundleIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier"))
    .method("DELETE", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier")
  .delete(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.delete("{{baseUrl}}/appbundles/:appBundleIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier',
  method: 'DELETE',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier")
  .delete(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'DELETE',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"DELETE"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier" in

Client.call `DELETE uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "DELETE",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier');
$request->setMethod(HTTP_METH_DELETE);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier');
$request->setRequestMethod('DELETE');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier' -Method DELETE 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier' -Method DELETE 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("DELETE", "/baseUrl/appbundles/:appBundleIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier"

response = requests.delete(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier"

response <- VERB("DELETE", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.delete('/baseUrl/appbundles/:appBundleIdentifier') do |req|
end

puts response.status
puts response.body
use std::str::FromStr;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier";

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("DELETE").unwrap(), url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request DELETE \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier
http DELETE {{baseUrl}}/appbundles/:appBundleIdentifier
wget --quiet \
  --method DELETE \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
DELETE DeleteIngestion
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
QUERY PARAMS

appBundleIdentifier
ingestionIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/delete "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

response = HTTP::Client.delete url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Delete,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier");
var request = new RestRequest("", Method.Delete);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

	req, _ := http.NewRequest("DELETE", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
DELETE /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("DELETE", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"))
    .method("DELETE", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .delete(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.delete("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier',
  method: 'DELETE',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .delete(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'DELETE',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"DELETE"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier" in

Client.call `DELETE uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "DELETE",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');
$request->setMethod(HTTP_METH_DELETE);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');
$request->setRequestMethod('DELETE');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier' -Method DELETE 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier' -Method DELETE 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("DELETE", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

response = requests.delete(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

response <- VERB("DELETE", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.delete('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier') do |req|
end

puts response.status
puts response.body
use std::str::FromStr;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier";

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("DELETE").unwrap(), url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request DELETE \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
http DELETE {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
wget --quiet \
  --method DELETE \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
DELETE DeleteIngestionDestination
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
QUERY PARAMS

appBundleIdentifier
ingestionIdentifier
ingestionDestinationIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/delete "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

response = HTTP::Client.delete url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Delete,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier");
var request = new RestRequest("", Method.Delete);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

	req, _ := http.NewRequest("DELETE", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
DELETE /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("DELETE", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"))
    .method("DELETE", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .delete(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.delete("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  method: 'DELETE',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .delete(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'DELETE',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"DELETE"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier" in

Client.call `DELETE uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "DELETE",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('DELETE', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');
$request->setMethod(HTTP_METH_DELETE);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');
$request->setRequestMethod('DELETE');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier' -Method DELETE 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier' -Method DELETE 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("DELETE", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

response = requests.delete(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

response <- VERB("DELETE", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.delete('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier') do |req|
end

puts response.status
puts response.body
use std::str::FromStr;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier";

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("DELETE").unwrap(), url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request DELETE \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
http DELETE {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
wget --quiet \
  --method DELETE \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET GetAppAuthorization
{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
QUERY PARAMS

appBundleIdentifier
appAuthorizationIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
http GET {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET GetAppBundle
{{baseUrl}}/appbundles/:appBundleIdentifier
QUERY PARAMS

appBundleIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles/:appBundleIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles/:appBundleIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles/:appBundleIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles/:appBundleIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles/:appBundleIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles/:appBundleIdentifier') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier
http GET {{baseUrl}}/appbundles/:appBundleIdentifier
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET GetIngestion
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
QUERY PARAMS

appBundleIdentifier
ingestionIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
http GET {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET GetIngestionDestination
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
QUERY PARAMS

appBundleIdentifier
ingestionIdentifier
ingestionDestinationIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
http GET {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET ListAppAuthorizations
{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations
QUERY PARAMS

appBundleIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles/:appBundleIdentifier/appauthorizations HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/appauthorizations',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles/:appBundleIdentifier/appauthorizations")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles/:appBundleIdentifier/appauthorizations') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations
http GET {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET ListAppBundles
{{baseUrl}}/appbundles
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles")
require "http/client"

url = "{{baseUrl}}/appbundles"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/appbundles'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/appbundles'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/appbundles'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles
http GET {{baseUrl}}/appbundles
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET ListIngestionDestinations
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations
QUERY PARAMS

appBundleIdentifier
ingestionIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations
http GET {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET ListIngestions
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions
QUERY PARAMS

appBundleIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/appbundles/:appBundleIdentifier/ingestions HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/appbundles/:appBundleIdentifier/ingestions")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/appbundles/:appBundleIdentifier/ingestions') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions
http GET {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET ListTagsForResource
{{baseUrl}}/tags/:resourceArn
QUERY PARAMS

resourceArn
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/tags/:resourceArn");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/tags/:resourceArn")
require "http/client"

url = "{{baseUrl}}/tags/:resourceArn"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/tags/:resourceArn"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/tags/:resourceArn");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/tags/:resourceArn"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/tags/:resourceArn HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/tags/:resourceArn")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/tags/:resourceArn"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/tags/:resourceArn")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/tags/:resourceArn")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/tags/:resourceArn');

xhr.send(data);
import axios from 'axios';

const options = {method: 'GET', url: '{{baseUrl}}/tags/:resourceArn'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/tags/:resourceArn';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/tags/:resourceArn',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/tags/:resourceArn")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/tags/:resourceArn',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {method: 'GET', url: '{{baseUrl}}/tags/:resourceArn'};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/tags/:resourceArn');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {method: 'GET', url: '{{baseUrl}}/tags/:resourceArn'};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/tags/:resourceArn';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/tags/:resourceArn"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/tags/:resourceArn" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/tags/:resourceArn",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/tags/:resourceArn');

echo $response->getBody();
setUrl('{{baseUrl}}/tags/:resourceArn');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/tags/:resourceArn');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/tags/:resourceArn' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/tags/:resourceArn' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/tags/:resourceArn")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/tags/:resourceArn"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/tags/:resourceArn"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/tags/:resourceArn")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/tags/:resourceArn') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/tags/:resourceArn";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/tags/:resourceArn
http GET {{baseUrl}}/tags/:resourceArn
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/tags/:resourceArn
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/tags/:resourceArn")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST StartIngestion
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start
QUERY PARAMS

ingestionIdentifier
appBundleIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start"

response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start"

	req, _ := http.NewRequest("POST", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start"))
    .method("POST", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")
  .post(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start',
  method: 'POST',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")
  .post(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start" in

Client.call `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start');
$request->setMethod(HTTP_METH_POST);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start');
$request->setRequestMethod('POST');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start' -Method POST 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start' -Method POST 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("POST", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start"

response = requests.post(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start"

response <- VERB("POST", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.post('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start";

    let client = reqwest::Client::new();
    let response = client.post(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start
http POST {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start
wget --quiet \
  --method POST \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/start")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST StartUserAccessTasks
{{baseUrl}}/useraccess/start
BODY json

{
  "appBundleIdentifier": "",
  "email": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/useraccess/start");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/useraccess/start" {:content-type :json
                                                             :form-params {:appBundleIdentifier ""
                                                                           :email ""}})
require "http/client"

url = "{{baseUrl}}/useraccess/start"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/useraccess/start"),
    Content = new StringContent("{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/useraccess/start");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/useraccess/start"

	payload := strings.NewReader("{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/useraccess/start HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 46

{
  "appBundleIdentifier": "",
  "email": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/useraccess/start")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/useraccess/start"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/useraccess/start")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/useraccess/start")
  .header("content-type", "application/json")
  .body("{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  appBundleIdentifier: '',
  email: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/useraccess/start');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/useraccess/start',
  headers: {'content-type': 'application/json'},
  data: {appBundleIdentifier: '', email: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/useraccess/start';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appBundleIdentifier":"","email":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/useraccess/start',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "appBundleIdentifier": "",\n  "email": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/useraccess/start")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/useraccess/start',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({appBundleIdentifier: '', email: ''}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/useraccess/start',
  headers: {'content-type': 'application/json'},
  body: {appBundleIdentifier: '', email: ''},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/useraccess/start');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  appBundleIdentifier: '',
  email: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/useraccess/start',
  headers: {'content-type': 'application/json'},
  data: {appBundleIdentifier: '', email: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/useraccess/start';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appBundleIdentifier":"","email":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"appBundleIdentifier": @"",
                              @"email": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/useraccess/start"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/useraccess/start" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/useraccess/start",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'appBundleIdentifier' => '',
    'email' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/useraccess/start', [
  'body' => '{
  "appBundleIdentifier": "",
  "email": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/useraccess/start');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'appBundleIdentifier' => '',
  'email' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'appBundleIdentifier' => '',
  'email' => ''
]));
$request->setRequestUrl('{{baseUrl}}/useraccess/start');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/useraccess/start' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appBundleIdentifier": "",
  "email": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/useraccess/start' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appBundleIdentifier": "",
  "email": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/useraccess/start", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/useraccess/start"

payload = {
    "appBundleIdentifier": "",
    "email": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/useraccess/start"

payload <- "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/useraccess/start")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/useraccess/start') do |req|
  req.body = "{\n  \"appBundleIdentifier\": \"\",\n  \"email\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/useraccess/start";

    let payload = json!({
        "appBundleIdentifier": "",
        "email": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/useraccess/start \
  --header 'content-type: application/json' \
  --data '{
  "appBundleIdentifier": "",
  "email": ""
}'
echo '{
  "appBundleIdentifier": "",
  "email": ""
}' |  \
  http POST {{baseUrl}}/useraccess/start \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "appBundleIdentifier": "",\n  "email": ""\n}' \
  --output-document \
  - {{baseUrl}}/useraccess/start
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "appBundleIdentifier": "",
  "email": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/useraccess/start")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST StopIngestion
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop
QUERY PARAMS

ingestionIdentifier
appBundleIdentifier
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop"

response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop"

	req, _ := http.NewRequest("POST", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop"))
    .method("POST", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")
  .post(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop',
  method: 'POST',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")
  .post(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop" in

Client.call `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop');

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop');
$request->setMethod(HTTP_METH_POST);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop');
$request->setRequestMethod('POST');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop' -Method POST 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop' -Method POST 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("POST", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop"

response = requests.post(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop"

response <- VERB("POST", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.post('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop";

    let client = reqwest::Client::new();
    let response = client.post(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop
http POST {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop
wget --quiet \
  --method POST \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/stop")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST TagResource
{{baseUrl}}/tags/:resourceArn
QUERY PARAMS

resourceArn
BODY json

{
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/tags/:resourceArn");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/tags/:resourceArn" {:content-type :json
                                                              :form-params {:tags [{:key ""
                                                                                    :value ""}]}})
require "http/client"

url = "{{baseUrl}}/tags/:resourceArn"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/tags/:resourceArn"),
    Content = new StringContent("{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/tags/:resourceArn");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/tags/:resourceArn"

	payload := strings.NewReader("{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/tags/:resourceArn HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 66

{
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/tags/:resourceArn")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/tags/:resourceArn"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/tags/:resourceArn")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/tags/:resourceArn")
  .header("content-type", "application/json")
  .body("{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/tags/:resourceArn');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/tags/:resourceArn',
  headers: {'content-type': 'application/json'},
  data: {tags: [{key: '', value: ''}]}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/tags/:resourceArn';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/tags/:resourceArn',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/tags/:resourceArn")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/tags/:resourceArn',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({tags: [{key: '', value: ''}]}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/tags/:resourceArn',
  headers: {'content-type': 'application/json'},
  body: {tags: [{key: '', value: ''}]},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/tags/:resourceArn');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  tags: [
    {
      key: '',
      value: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/tags/:resourceArn',
  headers: {'content-type': 'application/json'},
  data: {tags: [{key: '', value: ''}]}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/tags/:resourceArn';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"tags":[{"key":"","value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"tags": @[ @{ @"key": @"", @"value": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/tags/:resourceArn"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/tags/:resourceArn" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/tags/:resourceArn",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'tags' => [
        [
                'key' => '',
                'value' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/tags/:resourceArn', [
  'body' => '{
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/tags/:resourceArn');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'tags' => [
    [
        'key' => '',
        'value' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/tags/:resourceArn');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/tags/:resourceArn' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/tags/:resourceArn' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/tags/:resourceArn", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/tags/:resourceArn"

payload = { "tags": [
        {
            "key": "",
            "value": ""
        }
    ] }
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/tags/:resourceArn"

payload <- "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/tags/:resourceArn")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/tags/:resourceArn') do |req|
  req.body = "{\n  \"tags\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/tags/:resourceArn";

    let payload = json!({"tags": (
            json!({
                "key": "",
                "value": ""
            })
        )});

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/tags/:resourceArn \
  --header 'content-type: application/json' \
  --data '{
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}'
echo '{
  "tags": [
    {
      "key": "",
      "value": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/tags/:resourceArn \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "tags": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/tags/:resourceArn
import Foundation

let headers = ["content-type": "application/json"]
let parameters = ["tags": [
    [
      "key": "",
      "value": ""
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/tags/:resourceArn")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
DELETE UntagResource
{{baseUrl}}/tags/:resourceArn#tagKeys
QUERY PARAMS

tagKeys
resourceArn
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/delete "{{baseUrl}}/tags/:resourceArn#tagKeys" {:query-params {:tagKeys ""}})
require "http/client"

url = "{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys"

response = HTTP::Client.delete url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Delete,
    RequestUri = new Uri("{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys");
var request = new RestRequest("", Method.Delete);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys"

	req, _ := http.NewRequest("DELETE", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
DELETE /baseUrl/tags/:resourceArn?tagKeys= HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("DELETE", "{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys"))
    .method("DELETE", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys")
  .delete(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.delete("{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('DELETE', '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/tags/:resourceArn#tagKeys',
  params: {tagKeys: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys',
  method: 'DELETE',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys")
  .delete(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'DELETE',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/tags/:resourceArn?tagKeys=',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/tags/:resourceArn#tagKeys',
  qs: {tagKeys: ''}
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('DELETE', '{{baseUrl}}/tags/:resourceArn#tagKeys');

req.query({
  tagKeys: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'DELETE',
  url: '{{baseUrl}}/tags/:resourceArn#tagKeys',
  params: {tagKeys: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys';
const options = {method: 'DELETE'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"DELETE"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys" in

Client.call `DELETE uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "DELETE",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('DELETE', '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys');

echo $response->getBody();
setUrl('{{baseUrl}}/tags/:resourceArn#tagKeys');
$request->setMethod(HTTP_METH_DELETE);

$request->setQueryData([
  'tagKeys' => ''
]);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/tags/:resourceArn#tagKeys');
$request->setRequestMethod('DELETE');
$request->setQuery(new http\QueryString([
  'tagKeys' => ''
]));

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys' -Method DELETE 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys' -Method DELETE 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("DELETE", "/baseUrl/tags/:resourceArn?tagKeys=")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/tags/:resourceArn#tagKeys"

querystring = {"tagKeys":""}

response = requests.delete(url, params=querystring)

print(response.json())
library(httr)

url <- "{{baseUrl}}/tags/:resourceArn#tagKeys"

queryString <- list(tagKeys = "")

response <- VERB("DELETE", url, query = queryString, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.delete('/baseUrl/tags/:resourceArn') do |req|
  req.params['tagKeys'] = ''
end

puts response.status
puts response.body
use std::str::FromStr;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/tags/:resourceArn#tagKeys";

    let querystring = [
        ("tagKeys", ""),
    ];

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("DELETE").unwrap(), url)
        .query(&querystring)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request DELETE \
  --url '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys'
http DELETE '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys'
wget --quiet \
  --method DELETE \
  --output-document \
  - '{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys'
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/tags/:resourceArn?tagKeys=#tagKeys")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "DELETE"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
PATCH UpdateAppAuthorization
{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
QUERY PARAMS

appBundleIdentifier
appAuthorizationIdentifier
BODY json

{
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  }
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/patch "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier" {:content-type :json
                                                                                                                           :form-params {:credential {:oauth2Credential ""
                                                                                                                                                      :apiKeyCredential ""}
                                                                                                                                         :tenant {:tenantIdentifier ""
                                                                                                                                                  :tenantDisplayName ""}}})
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}"

response = HTTP::Client.patch url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Patch,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"),
    Content = new StringContent("{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier");
var request = new RestRequest("", Method.Patch);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

	payload := strings.NewReader("{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
PATCH /baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 155

{
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  }
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("PATCH", "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"))
    .header("content-type", "application/json")
    .method("PATCH", HttpRequest.BodyPublishers.ofString("{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.patch("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .header("content-type", "application/json")
  .body("{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}")
  .asString();
const data = JSON.stringify({
  credential: {
    oauth2Credential: '',
    apiKeyCredential: ''
  },
  tenant: {
    tenantIdentifier: '',
    tenantDisplayName: ''
  }
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('PATCH', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  headers: {'content-type': 'application/json'},
  data: {
    credential: {oauth2Credential: '', apiKeyCredential: ''},
    tenant: {tenantIdentifier: '', tenantDisplayName: ''}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"credential":{"oauth2Credential":"","apiKeyCredential":""},"tenant":{"tenantIdentifier":"","tenantDisplayName":""}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  method: 'PATCH',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "credential": {\n    "oauth2Credential": "",\n    "apiKeyCredential": ""\n  },\n  "tenant": {\n    "tenantIdentifier": "",\n    "tenantDisplayName": ""\n  }\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'PATCH',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  credential: {oauth2Credential: '', apiKeyCredential: ''},
  tenant: {tenantIdentifier: '', tenantDisplayName: ''}
}));
req.end();
const request = require('request');

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  headers: {'content-type': 'application/json'},
  body: {
    credential: {oauth2Credential: '', apiKeyCredential: ''},
    tenant: {tenantIdentifier: '', tenantDisplayName: ''}
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('PATCH', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  credential: {
    oauth2Credential: '',
    apiKeyCredential: ''
  },
  tenant: {
    tenantIdentifier: '',
    tenantDisplayName: ''
  }
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier',
  headers: {'content-type': 'application/json'},
  data: {
    credential: {oauth2Credential: '', apiKeyCredential: ''},
    tenant: {tenantIdentifier: '', tenantDisplayName: ''}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"credential":{"oauth2Credential":"","apiKeyCredential":""},"tenant":{"tenantIdentifier":"","tenantDisplayName":""}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"credential": @{ @"oauth2Credential": @"", @"apiKeyCredential": @"" },
                              @"tenant": @{ @"tenantIdentifier": @"", @"tenantDisplayName": @"" } };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"PATCH"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}" in

Client.call ~headers ~body `PATCH uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PATCH",
  CURLOPT_POSTFIELDS => json_encode([
    'credential' => [
        'oauth2Credential' => '',
        'apiKeyCredential' => ''
    ],
    'tenant' => [
        'tenantIdentifier' => '',
        'tenantDisplayName' => ''
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('PATCH', '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier', [
  'body' => '{
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  }
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');
$request->setMethod(HttpRequest::HTTP_METH_PATCH);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'credential' => [
    'oauth2Credential' => '',
    'apiKeyCredential' => ''
  ],
  'tenant' => [
    'tenantIdentifier' => '',
    'tenantDisplayName' => ''
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'credential' => [
    'oauth2Credential' => '',
    'apiKeyCredential' => ''
  ],
  'tenant' => [
    'tenantIdentifier' => '',
    'tenantDisplayName' => ''
  ]
]));
$request->setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier');
$request->setRequestMethod('PATCH');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  }
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  }
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}"

headers = { 'content-type': "application/json" }

conn.request("PATCH", "/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

payload = {
    "credential": {
        "oauth2Credential": "",
        "apiKeyCredential": ""
    },
    "tenant": {
        "tenantIdentifier": "",
        "tenantDisplayName": ""
    }
}
headers = {"content-type": "application/json"}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier"

payload <- "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}"

encode <- "json"

response <- VERB("PATCH", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.patch('/baseUrl/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier') do |req|
  req.body = "{\n  \"credential\": {\n    \"oauth2Credential\": \"\",\n    \"apiKeyCredential\": \"\"\n  },\n  \"tenant\": {\n    \"tenantIdentifier\": \"\",\n    \"tenantDisplayName\": \"\"\n  }\n}"
end

puts response.status
puts response.body
use std::str::FromStr;
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier";

    let payload = json!({
        "credential": json!({
            "oauth2Credential": "",
            "apiKeyCredential": ""
        }),
        "tenant": json!({
            "tenantIdentifier": "",
            "tenantDisplayName": ""
        })
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("PATCH").unwrap(), url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request PATCH \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier \
  --header 'content-type: application/json' \
  --data '{
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  }
}'
echo '{
  "credential": {
    "oauth2Credential": "",
    "apiKeyCredential": ""
  },
  "tenant": {
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  }
}' |  \
  http PATCH {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier \
  content-type:application/json
wget --quiet \
  --method PATCH \
  --header 'content-type: application/json' \
  --body-data '{\n  "credential": {\n    "oauth2Credential": "",\n    "apiKeyCredential": ""\n  },\n  "tenant": {\n    "tenantIdentifier": "",\n    "tenantDisplayName": ""\n  }\n}' \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "credential": [
    "oauth2Credential": "",
    "apiKeyCredential": ""
  ],
  "tenant": [
    "tenantIdentifier": "",
    "tenantDisplayName": ""
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/appauthorizations/:appAuthorizationIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
PATCH UpdateIngestionDestination
{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
QUERY PARAMS

appBundleIdentifier
ingestionIdentifier
ingestionDestinationIdentifier
BODY json

{
  "destinationConfiguration": {
    "auditLog": ""
  }
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/patch "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier" {:content-type :json
                                                                                                                                                                   :form-params {:destinationConfiguration {:auditLog ""}}})
require "http/client"

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}"

response = HTTP::Client.patch url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Patch,
    RequestUri = new Uri("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"),
    Content = new StringContent("{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier");
var request = new RestRequest("", Method.Patch);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

	payload := strings.NewReader("{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
PATCH /baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 58

{
  "destinationConfiguration": {
    "auditLog": ""
  }
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("PATCH", "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"))
    .header("content-type", "application/json")
    .method("PATCH", HttpRequest.BodyPublishers.ofString("{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.patch("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .header("content-type", "application/json")
  .body("{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}")
  .asString();
const data = JSON.stringify({
  destinationConfiguration: {
    auditLog: ''
  }
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('PATCH', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  headers: {'content-type': 'application/json'},
  data: {destinationConfiguration: {auditLog: ''}}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"destinationConfiguration":{"auditLog":""}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  method: 'PATCH',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "destinationConfiguration": {\n    "auditLog": ""\n  }\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'PATCH',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({destinationConfiguration: {auditLog: ''}}));
req.end();
const request = require('request');

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  headers: {'content-type': 'application/json'},
  body: {destinationConfiguration: {auditLog: ''}},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('PATCH', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  destinationConfiguration: {
    auditLog: ''
  }
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier',
  headers: {'content-type': 'application/json'},
  data: {destinationConfiguration: {auditLog: ''}}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"destinationConfiguration":{"auditLog":""}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"destinationConfiguration": @{ @"auditLog": @"" } };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"PATCH"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}" in

Client.call ~headers ~body `PATCH uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PATCH",
  CURLOPT_POSTFIELDS => json_encode([
    'destinationConfiguration' => [
        'auditLog' => ''
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('PATCH', '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier', [
  'body' => '{
  "destinationConfiguration": {
    "auditLog": ""
  }
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');
$request->setMethod(HttpRequest::HTTP_METH_PATCH);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'destinationConfiguration' => [
    'auditLog' => ''
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'destinationConfiguration' => [
    'auditLog' => ''
  ]
]));
$request->setRequestUrl('{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier');
$request->setRequestMethod('PATCH');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "destinationConfiguration": {
    "auditLog": ""
  }
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "destinationConfiguration": {
    "auditLog": ""
  }
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}"

headers = { 'content-type': "application/json" }

conn.request("PATCH", "/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

payload = { "destinationConfiguration": { "auditLog": "" } }
headers = {"content-type": "application/json"}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier"

payload <- "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}"

encode <- "json"

response <- VERB("PATCH", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.patch('/baseUrl/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier') do |req|
  req.body = "{\n  \"destinationConfiguration\": {\n    \"auditLog\": \"\"\n  }\n}"
end

puts response.status
puts response.body
use std::str::FromStr;
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier";

    let payload = json!({"destinationConfiguration": json!({"auditLog": ""})});

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("PATCH").unwrap(), url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request PATCH \
  --url {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier \
  --header 'content-type: application/json' \
  --data '{
  "destinationConfiguration": {
    "auditLog": ""
  }
}'
echo '{
  "destinationConfiguration": {
    "auditLog": ""
  }
}' |  \
  http PATCH {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier \
  content-type:application/json
wget --quiet \
  --method PATCH \
  --header 'content-type: application/json' \
  --body-data '{\n  "destinationConfiguration": {\n    "auditLog": ""\n  }\n}' \
  --output-document \
  - {{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier
import Foundation

let headers = ["content-type": "application/json"]
let parameters = ["destinationConfiguration": ["auditLog": ""]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/appbundles/:appBundleIdentifier/ingestions/:ingestionIdentifier/ingestiondestinations/:ingestionDestinationIdentifier")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()