Package org.projectnessie.api.http
Interface HttpRefLogApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RefLogResponsegetRefLog(RefLogParams params)Retrieve the reflog, potentially truncated by the backend.
-
-
-
Method Detail
-
getRefLog
@GET @Produces("application/json") RefLogResponse getRefLog(@BeanParam RefLogParams params) throws NessieNotFoundExceptionDescription copied from interface:RefLogApiRetrieve the reflog, potentially truncated by the backend.Retrieves up to
maxRecordsrefLog-entries starting at the HEAD of current-reflog. The backend may respect the givenmaxrecords hint, but return less or more entries. Backends may also cap the returned entries at a hard-coded limit, the default REST server implementation has such a hard-coded limit.Invoking
getRefLog()does not guarantee to return all refLog entries because the result can be truncated by the backend.To implement paging, check
RefLogResponse.isHasMore()and, iftrue, pass the value ofRefLogResponse.getToken()in the next invocation ofgetRefLog()as thepageTokenparameter.See
org.projectnessie.client.StreamingUtilinnessie-client.- Specified by:
getRefLogin interfaceRefLogApi- Returns:
RefLogResponse- Throws:
NessieNotFoundException
-
-