korakot
korakot

Reputation: 40878

Google Colaboratory URL scheme

I noticed a few changes in Colab URLs recently. Can someone confirm/clarify its correct meaning?

Am I missing any other URL scheme?

I am also curious about its URL parameters when you “Open in playground”:

update

The new sandbox scheme is just https://colab.research.google.com/drive/xxxxxxx#offline=true&sandboxMode=true

Upvotes: 3

Views: 1808

Answers (1)

blois
blois

Reputation: 1526

This is mostly correct- Colab is migrating away from the hashparam based URLs because they don't allow server-side redirects and the new ones are a bit cleaner.

The #fileId=xxx scheme is still used when opening files from drive.google.com, but this will start using the new scheme soon as well.

All old URLs will continue to work, but because of the server-side redirect we'd encourage using the new scheme.

The playground parameters are crufty and will most likely be changed at some point.

  • forceEdit allows editing, even if the notebook is not editable (vs the readonly view)
  • offline disables realtime collaboration.

Upvotes: 3

Related Questions