Ingest
Ingest schemas
List schemas participating in Black Hole.
GET
/
api
/
v2
/
ingest
/
schemas
/
List schemas an item may be matched to
curl --request GET \
--url https://api.example.com/api/v2/ingest/schemas/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/ingest/schemas/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/ingest/schemas/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"schemas": [
{
"slug": "<string>",
"name": "<string>",
"version": 123,
"black_hole_enabled": true
}
]
}{}{}{}⌘I
List schemas an item may be matched to
curl --request GET \
--url https://api.example.com/api/v2/ingest/schemas/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/ingest/schemas/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/ingest/schemas/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"schemas": [
{
"slug": "<string>",
"name": "<string>",
"version": 123,
"black_hole_enabled": true
}
]
}{}{}{}
