08-10-2022 10:55 AM
I am trying to access pipeline monitoring information using the SnapLogic public API. I am currently using the /api/1/rest/public/runtime/ endpoint. When I use my own user access the endpoint, I get back all information for our organization’s running and completed pipelines. When I use a new user with API Access Only, I get no results back from the pipeline monitoring endpoint. I have also made sure that the new user is in the same group as my personal user. It still doesn’t work. Am I missing something to setting up a user for API Access Only?
08-10-2022 10:59 AM
Does the API Access user have access to all the projects that you do?
08-10-2022 11:09 AM
@dmiller Yes. We are both members of a group called “developers”. We control access to our project spaces using this group.
08-10-2022 01:52 PM
I finally got a response back from SnapLogic support and, in my opinion, it isn’t ideal. In order for an API Only user to view executions of all pipelines via the Public API, that user must be an organization administrator. Giving the API Only user access to individual project spaces or directories doesn’t do anything.
Another fun tidbit, there is no way to view who is an organization administrator in the UI. Apparently, it can be done using the public API, but, in my experience, it didn’t return who was or wasn’t an org admin. Must be something only SnapLogic admins have access to.
@dmiller if this is incorrect in any way, please let me know, but this is my understanding.
08-10-2022 02:32 PM
I’m double checking with Engineering and Product Management on the first point.
And true, only org admins can see who are in the admin group within the UI. Would you want to see who were admins?