code: public RESTLayer getLayer(Integer importJobId, Integer taskId) throws Exception {
          Response httpResponse = HttpUtil.get(
              this.addEndPoint(importJobId + "/tasks/" + taskId + "/layer"),
              this.username,
              this.password
          );
  
          return (RESTLayer) this.asEntity(httpResponse.getBody(), RESTLayer.class);
      }
docs: Get a layer.