diff options
Diffstat (limited to 'webapp/src/app/common/xdsserver.service.ts')
-rw-r--r-- | webapp/src/app/common/xdsserver.service.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webapp/src/app/common/xdsserver.service.ts b/webapp/src/app/common/xdsserver.service.ts index 6cd9ba3..49c2d37 100644 --- a/webapp/src/app/common/xdsserver.service.ts +++ b/webapp/src/app/common/xdsserver.service.ts @@ -48,6 +48,15 @@ interface IXDSConfig { folders: IXDSFolderConfig[]; } +export interface IXDSAgentTarball { + os: string; + fileUrl: string; +} + +export interface IXDSAgentInfo { + tarballs: IXDSAgentTarball[]; +} + export interface ISdkMessage { wsID: string; msgType: string; @@ -144,6 +153,10 @@ export class XDSServerService { return this._get('/sdks'); } + getXdsAgentInfo(): Observable<IXDSAgentInfo> { + return this._get('/xdsagent/info'); + } + getProjects(): Observable<IXDSFolderConfig[]> { return this._get('/folders'); } |