Skip to content

Api - projects search api - pagination doesn't work

Summary

I'm trying use the pagination with the projects search api with scope blobs using pagination but pagination doesn't work. I'm querying on a local instance of GitLab Community Edition 11.2.3

Steps to reproduce

https://gitlabserver/api/v4/projects/project_id/search?scope=blobs&search=ASearchInvolvesMoreThen100Results&page=2&per_page=100

Example Project

What is the current bug behavior?

The pagination doesn't work if the result implies more than 100 results, just select the second page and the result will be empty

What is the expected correct behavior?

The correct behavior show more results

Relevant logs and/or screenshots

Output of checks

Edited by 🤖 GitLab Bot 🤖