class DocumentsRestServiceImpl extends BaseRestService implements DocumentsRestService {

    @Override
    public RestResult<Optional<FileEntryResource>> getFileEntryDetails(long projectId, long documentConfigId) {
        String url = String.format("%s/%s/document/config/%s/file-entry-details", projectRestURL, projectId, documentConfigId);
        return getWithRestResult(url, FileEntryResource.class).toOptionalIfNotFound();
    }

}