My goal is to publish a Google Sheet document to the web and get the link using Google Sheets API.
I managed to publish it using this advice and now it says "published" in File -> Publish to the web tab. However, the link given on this tab is different from the original file id
, and I don'k know how to get it with API.