使用 WSO2 AM 1.9 的已发布 API 没有显示订阅按钮

Subscribe button is not showed up for an published API using WSO2 AM 1.9

我使用 Publisher API 发表了一个 API。 在添加 API 时,我添加了如下订阅: default_version_checked=default_version, tiersCollection=Unlimited,Gold,Silver,Bronze, transport_http=http, transport_https=https, inSequence=none, outSequence=none, faultSequence=none, responseCache=Disabled, **subscriptions=all_tenants**, ...............

在发布时我也添加了以下查询参数:

action=updateStatus, name=xxxxx, version=1.0, provider=admin, status=PUBLISHED, publishToGateway=true, **subscriptions=all_tenants**

API 在 Publisher Ui 和 STORE UI 中表现良好,但没有订阅按钮 API!我也对新老消费者进行了测试。

我很惊讶。我还需要为订阅流程添加什么吗?此外,对于 WSO2 AM 1.9,我找不到任何 "Subcription" 管理选项,例如 (all tenant/current tenant/..); AM 1.8 就在那里。

谁能帮我在 API 商店中启用订阅按钮?

我通过调试代码得到了答案。 它与上述任何标签无关。 它实际上与一个查询参数"advertiseOnly"有关。 如果我使用 advertiseOnly=true,则不允许订阅;这就像广告。 当我使用 "advertiseOnly=false" 时,显示订阅按钮。问题已解决。