Hi Bobby,

What version are you using? I think you might be using an older version. In
the master branch, the cursor issue is fixed:
https://github.com/apache/usergrid/blob/master/stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/OrganizationsResource.java#L128

However, in the 2.1.0 branch, you can see that "cursor" is not being set in
the response:
https://github.com/apache/usergrid/blob/2.1.0/stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/OrganizationsResource.java#L87

You can try using the tools JAR file to get the data you need but in a file
in CSV format.. specifically the organization export:
https://github.com/apache/usergrid/blob/master/stack/tools/src/main/java/org/apache/usergrid/tools/OrganizationExport.java.
Readme for building/running the jar is here:
https://github.com/apache/usergrid/tree/master/stack/tools.

Thanks.
-Michael

On Fri, Jun 18, 2021 at 3:00 PM Dave <[email protected]> wrote:

> I’m sorry, I meant to say I do NOT remember the answer to that question;
> and I’m not sure if I ever knew the answer.
>
> Best regards,
> Dave
>
>
> On Fri, Jun 18, 2021 at 5:25 PM Bobby Nielsen
> <[email protected]> wrote:
>
> > Please help me with a little question.
> >
> > Sorry to bother you, but I thought you might know if there is a
> limitation
> > on the number of orgs in Usergrid?
> >
> > GET /management/orgs only returns 1000 and query param limit has no
> effect,
> > and no cursor seems to be available on this resource.
> >
> > Please help. This is a production issue.
> >
> > Thanks,
> > Bobby
> >
> > ---------- Videresendt mail ---------
> > Fra: Dave <[email protected]>
> > Dato: fre. 18. jun. 2021 kl. 19.58
> > Emne: Re: Usergrid!
> > Til: Bobby Nielsen <[email protected]>
> >
> >
> > I remember the answer to that question. You should ask on the Usergrid
> dev
> > list, there are still some Usergrid old timers subscribed there.
> >
> > On Fri, Jun 18, 2021 at 5:43 AM Bobby Nielsen <[email protected]>
> > wrote:
> >
> > > Hi Dave,
> > >
> > > Sorry to bother you, but I thought you might know if there is a
> > limitation
> > > on the number of orgs in Usergrid?
> > >
> > > GET /management/orgs only returns 1000 and query param limit has no
> > > effect, and no cursor seems to be available on this resource.
> > >
> > > Please help. This is a production issue. Thanks.
> > >
> > > --
> > > De bedste hilsner / Kind regards,
> > >
> > > *Bobby Nielsen*
> > > Co-founder & CTO
> > >
> > >
> > > *m:* +45 28442269
> > > *e:* [email protected]
> > > *w:* https://wiredrelations.com
> > >
> > > This email and any files and attachments transmitted with it are
> > > confidential and may be legally privileged. If you are not the intended
> > > recipient of this email, you are hereby notified that any action taken
> or
> > > omitted in reliance to this email or any file or attachment transmitted
> > > with it is prohibited and may be unlawful. If you have received this
> > email
> > > by mistake, please notify the sender immediately by sending a reply,
> and
> > > then delete this email from your system.
> > >
> > > You can read about how we collect and process your personal data, and
> > your
> > > rights as a data subject, at: https://wiredrelations.com/privacy/
> > >
> > --
> > De bedste hilsner / Kind regards,
> >
> > *Bobby Nielsen*
> > Co-founder & CTO
> >
> >
> > *m:* +45 28442269
> > *e:* [email protected]
> > *w:* https://wiredrelations.com
> >
> > --
> > This email and any files and attachments transmitted with it are
> > confidential and may be legally privileged. If you are not the intended
> > recipient of this email, you are hereby notified that any action taken or
> > omitted in reliance to this email or any file or attachment transmitted
> > with it is prohibited and may be unlawful. If you have received this
> email
> > by mistake, please notify the sender immediately by sending a reply, and
> > then delete this email from your system.
> > You can read about how we collect
> > and process your personal data, and your rights as a data subject, at:
> > https://wiredrelations.com/privacy/ <https://wiredrelations.com/privacy/
> >
> >
>

Reply via email to