github.com/argoproj/argo-cd@v1.8.7/ui/src/app/shared/services/version-service.ts (about) 1 import {VersionMessage} from '../models'; 2 import requests from './requests'; 3 4 export class VersionService { 5 public version(): Promise<VersionMessage> { 6 return requests.agent.get(requests.toAbsURL('/api/version')).then(res => res.body as VersionMessage); 7 } 8 }