API Schema

Base URL: /api/v1, Version: 1.0.0

Default request content-types: application/json

Default response content-types: application/json

Schemes

Tag: users

API call Description
GET /users/{userId} Obtain information of a particular user
GET /users/{userId}/emotion Obtain the emotion of a user
GET /users/{userId}/sentiment Obtain the sentiment of a user
GET /users/{userId}/metrics Obtain the metrics of a user
GET /users Obtain list of available users
GET /users/{userId}/network Obtain social network of a user

Tag: tweets

API call Description
GET /tweets/{tweetId} Obtain information of a particular tweet
DELETE /tweets/{tweetId} Delete a tweet from the database
GET /tweets/{tweetId}/history Obtain the history of a particular tweet
GET /tweets/{tweetId}/sentiment Obtain the sentiment of a tweet
GET /tweets/{tweetId}/emotion Obtain the emotion of a tweet
GET /tweets/{tweetId}/metrics Obtain the metrics of a tweet
GET /tweets Obtain list of available tweets
POST /tweets Add a tweet to the database

Tag: topics

API call Description
GET /topics Obtain list of available topics
GET /topics/{topicId} Obtain information of a particular topic
GET /topics/{topicId}/network Obtain social network of a topic

Tag: tasks

API call Description
GET /tasks Obtain the list of tasks
GET /tasks/{taskId} Obtain the status of a particular task

Tag: communities

API call Description
GET /communities/{communityId} Obtain information of a particular community
GET /communities/{communityId}/emotion Obtain the emotion of a community
GET /communities/{communityId}/sentiment Obtain the sentiment of a community
GET /communities Obtain list of available communities
GET /communities/{communityId}/users Obtain users that conforms a community