API

Antville supports the following application programming interfaces:
The URL endpoint for each of these APIs is located at
http://antville.org/api/

Callback URL

Each Antville site provides a setting to define a callback URL that will be invoked each time the site content has changed. This way users can define custom handlers for different site events with their own code running behind this URL – on a server and in a programming language of their choice.

The callback URL will be invoked as an HTTP POST request with the following parameters:

type
Resource type (e.g. Story or Comment)
id
Numeric identifier of the resource
url
URL string of the resource
date
Date string in Unix timestamp format
user
Name of the account that triggered the event
site
Title or name of the site
origin
URL string of the site

Antville itself provides a default callback URL invoking the basic ping method of the weblogs.com API.

http://antville.org/api/callback

Wed 27 May 2015, 15:33 CEST
You are not logged in
Member of The Internet Defense League