Welcome to Inkbunny...
Allowed ratings
To view member-only content, create an account. ( Hide )
Inkbunny

[API] Last file upload datetime field per submission

Hi everyone

This is for anyone programming apps using the Inkbunny API. We have added new output fields but this should not affect any existing apps.

We have just added fields to the Search and Submissions interfaces that indicate the last datetime that a new file was added to a submission.

This may be useful if you are caching submission file data and want to know quickly if any of the files (thumbnails and other data associated with files) have been updated per submission.

Check out the fields called "last_file_update_datetime" and "last_file_update_datetime_usertime" in the Response section of the Search and Submissions interfaces:

http://wiki.inkbunny.net/wiki/API#Search

http://wiki.inkbunny.net/wiki/API#Submission_Details

The quickest way to check for updated files on submissions using these new fields would be to use the Search interface in minimal output mode (skip returning description etc).

If any programmers have questions about this or other API stuff, feel free to contact us!

Thanks

IB
Viewed: 85 times
Added: 6 years, 5 months ago
Site News Item: yes
 
trashbunny
6 years, 5 months ago
Neato!
jurann
6 years, 5 months ago
I couldn't find anything in the API documentation about a "minimal output mode". By this did you just mean having descs/stories turned off (which is the default) for the submissions API? If not, I may be interested in hearing more about this feature. =)
starling
6 years, 5 months ago
Yeah just keeping desc and story turned off!
New Comment:
Move reply box to top
Log in or create an account to comment.