code: function(bin) {
        var url = app.set('url full');
  
        if (!bin) {
          return;
        }
  
        if (bin.url) {
          url += '/' + bin.url;
  
          if (bin.revision && bin.revision !== 1) {
            url += '/' + bin.revision;
          }
        }
        return url;
      }
docs: matches the format used in the client side code (jsbin.js)