Path Parameters
Collection ID.
import requests
url = "https://{FUSION HOST}/api/collections/{collection}/schema/fieldTypes"
response = requests.get(url)
print(response.json())[
{
"name": "<string>",
"analyzer": {
"tokenizer": {
"class": "<string>"
},
"filters": [
{
"class": "<string>"
}
],
"type": "<string>",
"class": "<string>"
},
"indexAnalyzer": {
"tokenizer": {
"class": "<string>"
},
"filters": [
{
"class": "<string>"
}
],
"type": "<string>",
"class": "<string>"
},
"queryAnalyzer": {
"tokenizer": {
"class": "<string>"
},
"filters": [
{
"class": "<string>"
}
],
"type": "<string>",
"class": "<string>"
},
"indexed": true,
"stored": true,
"multiValued": true,
"positionIncrementGap": 123,
"class": "<string>"
}
]Returns field types from a given collection.
import requests
url = "https://{FUSION HOST}/api/collections/{collection}/schema/fieldTypes"
response = requests.get(url)
print(response.json())[
{
"name": "<string>",
"analyzer": {
"tokenizer": {
"class": "<string>"
},
"filters": [
{
"class": "<string>"
}
],
"type": "<string>",
"class": "<string>"
},
"indexAnalyzer": {
"tokenizer": {
"class": "<string>"
},
"filters": [
{
"class": "<string>"
}
],
"type": "<string>",
"class": "<string>"
},
"queryAnalyzer": {
"tokenizer": {
"class": "<string>"
},
"filters": [
{
"class": "<string>"
}
],
"type": "<string>",
"class": "<string>"
},
"indexed": true,
"stored": true,
"multiValued": true,
"positionIncrementGap": 123,
"class": "<string>"
}
]Collection ID.
Was this page helpful?