如何获得wso2中用户使用管理服务发布、订阅的api
wso2 apim 1.10中是否存在类似RemoteUserStoreManagerService的管理服务,以获取特定用户发布的api和订阅的api的相关信息 我知道我们可以从数据库中获取这些信息,但我想使用管理服务 谢谢, Santosh可以在APIM 1.10.0中使用 获取用户创建的所有API如何获得wso2中用户使用管理服务发布、订阅的api,wso2,wso2-am,Wso2,Wso2 Am,wso2 apim 1.10中是否存在类似RemoteUserStoreManagerService的管理服务,以获取特定用户发布的api和订阅的api的相关信息 我知道我们可以从数据库中获取这些信息,但我想使用管理服务 谢谢, Santosh可以在APIM 1.10.0中使用 获取用户创建的所有APIjohn 1) 以adminuser(或同时具有发布者和商店访问权限的任何其他用户)的身份登录 2) 搜索由john发布的API curl -X POST -b cookies "http://l
john
1) 以admin
user(或同时具有发布者和商店访问权限的任何其他用户)的身份登录
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"
curl -X POST -c cookies http://localhost:9763/store/site/blocks/user/login/ajax/login.jag -d 'action=login&username=john&password=pass'
获取用户订阅的所有APIjohn
1) 以用户身份登录john
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"
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
为此,您可以在APIM 1.10.0中使用
获取用户创建的所有APIjohn
1) 以admin
user(或同时具有发布者和商店访问权限的任何其他用户)的身份登录
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"
curl -X POST -c cookies http://localhost:9763/store/site/blocks/user/login/ajax/login.jag -d 'action=login&username=john&password=pass'
获取用户订阅的所有APIjohn
1) 以用户身份登录john
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"
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