curl --request GET \
--url https://api-dev.narrative.io/apps/installed/interfaces \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-dev.narrative.io/apps/installed/interfaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-dev.narrative.io/apps/installed/interfaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.narrative.io/apps/installed/interfaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-dev.narrative.io/apps/installed/interfaces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-dev.narrative.io/apps/installed/interfaces")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.narrative.io/apps/installed/interfaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"records": [
{
"id": "audience_export",
"name": "Audience Export",
"app_id": 42,
"metadata": {
"tags": [
"advertising",
"audience_delivery"
],
"refresh_schedule": {
"max": "P180D"
}
},
"schema": {
"type": "object",
"properties": {
"audience_name": {
"title": "Audience Name",
"type": "string"
}
},
"required": [
"audience_name"
]
},
"policy": {
"type": "object",
"description": "JSON Schema metaschema over dataset schemas"
}
}
]
}List installed app interfaces
Lists the interfaces of every connector app installed by the caller’s company. Each record carries the
app_id of the app that owns it. Interfaces are fetched live from each connector’s server, so this call
can be slow or fail if a connector is unavailable.
The optional tags query parameter restricts results to interfaces whose metadata tags intersect the
supplied set (case-insensitive, OR semantics). When omitted, every interface is returned.
curl --request GET \
--url https://api-dev.narrative.io/apps/installed/interfaces \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-dev.narrative.io/apps/installed/interfaces"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-dev.narrative.io/apps/installed/interfaces', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-dev.narrative.io/apps/installed/interfaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-dev.narrative.io/apps/installed/interfaces"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-dev.narrative.io/apps/installed/interfaces")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-dev.narrative.io/apps/installed/interfaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"records": [
{
"id": "audience_export",
"name": "Audience Export",
"app_id": 42,
"metadata": {
"tags": [
"advertising",
"audience_delivery"
],
"refresh_schedule": {
"max": "P180D"
}
},
"schema": {
"type": "object",
"properties": {
"audience_name": {
"title": "Audience Name",
"type": "string"
}
},
"required": [
"audience_name"
]
},
"policy": {
"type": "object",
"description": "JSON Schema metaschema over dataset schemas"
}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Restrict results to interfaces whose metadata tags include at least one of the supplied values.
Repeat the parameter to pass multiple tags (e.g. ?tags=audience_delivery). Matching is
case-insensitive.
Response
OK
Show child attributes
Show child attributes
Was this page helpful?

