mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
integration tests for the file history endpoint
This commit is contained in:
@@ -40,6 +40,20 @@ public class FileHistoryRootResource {
|
||||
this.fileHistoryCollectionToDtoMapper = fileHistoryCollectionToDtoMapper;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all changesets related to the given file starting with the given revision
|
||||
*
|
||||
* @param namespace the repository namespace
|
||||
* @param name the repository name
|
||||
* @param revision the revision
|
||||
* @param path the path of the file
|
||||
* @param page pagination
|
||||
* @param pageSize pagination
|
||||
* @return all changesets related to the given file starting with the given revision
|
||||
* @throws IOException on io error
|
||||
* @throws RevisionNotFoundException on missing revision
|
||||
* @throws RepositoryNotFoundException on missing repository
|
||||
*/
|
||||
@GET
|
||||
@Path("{revision}/{path: .*}")
|
||||
@StatusCodes({
|
||||
|
||||
Reference in New Issue
Block a user