Try to use the REST API to retrieve DCM credentials but getting blanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I ran the api using Postman and it worked. If you have postman, it might be worth setting up and trying there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for for the response. I also tried in postman and just get a blank response as well.
In the gallery, we definitely have some entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Could it be you have no Credentials set up? /v3/credentials returns credentials set up on the Gallery. Check the Gallery and see if any exist. I've attached my results from the gallery and Postman. I only have one credential set up and it's returned from the api. I'm on 2021.4 but I also saw this
These apis are not available on the release I'm on but maybe you're on a higher release and can use them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
DCME Endpoints added in 2023.2
https://help.alteryx.com/current/en/server/what-s-new-in-server-2023-1.html#idm45793756086640
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks Tim, we definitely have credentials - 3 synced from designer and one I created manually in the gallery but none of these are returned by the API. Other APIs work such as get users etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm on an older release but can you go on to Gallery Admin and check under the credentials tab there? The endpoint v3\credentials is an Admin one and it's pulling the credentials found under admin\Credentials tab. I'm thinking DCM Credentials are or will be a different endpoint.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You are correct. The existing API only works admin credentials and it does not return the user credentials. With the admin credentials it does not retrieve the actual id and password so it is kind of no use to us. I will raise a feature request. Appreciate all the help.
