Exif data on attachments

Wish the API had something it doesn't? Post here!
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
caine
Posts: 7
Joined: Thu Nov 18, 2021 2:22 pm

Exif data on attachments

Post by caine » Wed Apr 03, 2024 1:47 am

Either add the "Date Taken" exif data to the individual attachment get request or, allow a get request to gather the exif data. (/exif?columns=dateTime)

Purpose - to rename attachments to include the date and time taken. Currently setting a header Range: bytes=0-4000 works to grab the first few kb which usually would contain the exif data. Then need to process the data to parse the exif and grab the date time data. Then sending a patch request back to the update the attachment name.

(Would be really nice to just tick a feature in simpro for this to happen automatically.)
Post Reply