Skip to main content
POST
/
subscription_indexing
/
{id}
/
collections
/
{collection}
/
index
Index documents via subscription
import requests

url = "https://{FUSION HOST}/api/subscription_indexing/{id}/collections/{collection}/index"

payload = [{}]
headers = {
    "Authorization": "Basic <encoded-value>",
    "Content-Type": "application/json"
}

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

print(response.text)
{}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The subscription ID

collection
string
required

The target collection name

Body

application/json

List of documents to index

Response

200 - application/json

Documents successfully queued for indexing

The response is of type object.