AIML-Bot-API

GraphQL API to AIML Bot


License
MIT
Install
pip install AIML-Bot-API==0.0

Documentation

AIML Bot API

This is a very basic GraphQL API for AIML Bot.

IMPORTANT: No security measures are implemented. Use this module as a public-facing API at your own risk. Anyone who has access to the API has access to the entire data set.

Endpoints

The following endpoints are provided:

/

The GraphQL endpoint is the preferred method for interacting with the system.

/users

A JSON endpoint for listing registered users or adding a new user.

/users/<user_id>

A JSON endpoint for retrieving information about a specific user.

/users/<user_id>/messages

A JSON endpoint for listing the messages to/from a user or sending a new message to the bot.

/users/<user_id>/messages/<message_id>

A JSON endpoint for retrieving information about a specific message.