Developer

Topic Endpoint

The APIs around Topic are for seeding our data collection with specific topics.

The deployment end-point for our APIs is: http://api.spotinfluence.com

The Topic APIs all use a path of the form: VERSION/TOKEN/topic/...

Where VERSION is currently "v1". I.e., version 1 of the API.

Submit

To submit topics for data collection make the following call

PUT http://spotapi.spotinfluence.com/*VERSION*/*TOKEN*/topic/submit Content-Type: application/json

The body of your PUT should be:

{ "topics": Array[String] }

...where each String in the array is a topic you wish to submit.

Examples

$ curl -H "Content-Type: application/json" http://api.spotinfluence.com/v1/*TOKEN*/topic/submit {"envelope_ver":"1.0","status":"2.5.4","msg":"success (no content)"}