Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9694

Closed
Open
Created Oct 05, 2015 by Administrator@rootOwner

gitlab api for products pagination returns items multiple times and not always returns 10 items at once

Created by: do3cc

Hi,

we sorely miss cc.xml support in gitlab so we wrote a script to generate it via the api. After the upgrade to 8.0 we only get back ten results. I suspected that you might have added pagination and indeed, adding my pagination support code to query projects returned more results. But now the second page (page=1) returns the same 10 results. Further page queries return more results, but now not always ten items per page. I played with the order_by parameter, now I order by id and the page results are ordered but over all pages the results seem to be random

Assignee
Assign to
Time tracking