Question

Is this place best for those new to the Bettercloud API?



Show first post

55 replies

Userlevel 2
Badge +2

You can check out what you can do via GraphQL here, then take that query and execute via API

Userlevel 2
Badge +2

https://screenshots.bettercloud.com/qGuNoPEr

Badge

I was trying to figure out how to paginate using this as well

Badge

I am signed in and such yes

Userlevel 2
Badge +2

Also, have you set up developer.bettercloud.com?

Userlevel 2
Badge +2

This is our endpoint: https://developer.bettercloud.com/#tag/Reporting-GraphQL

Badge

No sir but am familiar with sql queries

Userlevel 2
Badge +2

Are you familiar with GraphQL?

Userlevel 2
Badge +2

Ah, so the actions endpoint won’t be able to achieve that. But, our GraphQL endpoint will.

Badge

in reality i want the list of users that would sign into bettercloud. admins and other delegated users

Badge

i had it set at 100

Userlevel 2
Badge +2

Are you trying to to list the users synced into BetterCloud?

Userlevel 2
Badge +2

Do you have a size param set? If so, can you try to decrease it below 53?

Badge

Also, of the 53 actions that come back, I do not see anything akin to "list users"

Badge

So i seem to come back with 53 but the response indicates there are 3 pages of results but each page comes back with the same 53

Userlevel 2
Badge +2

That’ll depend on how many integrations you have installed 🙂 We only return the actions for the integrations you have installed.

Badge

or should there be 253?

Badge

Are there 53 actions?

Badge

I am a little confused and this could be user error.

Badge

I will use this to build my own

Userlevel 2
Badge +2

This is a script we wrote to page through our action details API and search for a specific action. You can see on line 9 the URL params for paging. Also, you can run this script if you just plug in your BetterCloud token into line 11.

Badge

let me look this over

Userlevel 2
Badge +2


Userlevel 2
Badge +2

Gotcha.

Badge

the former.

Reply