Failing to update ELM theme on RM apps using REST or HTTP calls
I am using the below urls to upload/activate/delete themes for ELM apps but it is failing for RM apps and working for EWM/ETM apps. Any idea of failure.
upload = https://xxxt3.rchland.ibm.com:16443/rm +'/_theming/save/' + themefile name
session.post(upload, files={themefile: open(themefile, 'rb')})
active = https://xxx3.rchland.ibm.com:16443/rm +'/_theming/active/' + themefile name
session.post(active)
delete = https://xxx3.rchland.ibm.com:16443/rm +'/_theming/’ + theme filename
session.delete(delete)
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
This is most certainly an internal API and it is not very likely that the forum can provide any insight. However, I think I speak for all forum members, that we are willing to help. This, however, requires the question to contain the information required. If you say "it is not working", the question lacks the basics. What does that mean. Is there an error? Different status codes?
Thank you Ralph for the help. There is no error in the rm log file and status code is returning as status 200 like other apps EWM/ETM but when verified on rm web it was not uploading or activating or deleting for rm apps. Please let me know if any info required further. This actually blocking automation of adding/deleting themes on mass repositories list. Thank you!
I do not know and can not provide further help. The only thing that comes into mind is, to authenticate against RM, you have to actually log in to JTS and not RM.
Thank you Ralph for the update. I also tested the authentication with JTS for RM apps, it did not help. As per your suggestion, I opened a case to understand from the product team why it is failing for RM and working for other EWM/ETM apps. Thank you!
As far as I know, guessing from the host name, your team should have good access to our organization. It would be nice if you share the outcome here. Thanks!