API Documentation

The photo archive provides an externally accessible API at https://egrivel.ddns.net:4433/cgi-bin/photos/phapi through which the app will interact with the photo archive. The GET requests are sent with an action parameter, plus any appropriate additional parameters.

“all” Action

The all action is typically the first API call to make, and it returns a list of years available in the archive, as well as a list of “specials” available.

“year” Action

The year action must be combined with a year=nnnn parameter to specify the year requested. It will return a list of all the sets in that year.

“type” Action

The type action must be combined with type=x parameter, where x specifies the type for which details are requested. It returns a list of all the sets with that type.

“set” Action

The set action must be combined with the setid=nnn parameter, where nnn specifies the set ID for which details are requested. It returns the details for the requested set, including a list of all the photos in the set.

“image” Action

The image action must be combine with the imageid=nnn parameter, where nnn specifies the image ID for which details are requested. It returns the details for the requested image.