Schema

Upload Click Behavior

Send Triton a click behavior

URL triton.ml/me/click
Headers X-Triton-Key set to your API key.
Cookies tritonuser
Method PUT
Body
{
	"item": PATH OF ITEM,
	"time": "YYYY-MM-DDTHH:mm:ss.sssZ"
}

Upload Read Behavior

Send Triton a read behavior

URL triton.ml/me/read
Headers X-Triton-Key set to your API key.
Cookies tritonuser
Method PUT
Body
{
	"item": <PATH OF ITEM>,
	"start": "YYYY-MM-DDTHH:mm:ss.sssZ", 
	"Time": "YYYY-MM-DDTHH:mm:ss.sssZ"
}

Recommendations

Similar Content

URL triton.ml/article/similar?id=ITEM_PATH
Headers X-Triton-Key set to your API key.
Cookies tritonuser
Method GET
Returns
[
    {
     "name": <string>,
     "url": <string>, 
     "author": <string>,
     "id": <string>, 
     "image": <string url>, 
    }, …
     ….
]

Recommended for You (with User ID)

URL triton.ml/user/recommend?user=<id>
Headers X-Triton-Key set to your API key.
Method GET
Returns
[
    {
     "name": <string>,
     "url": <string>, 
     "author": <string>,
     "id": <string>, 
     "image": <string url>, 
    }, …
     ….
]

Recommended for You (without User ID)

URL triton.ml/user/recommend
Headers X-Triton-Key set to your API key.
Cookies tritonuser
Method GET
Returns
[
    {
     "name": <string>,
     "url": <string>, 
     "author": <string>,
     "id": <string>, 
     "image": <string url>, 
    }, …
     ….
]