API for a hypothetical URLs shorten service