1
在WSO2用戶訂閱是否有類似RemoteUserStoreManagerService目前在WSO2 APIM 1.10得到什麼API是由特定用戶發佈,哪些API他訂閱信息的任何管理服務?如何讓發佈的內容的API,使用管理服務
我知道我們可以從數據庫中獲得這一信息,但我想用管理服務。
感謝,桑托斯
在WSO2用戶訂閱是否有類似RemoteUserStoreManagerService目前在WSO2 APIM 1.10得到什麼API是由特定用戶發佈,哪些API他訂閱信息的任何管理服務?如何讓發佈的內容的API,使用管理服務
我知道我們可以從數據庫中獲得這一信息,但我想用管理服務。
感謝,桑托斯
可以在APIM 1.10.0使用Store Jaggery APIs這一點。
要獲取用戶john
創建的所有的API。
1)登錄爲admin
用戶(或誰擁有兩個出版商和存儲訪問的任何其他用戶)
curl -X POST -c cookies http://localhost:9763/store/site/blocks/user/login/ajax/login.jag -d 'action=login&username=admin&password=admin'
2)搜索由john
發佈的API。
curl -X POST -b cookies "http://localhost:9763/store/site/blocks/search/api-search/ajax/search.jag" -d "action=searchAPIs&query=provider:john&start=0&end=3"
讓所有的API認購用戶john
1)用戶身份登錄john
。
curl -X POST -c cookies http://localhost:9763/store/site/blocks/user/login/ajax/login.jag -d 'action=login&username=john&password=pass'
2)獲取所有訂閱
curl -b cookies http://localhost:9763/store/site/blocks/subscription/subscription-list/ajax/subscription-list.jag?action=getAllSubscriptions