All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.zanella.nomad.v1.allocations.AllocationsApi Maven / Gradle / Ivy

package io.github.zanella.nomad.v1.allocations;

import feign.Param;
import feign.RequestLine;
import io.github.zanella.nomad.v1.allocations.models.Allocation;

import java.util.List;

public interface AllocationsApi {
    String allocationsUrl = "/v1/allocations";

    @RequestLine("GET " + allocationsUrl)
    List getAllocations();

    @RequestLine("GET " + allocationsUrl + "?region={region}")
    String getAllocationsOfRegion(@Param("region") String region);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy