Manager API - qcri-social/AIDR GitHub Wiki
Essential API
The following are the essential elements of the API.
CollectionController
save.action
Method: CollectionController.save() - create and start collection
delete.action
Method: CollectionController.delete() - delete collection
update.action
Method: CollectionController.update() - update collection
start.action
Method: CollectionController.start() - start collection
stop.action
Method: CollectionController.stop() - stop collection
generateCSVLink.action
Method: CollectionController.generateCSVLink() - generate CSV link for tweets file
generateTweetIdsLink.action
Method: CollectionController.generateTweetIdsLink() - generate TweetIds Link
generateJSONLink.action
Method: CollectionController.generateJSONLink() - generate JSON link for tweets file
generateJsonTweetIdsLink.action
Method: CollectionController.generateJsonTweetIdsLink() - generate JSON link for tweet Ids
TaggerController
createCrises.action
Method: TaggerController.createCrises() - add crisis (classifier)
updateCrisis.action
Method: TaggerController.update() - update crisis (classifier)
getTrainingDataByModelIdAndCrisisId.action
Method: TaggerController.getTrainingDataByModelIdAndCrisisId() - get the training data for a classifier
loadLatestTweets.action
Method: TaggerController.loadLatestTweets() - load latest tweets with filters in interactive view page
downloadHumanLabeledDocuments.action
Method: TaggerController.downloadHumanLabeledDocuments() - download Human labeled document by crisis user name - but there is no access for UI yet
taggerGenerateCSVLink.action
Method: TaggerController.generateCSVLink() - generate CSV link for tweets file
taggerGenerateTweetIdsLink.action
Method: TaggerController.generateTweetIdsLink() - generate tweet Ids link for tweet Ids file
taggerGenerateJSONLink.action
Method: TaggerController.generateJSONLink() - generate JSON link for tweets file
taggerGenerateJsonTweetIdsLink.action
Method: TaggerController.generateJsonTweetIdsLink() - generate Json Tweet Ids Link
taggerGenerateCSVFilteredLink.action
Method: TaggerController.generateCSVFilteredLink() - generate CSV Filtered Link
taggerGenerateTweetIdsFilteredLink.action
Method: TaggerController.generateTweetIdsFilteredLink() - generate Tweet Ids Filtered Link
taggerGenerateJSONFilteredLink.action
Method: TaggerController.generateJSONFilteredLink() - generate JSON Filtered Link
taggerGenerateJsonTweetIdsFilteredLink.action
Method: TaggerController.generateJsonTweetIdsFilteredLink() - generate Json Tweet Ids Filtered Link