Just for reference: There is already a feature request open for this: Add API for responsive resize values - #3 by pklaschka.
Please feel free to vote on it (although, if Adobe is already working on it, it probably doesn’t do much of a difference ).