docs: function getPath (path, name, profiles, label) {
    const profilesStr = buildProfilesString(profiles)
  
    return (path.endsWith('/') ? path : path + '/') +
          encodeURIComponent(name) + '/' +
          encodeURIComponent(profilesStr) +
          (label ? '/' + encodeURIComponent(label) : '')
  }