Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the Public API tab, click Datasets, and hit the Add button. 
    add dataset
  2. On the Add Dataset window, select the dataset or datasets that should be accessible with the API key.
     select dataset
  3. When done selecting the datasets for binding, click the Selected button to view your selection. You may remove datasets from the list by clicking the X sign corresponding to the dataset for removal. 
    add select dataset
  4. Click Add Selected once you confirm the list is correct. 
  5. Then you can see the selected dataset in the dataset list.

Image Added

Binding a widget to the API key

  1. Go to the Public API tab, click Widget, and hit the Add button. 
    add widget
  2. On the Add Widget window, select the widget or widgets that should be accessible with the API key.
     select widgets
  3. When done selecting the widgets for binding, click the Selected button to view your selection. You may remove widgets from the list by clicking the X sign corresponding to the widget for removal. 
    add select widget
  4. Click Add Selected once you confirm the list is correct. 
  5. Then you will see the selected widget in the widget list.

Image Added

Stop connecting your data to the API

...

curl https://api.mspbots.ai/api/dataset/{resourceId} -H 'apikey: {apiKey}' -X GET

REQUEST


Image RemovedImage Added

RESPONSE

GET REQUEST (Widget)

curl https://api.mspbots.ai/api/widget/{resourceId} -H 'apikey: {apiKey}' -X GET

REQUEST

Image RemovedImage Added

RESPONSE

Sample Error Response

...