When there are more than 100 entries in a Docker Proxy Container Registry, only the first 100 are ever returned by the Docker API

I have a Nexus Docker Proxy Registry containing several hundred Docker Repositories. I want to use the Docker ‘_catalog’ API to retrieve the entire list. This is a “paged” interface meaning that the entire list cannot be retrieve with a single call. Using the “n” and “last” parameters, you are supposed to be able to retrieve “pages” of data. No matter what values I set for “n”, the interface only returns the first 100 entries.

Attached is an example with “n” set to 10. I replaced “https://” with “*******” so that this site would let me post this. I also removed “.” from the URLs.

Notice on the last item that no “Link” variable is returned indicating that Nexus has no more items to return.

Testing with page size = 10

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10
10 items returned
First item returned ==> projecta/access-control
Last item returned ==> anotherproj/bitnami/kafka
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fbitnami%2Fkafka>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fbitnami%2Fkafka

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fbitnami%2Fkafka
10 items returned
First item returned ==> anotherproj/bitnami/kafka-exporter
Last item returned ==> anotherproj/bitnami/redis-sentinel
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fbitnami%2Fredis-sentinel>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fbitnami%2Fredis-sentinel

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fbitnami%2Fredis-sentinel
10 items returned
First item returned ==> anotherproj/bitnami/zookeeper
Last item returned ==> anotherproj/openebs/cstor-webhook
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fopenebs%2Fcstor-webhook>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fopenebs%2Fcstor-webhook

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fopenebs%2Fcstor-webhook
10 items returned
First item returned ==> anotherproj/openebs/cvc-operator
Last item returned ==> anotherproj/presidio-api
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fpresidio-api>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fpresidio-api

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Fpresidio-api
10 items returned
First item returned ==> anotherproj/presidio-collector
Last item returned ==> anotherproj/rancher/hardened-flannel
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Francher%2Fhardened-flannel>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Francher%2Fhardened-flannel

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=anotherproj%2Francher%2Fhardened-flannel
10 items returned
First item returned ==> anotherproj/rancher/hardened-k8s-metrics-server
Last item returned ==> someproj/algorithms-base
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Falgorithms-base>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Falgorithms-base

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Falgorithms-base
10 items returned
First item returned ==> someproj/base
Last item returned ==> someproj/document-committer
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fdocument-committer>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fdocument-committer

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fdocument-committer
10 items returned
First item returned ==> someproj/document-server
Last item returned ==> someproj/intent-classification-model-v2-health-check
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fintent-classification-model-v2-health-check>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fintent-classification-model-v2-health-check

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fintent-classification-model-v2-health-check
10 items returned
First item returned ==> someproj/job-server
Last item returned ==> someproj/nlp-spacy
Link ==> <********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fnlp-spacy>; rel=“next”
new==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fnlp-spacy

=====================================================================================================
Retrieving data using this ==> ********nexus-dot-mycomany-dot-com:20443/v2/_catalog?n=10&last=someproj%2Fnlp-spacy
10 items returned
First item returned ==> someproj/platform
Last item returned ==> someproj/word-annotation-model-grpc
Link ==>
new==>