Class Env


  • @Path("")
    public class Env
    extends Object
    The env Emissary API endpoint that returns key=value pairs of config info for the running node

    Suitable for parsing or sourcing in bash, as the 'env.sh' command calls it calls.

    • Constructor Detail

      • Env

        public Env()
    • Method Detail

      • getEnvJson

        @GET
        @Path("/env")
        @Produces("application/json")
        public jakarta.ws.rs.core.Response getEnvJson()
      • getEnvForBash

        @GET
        @Path("/env.sh")
        @Produces("text/plain")
        public jakarta.ws.rs.core.Response getEnvForBash()