Skip to main content
Mackenzie.
Participant
October 19, 2017
Question

CC User management API - Successful GET request, no info about products or invites

  • October 19, 2017
  • 2 replies
  • 229 views

I've been getting acquainted with the user management API for Creative Cloud, following Adobe's Python tutorial on sending a JWT to get access to their servers and to start making requests. The tutorial was cake, everything was working by the end, and I dug into the API reference, playing with GET and POST requests, and the different endpoints. I've been able to get a list of users attached to our account and add a new user through code. However, when I attempted to get a list of our available products through the [https://usermanagement.adobe.io/v2/usermanagement/{ORG_ID}/products] URL. While the request came back with a successful 200 status code, and it did return some output, none of it seemed to have a list of my products. When printing the output back (stored as a variable [res]), I did print(res), print(res.text), print(res._content) and print(res.json()), but none of it seemed to contain any relevant info. I also looked through the output of print(res.__dict__), thinking maybe it was hidden elsewhere in the response. One thing that stuck out to me, print(res._content) returned " b'[]' ".

I moved on from this to try another type of request. I sent a test invite for a product to one of my email addresses, and attempted to send a request to [[https://usermanagement.adobe.io/v2/usermanagement/{ORG_ID}/invites]. I once again got a successful 200 status code and the normal information about details of the request, time it took, etc..., but nothing about the pending, unaccepted invite I had just sent.

I'm new to web requests and stuff, and new-ish to Python, but after getting several different sorts of requests to work, pouring over the API documentation a few times looking for clues or something I missed and having our in-house programmer take a quick look, I'm at a bit of a loss. Any input would be much appreciated. I can provide further info If I've left out any details.

This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
October 19, 2017
alisterblack
Inspiring
October 23, 2017