Allow update of attachment view URL for external attachments (e.g. Drive) via API

Being able to update attachment’s view URLs (Google Drive) via API is highly important in our future projects.

  1. Primary desired solution for this would be to update each attachment resource’s view_url via a PUT / PATCH request
  2. Alternative (much worse, but still plausible) solution would be deleting the attachment (possible already) and then creating a new one by e.g. only giving the view_url in an attachment POST request (not possible at the moment)

This extension to API is vital for integration of Asana to Google Drive.

Please read this before posting

  • If you received an error from the API that you’re looking for help with, please include the error in your post and be descriptive of the requests you made that received the errors. To be clear, we need the error in the JSON response from the API, not the error your code raised.
  • Do not share any API credentials. Please check that the code you’re pasting into the post does not contain any real OAuth tokens or personal access tokens. If you have exposed credentials, you should revoke them immediately.