File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,3 +28,12 @@ export function fetchPublicAppDeveloperTestAccountInstallData(
2828 url : `${ APPS_DEV_API_PATH } /${ appId } /test-portal-installs` ,
2929 } ) ;
3030}
31+
32+ export function fetchPublicAppMetadata (
33+ appId : number ,
34+ accountId : number
35+ ) : Promise < PublicApp > {
36+ return http . get < PublicApp > ( accountId , {
37+ url : `${ APPS_DEV_API_PATH } /${ appId } /full` ,
38+ } ) ;
39+ }
Original file line number Diff line number Diff line change @@ -43,9 +43,24 @@ export type PublicApp = {
4343 } ;
4444 redirectUrls : Array < string > ;
4545 scopeGroupIds : Array < number > ;
46+ requiredScopeInfo ?: Array < { id : number ; name : string } > ;
4647 additionalScopeGroupIds : Array < number > ;
48+ additionalScopeInfo ?: Array < { id : number ; name : string } > ;
4749 optionalScopeGroupIds : Array < number > ;
50+ optionalScopeInfo ?: Array < { id : number ; name : string } > ;
4851 projectId : number | null ;
4952 sourceId : string | null ;
53+ providerInfo ?: {
54+ domain : string ;
55+ isVerified : boolean ;
56+ } ;
57+ listingInfo ?: {
58+ listingUrl : string ;
59+ isCertified : boolean ;
60+ isPublished : boolean ;
61+ hasDraft : boolean ;
62+ inReview : boolean ;
63+ } ;
5064 allowedExternalUrls : Array < string > ;
65+ preventProjectMigrations ?: boolean ;
5166} ;
You can’t perform that action at this time.
0 commit comments