Export objects
import requests
url = "https://{FUSION_HOST}:8764/api/apollo/objects/export"
response = requests.get(url)
print(response.text)HttpResponse<String> response = Unirest.get("https://{FUSION_HOST}:8764/api/apollo/objects/export")
.asString();const options = {method: 'GET'};
fetch('https://{FUSION_HOST}:8764/api/apollo/objects/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://{FUSION_HOST}:8764/api/apollo/objects/export")
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_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{FUSION_HOST}:8764/api/apollo/objects/export"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8764",
CURLOPT_URL => "https://{FUSION_HOST}:8764/api/apollo/objects/export",
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;
}curl --request GET \
--url https://{FUSION_HOST}:8764/api/apollo/objects/export{
"objects": {
"collections": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"searchClusterId": "<string>",
"commitWithin": 123,
"features": {},
"compositeIdSpec": {
"routeKey1Field": "<string>",
"routeKey1Bits": 123,
"routeKey2Field": "<string>",
"routeKey2Bits": 123
},
"solrParams": {
"name": "<string>",
"numShards": 123,
"replicationFactor": 123,
"collection.configName": "<string>"
},
"modifiedAt": "2023-11-07T05:31:56Z",
"type": "DATA",
"relatedCollectionId": "<string>",
"metadata": {}
}
],
"indexPipelines": [
{
"id": "<string>",
"stages": [
{
"type": "<string>",
"id": "<string>",
"skip": false,
"label": "<string>",
"condition": "<string>"
}
],
"properties": {}
}
],
"queryPipelines": [
{
"id": "<string>",
"stages": [
{
"type": "<string>",
"id": "<string>",
"skip": false,
"label": "<string>",
"condition": "<string>"
}
],
"properties": {}
}
],
"searchClusters": [
{
"id": "<string>",
"connectString": "<string>",
"zkClientTimeout": 123,
"zkConnectTimeout": 123,
"cloud": false,
"bufferFlushInterval": 123,
"bufferSize": 123,
"concurrency": 123,
"authConfig": {
"authType": "NONE",
"username": "<string>",
"password": "<string>",
"keyTab": "<string>",
"principal": "<string>"
},
"validateCluster": false
}
],
"features": {},
"indexProfiles": [
{
"id": "<string>",
"indexPipeline": "<string>",
"collection": "<string>",
"parser": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
]
}
],
"queryProfiles": [
{
"id": "<string>",
"queryPipeline": "<string>",
"collection": "<string>",
"searchHandler": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
],
"experiment": {
"id": "<string>",
"percentOfTraffic": 123
}
}
],
"parsers": [
{
"id": "<string>",
"idField": "<string>",
"enableMediaTypeDetection": false,
"maxParserDepth": 123,
"parserStages": [
{
"label": "<string>",
"enabled": false,
"mediaTypes": [
"<string>"
],
"pathPatterns": [
{
"syntax": "GLOB",
"pattern": "<string>"
}
],
"errorHandling": "IGNORE",
"id": "<string>",
"inheritMediaTypes": false,
"outputFieldPrefix": "<string>"
}
]
}
],
"objectGroups": [
{
"id": "<string>",
"name": "<string>",
"isSystem": false,
"description": "<string>"
}
],
"links": [
{
"subject": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"object": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"linkType": "DependsOn",
"originator": "<string>"
}
],
"tasks": [
{
"id": "<string>",
"type": "<string>"
}
],
"jobs": [
{
"resource": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"enabled": false,
"triggers": [
{
"enabled": false,
"type": "<string>"
}
],
"default": false
}
],
"sparkJobs": [
{
"id": "<string>"
}
],
"blobs": [
{
"id": "<string>",
"path": "<string>",
"dir": "<string>",
"filename": "<string>",
"contentType": "<string>",
"size": 123,
"modifiedTime": "2023-11-07T05:31:56Z",
"version": 123,
"md5": "<string>",
"metadata": {}
}
],
"experiments": [
{
"id": "<string>",
"description": "<string>",
"uniqueIdParameter": "<string>",
"baseSignalsCollection": "<string>",
"variants": [
{
"id": "<string>",
"name": "<string>",
"collection": "<string>",
"queryPipeline": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
],
"weight": 123
}
],
"automaticallyAdjustTraffic": false,
"enabled": false,
"startTimestamp": "2023-11-07T05:31:56Z",
"runId": "<string>",
"metrics": [
{
"name": "<string>",
"description": "<string>",
"jobId": "<string>",
"binary": false,
"primary": false
}
]
}
],
"appkitApps": [
{
"appkitApp": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"contextPath": "<string>",
"enabled": false,
"war": "<string>",
"warMd5": "<string>",
"warSize": 123,
"type": "<string>"
},
"editingSessions": [
{
"id": "<string>",
"owner": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"version": "<string>"
}
]
}
],
"fusionApps": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"customRules": [
{
"id": "<string>",
"display_type": "<string>",
"pipeline_id": "<string>",
"schema": {
"type": "String",
"title": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"additionalProperties": {},
"minProperties": 123,
"maxProperties": 123,
"definitions": {},
"category": "<string>",
"categoryPriority": 123,
"enum": [
{}
],
"hints": [
"<string>"
],
"unsafe": false,
"default": {},
"oneOf": [
{
"type": "String",
"title": "<string>",
"description": "<string>",
"enum": [
{}
],
"default": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": false,
"oneOf": "<unknown>"
}
],
"propertyGroups": [
{
"label": "<string>",
"properties": [
"<string>"
]
}
]
}
}
],
"dataSources": [
{
"id": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"connector": "<string>",
"type": "<string>",
"description": "<string>",
"pipeline": "<string>",
"parserId": "<string>",
"properties": {}
}
]
},
"properties": [
{
"id": "<string>",
"schema": {
"type": "<string>",
"title": "<string>",
"description": "<string>",
"hints": [
"<string>"
]
}
}
],
"metadata": {
"formatVersion": "<string>",
"exportedBy": "<string>",
"exportedDate": "<string>",
"fusionVersion": "<string>",
"fusionGuid": "<string>"
}
}Export objects
Omit parameters to export all objects
GET
/
objects
/
export
Export objects
import requests
url = "https://{FUSION_HOST}:8764/api/apollo/objects/export"
response = requests.get(url)
print(response.text)HttpResponse<String> response = Unirest.get("https://{FUSION_HOST}:8764/api/apollo/objects/export")
.asString();const options = {method: 'GET'};
fetch('https://{FUSION_HOST}:8764/api/apollo/objects/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://{FUSION_HOST}:8764/api/apollo/objects/export")
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_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{FUSION_HOST}:8764/api/apollo/objects/export"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8764",
CURLOPT_URL => "https://{FUSION_HOST}:8764/api/apollo/objects/export",
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;
}curl --request GET \
--url https://{FUSION_HOST}:8764/api/apollo/objects/export{
"objects": {
"collections": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"searchClusterId": "<string>",
"commitWithin": 123,
"features": {},
"compositeIdSpec": {
"routeKey1Field": "<string>",
"routeKey1Bits": 123,
"routeKey2Field": "<string>",
"routeKey2Bits": 123
},
"solrParams": {
"name": "<string>",
"numShards": 123,
"replicationFactor": 123,
"collection.configName": "<string>"
},
"modifiedAt": "2023-11-07T05:31:56Z",
"type": "DATA",
"relatedCollectionId": "<string>",
"metadata": {}
}
],
"indexPipelines": [
{
"id": "<string>",
"stages": [
{
"type": "<string>",
"id": "<string>",
"skip": false,
"label": "<string>",
"condition": "<string>"
}
],
"properties": {}
}
],
"queryPipelines": [
{
"id": "<string>",
"stages": [
{
"type": "<string>",
"id": "<string>",
"skip": false,
"label": "<string>",
"condition": "<string>"
}
],
"properties": {}
}
],
"searchClusters": [
{
"id": "<string>",
"connectString": "<string>",
"zkClientTimeout": 123,
"zkConnectTimeout": 123,
"cloud": false,
"bufferFlushInterval": 123,
"bufferSize": 123,
"concurrency": 123,
"authConfig": {
"authType": "NONE",
"username": "<string>",
"password": "<string>",
"keyTab": "<string>",
"principal": "<string>"
},
"validateCluster": false
}
],
"features": {},
"indexProfiles": [
{
"id": "<string>",
"indexPipeline": "<string>",
"collection": "<string>",
"parser": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
]
}
],
"queryProfiles": [
{
"id": "<string>",
"queryPipeline": "<string>",
"collection": "<string>",
"searchHandler": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
],
"experiment": {
"id": "<string>",
"percentOfTraffic": 123
}
}
],
"parsers": [
{
"id": "<string>",
"idField": "<string>",
"enableMediaTypeDetection": false,
"maxParserDepth": 123,
"parserStages": [
{
"label": "<string>",
"enabled": false,
"mediaTypes": [
"<string>"
],
"pathPatterns": [
{
"syntax": "GLOB",
"pattern": "<string>"
}
],
"errorHandling": "IGNORE",
"id": "<string>",
"inheritMediaTypes": false,
"outputFieldPrefix": "<string>"
}
]
}
],
"objectGroups": [
{
"id": "<string>",
"name": "<string>",
"isSystem": false,
"description": "<string>"
}
],
"links": [
{
"subject": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"object": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"linkType": "DependsOn",
"originator": "<string>"
}
],
"tasks": [
{
"id": "<string>",
"type": "<string>"
}
],
"jobs": [
{
"resource": {
"type": "APPKIT_APP",
"id": "<string>",
"canonicalName": "<string>",
"uri": "<string>"
},
"enabled": false,
"triggers": [
{
"enabled": false,
"type": "<string>"
}
],
"default": false
}
],
"sparkJobs": [
{
"id": "<string>"
}
],
"blobs": [
{
"id": "<string>",
"path": "<string>",
"dir": "<string>",
"filename": "<string>",
"contentType": "<string>",
"size": 123,
"modifiedTime": "2023-11-07T05:31:56Z",
"version": 123,
"md5": "<string>",
"metadata": {}
}
],
"experiments": [
{
"id": "<string>",
"description": "<string>",
"uniqueIdParameter": "<string>",
"baseSignalsCollection": "<string>",
"variants": [
{
"id": "<string>",
"name": "<string>",
"collection": "<string>",
"queryPipeline": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "REPLACE"
}
],
"weight": 123
}
],
"automaticallyAdjustTraffic": false,
"enabled": false,
"startTimestamp": "2023-11-07T05:31:56Z",
"runId": "<string>",
"metrics": [
{
"name": "<string>",
"description": "<string>",
"jobId": "<string>",
"binary": false,
"primary": false
}
]
}
],
"appkitApps": [
{
"appkitApp": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"contextPath": "<string>",
"enabled": false,
"war": "<string>",
"warMd5": "<string>",
"warSize": 123,
"type": "<string>"
},
"editingSessions": [
{
"id": "<string>",
"owner": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"version": "<string>"
}
]
}
],
"fusionApps": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"customRules": [
{
"id": "<string>",
"display_type": "<string>",
"pipeline_id": "<string>",
"schema": {
"type": "String",
"title": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"additionalProperties": {},
"minProperties": 123,
"maxProperties": 123,
"definitions": {},
"category": "<string>",
"categoryPriority": 123,
"enum": [
{}
],
"hints": [
"<string>"
],
"unsafe": false,
"default": {},
"oneOf": [
{
"type": "String",
"title": "<string>",
"description": "<string>",
"enum": [
{}
],
"default": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": false,
"oneOf": "<unknown>"
}
],
"propertyGroups": [
{
"label": "<string>",
"properties": [
"<string>"
]
}
]
}
}
],
"dataSources": [
{
"id": "<string>",
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"connector": "<string>",
"type": "<string>",
"description": "<string>",
"pipeline": "<string>",
"parserId": "<string>",
"properties": {}
}
]
},
"properties": [
{
"id": "<string>",
"schema": {
"type": "<string>",
"title": "<string>",
"description": "<string>",
"hints": [
"<string>"
]
}
}
],
"metadata": {
"formatVersion": "<string>",
"exportedBy": "<string>",
"exportedDate": "<string>",
"fusionVersion": "<string>",
"fusionGuid": "<string>"
}
}Query Parameters
Was this page helpful?