Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combined policy endpoint for devportal #1555

Open
2 tasks
volkflo opened this issue Nov 9, 2021 · 0 comments
Open
2 tasks

Combined policy endpoint for devportal #1555

volkflo opened this issue Nov 9, 2021 · 0 comments
Labels
C: Manager API Component: Manager API V: Apiman 3

Comments

@volkflo
Copy link
Member

volkflo commented Nov 9, 2021

We need a combined endpoint for policy and policy configurations for each API Version.

  • Combined endpoint for plan policies and api policies (including their config)
  • Hide critical policy configurations

The endpoint should return something like this:

{
  "apiVersion": [
    {
      "version": "1.0",
      "id": "Version1",
      "apiPolicies": [
        {
          "policyId": "0",
          "name": "Policy1",
          "config": {}
        },
        {
          "policyId": "1",
          "name": "Policy2",
          "config": {}
        }
      ],
      "plans": [
        {
          "name": "Gold",
          "id": "gold",
          "planPolicies": [
            {
              "policyId": "0",
              "name": "Policy1",
              "config": {}
            },
            {
              "policyId": "1",
              "name": "Policy2",
              "config": {}
            }
          ]
        }
      ]
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Manager API Component: Manager API V: Apiman 3
Projects
Status: Backlog
Development

No branches or pull requests

2 participants