trevorflanagan commented on this pull request.
> +import javax.ws.rs.Produces;
+import javax.ws.rs.QueryParam;
+import javax.ws.rs.core.MediaType;
+import java.util.List;
+
+@RequestFilters({ BasicAuthentication.class, OrganisationIdFilter.class })
+@Consumes(MediaType.APPLICATION_JSON)
+@Path("/{jclouds.api-version}/network")
+public interface NetworkApi {
+
+ @Named("network:deployNetworkDomain")
+ @POST
+ @Path("/deployNetworkDomain")
+ @Produces(MediaType.APPLICATION_JSON)
+ @MapBinder(BindToJsonPayload.class)
+ Response deployNetworkDomain(@PayloadParam("datacenterId") String
datacenterId, @PayloadParam("name") String name,
Thanks @nacx @andreaturli I have used the `@ResponseParser` approach so that we
can just get the ID value from the Response.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/389#discussion_r123011213