apolloconfig / apolloconfig/apollo

Open Api support get authorized apps, namespaces

Open
#3,607 6 comments 0 reactions 0 assignees View on GitHub
area/openapi discussion
Dominant language
Java
Stars
29.8k
Forks
10.2k
Avg merge
4d 7h
Merged PRs (30d)
4

Description

**Is your feature request related to a problem? Please describe.**

Use method `com.ctrip.framework.apollo.openapi.client.ApolloOpenApiClient#getAllApps` can get all apps.

But there are some app my open api token has no authority to access, and open api will meet exception when try to access them.

If someone just want to get the apps or namespaces authoried,

are there any way to satisfy that?

**Describe the solution you'd like**

Some new method in `com.ctrip.framework.apollo.openapi.client.ApolloOpenApiClient`

Like `getAuthorizedApps`, `getAuthorizedNamespacesByApp`

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.