Python
import requests url = "https://{FUSION HOST}/api/signals/create/{collection}" payload = {} headers = { "Authorization": "Basic <encoded-value>", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.text)
{ "collection": "<string>", "signalsCollection": "<string>", "signalsAggrCollection": "<string>" }
Create a new signals collection.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The primary collection for which to create a new signals collection.
OK
The name of the main collection.
The name of the raw signals collection.
The name of the aggregated signals collection.
Was this page helpful?