Antville.org

Application Programming Interfaces

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


Callback URL

Each Antville site provides an option in the preferences 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 user who 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

Sunday, 26.10.2014, 08:39
Balance Q1/14: -75,33 €
... Please support Antville
Status
You are not logged in ... Login
Menu
... Health



Member of The Internet Defense League
ipv6 ready

Made with Antville
Helma Object Publisher

... Impressum