package com.iqser.red.service.persistence.service.v1.api.internal.resources;

import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseStatus;

import com.iqser.red.service.persistence.service.v1.api.shared.model.WatermarkModel;

@ResponseStatus(value = HttpStatus.OK)
public interface WatermarkResource {

    String WATERMARK_PATH = "/watermark";
    String WATERMARK_ID_PARAMETER_NAME = "watermarkId";
    String WATERMARK_ID_PATH_VARIABLE = "/{" + WATERMARK_ID_PARAMETER_NAME + "}";


    @GetMapping(value = InternalApi.BASE_PATH + WATERMARK_PATH + WATERMARK_ID_PATH_VARIABLE, produces = MediaType.APPLICATION_JSON_VALUE)
    WatermarkModel getWatermark(@PathVariable(WATERMARK_ID_PARAMETER_NAME) long watermarkId);

}

