################################################################################
################################################################################
################################################################################
WARNING: AS OF 2008-02-28 These docs are no longer up to date please see
http://webthumb.bluga.net/apidoc for the current documentation
################################################################################
################################################################################
################################################################################
All requests are made too: http://webthumb.bluga.net/api.php
You submit XML, it doesn't matter what content-type you set
Response is content-type: text/xml on success, and text/plain with a error
message on failure
Currently failure conditions when making multiple requests (and some are Ok)
aren't handled well. You'll get a non specific error message at the end of
the XML.
################################################################################
Submitting a thumbnail Request (job)
################################################################################
To submit a thumbnail request, send an XML message like
apikey here
webthumb.bluga.net
You can use multiple request nodes, and you can also set the height and width
of the browser
apikey here
webthumb.bluga.net
webthumb.bluga.net
300
300
You'll get a response like:
wt44f5bf42a0e4a
wt44f5bf42a202f
The response contains 1 job line per request, The id in the response (wt*)
is used to get the status and fetch the image. You can either store these id's
and check back in estimate seconds. Or you make a non specific status request,
and it will give you the status on any non completed jobs, and any jobs
completed in the last 6 hours.
################################################################################
Checking the status of a Job
################################################################################
To submit a job status request, send an XML message like
apikey here
wt44f5bf42a0e4a
wt44f5bf42a202f
You'll get a response back like
Complete
Complete
################################################################################
Checking the status of recent jobs
################################################################################
To submit a job status request, send an XML message like
apikey here
You'll get a response back like the one where specific jobs are specified only
the results for all jobs not yet completed and for all the jobs completed in
the last 24 hours (max of 50 results)
################################################################################
Fetching images
################################################################################
To grab an image you can download it directly using the pickup url from
jobStatus or you can use the fetch API
apikey here
wt44f5bf42a0e4a
small
Possible values for size are: small, medium, medium2, large, zip
The result will be the image data