Interface NavBuilder.Tmp

All Superinterfaces:
NavBuilder.Builder<NavBuilder.Tmp>
Enclosing interface:
NavBuilder

public static interface NavBuilder.Tmp extends NavBuilder.Builder<NavBuilder.Tmp>
Group builder for endpoints under /tmp, which are intended to provide access to temporary data stored by the system to facilitate user actions.
  • Method Details

    • avatar

      NavBuilder.Builder<?> avatar(@Nonnull String id)
      Builds URLs for accessing temporary avatars which have been uploaded. When a temporary avatar is uploaded, a unique ID is generated and returned. That ID is a required parameter here.
      Parameters:
      id - the ID assigned when the temporary avatar was uploaded
      Returns:
      a builder to construct URLs for accessing the specified temporary avatar