Skip to content

Instantly share code, notes, and snippets.

@tmkasun

tmkasun/readme.md

Created Nov 7, 2019
Embed
What would you like to do?
WSO2 API Manager 3.0 Publisher app read only mode

image

{
  "EnableMonetization" : false,
  "IsUnlimitedTierPaid" : false,
  "ExtensionHandlerPosition": "bottom",
  "RESTAPIScopes": {
    "Scope": [
      {
        "Name": "apim:api_publish",
        "Roles": "admin,Internal/publisher"
      },
      {
        "Name": "apim:api_create",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:api_view",
        "Roles": "admin,Internal/publisher,Internal/creator,readonly"
      },
      {
        "Name": "apim:api_delete",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:subscribe",
        "Roles": "admin,Internal/subscriber"
      },
      {
        "Name": "apim:tier_view",
        "Roles": "admin,Internal/publisher,Internal/creator"
      },
      {
        "Name": "apim:tier_manage",
        "Roles": "admin"
      },
      {
        "Name": "apim:bl_view",
        "Roles": "admin"
      },
      {
        "Name": "apim:bl_manage",
        "Roles": "admin"
      },
      {
        "Name": "apim:subscription_view",
        "Roles": "admin,Internal/creator,Internal/publisher"
      },
      {
        "Name": "apim:subscription_block",
        "Roles": "admin,Internal/publisher"
      },
      {
        "Name": "apim:mediation_policy_view",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:mediation_policy_create",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:api_workflow",
        "Roles": "admin"
      },
      {
        "Name": "apim:app_owner_change",
        "Roles": "admin"
      },
      {
        "Name": "apim:app_import_export",
        "Roles": "admin"
      },
      {
        "Name": "apim:api_import_export",
        "Roles": "admin"
      },
      {
        "Name": "apim:label_manage",
        "Roles": "admin"
      },
      {
        "Name": "apim:label_read",
        "Roles": "admin"
      },
      {
        "Name": "apim:app_update",
        "Roles": "admin,Internal/subscriber"
      },
      {
        "Name": "apim:app_manage",
        "Roles": "admin,Internal/subscriber"
      },
      {
        "Name": "apim:sub_manage",
        "Roles": "admin,Internal/subscriber"
      },
      {
        "Name" : "apim:monetization_usage_publish",
        "Roles": "admin, Internal/publisher"
      },
      {
        "Name": "apim:document_create",
        "Roles": "admin, Internal/creator,Internal/publisher"
      },
      {
        "Name": "apim:ep_certificates_update",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:client_certificates_update",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:threat_protection_policy_manage",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:document_manage",
        "Roles": "admin, Internal/creator,Internal/publisher"
      },
      {
        "Name": "apim:client_certificates_add",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:publisher_settings",
        "Roles": "admin,Internal/creator,Internal/publisher,readonly"
      },
      {
        "Name": "apim:store_settings",
        "Roles": "admin,Internal/subscriber"
      },
      {
        "Name": "apim:client_certificates_view",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:mediation_policy_manage",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:threat_protection_policy_create",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:ep_certificates_add",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:ep_certificates_view",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:api_key",
        "Roles": "admin,Internal/subscriber"
      },
      {
        "Name": "apim_analytics:admin",
        "Roles": "admin"
      },
      {
        "Name": "apim_analytics:product_manager",
        "Roles": "Internal/creator,Internal/publisher,Internal/subscriber"
      },
      {
        "Name": "apim_analytics:api_developer",
        "Roles": "Internal/creator,Internal/publisher"
      },
      {
        "Name": "apim_analytics:app_developer",
        "Roles": "Internal/subscriber"
      },
      {
        "Name": "apim_analytics:devops_engineer",
        "Roles": "Internal/creator,Internal/publisher,Internal/subscriber"
      },
      {
        "Name": "apim_analytics:analytics_viewer",
        "Roles": "admin,Internal/analytics"
      },
      {
        "Name": "apim_analytics:everyone",
        "Roles": "Internal/everyone"
      },
      {
        "Name": "apim:pub_alert_manage",
        "Roles": "admin,Internal/creator"
      },
      {
        "Name": "apim:sub_alert_manage",
        "Roles": "admin,Internal/subscriber"
      },
      {
        "Name": "apim:tenantInfo",
        "Roles": "admin"
      }
    ]
  },
  "NotificationsEnabled":"false",
  "Notifications":[{
    "Type":"new_api_version",
    "Notifiers" :[{
      "Class":"org.wso2.carbon.apimgt.impl.notification.NewAPIVersionEmailNotifier",
      "ClaimsRetrieverImplClass":"org.wso2.carbon.apimgt.impl.token.DefaultClaimsRetriever",
      "Title": "Version $2 of $1 Released",
      "Template": " <html> <body> <h3 style=\"color:Black;\">We’re happy to announce the arrival of the next major version $2 of $1 API which is now available in Our API Store.</h3><a href=\"https://localhost:9443/store\">Click here to Visit WSO2 API Store</a></body></html>"
    }]
  }
  ],
  "DefaultRoles" : {
    "PublisherRole" : {
      "CreateOnTenantLoad" : true,
      "RoleName" : "Internal/publisher"
    },
    "CreatorRole" : {
      "CreateOnTenantLoad" : true,
      "RoleName" : "Internal/creator"
    },
    "SubscriberRole" : {
      "CreateOnTenantLoad" : true
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.