]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/scope.service.ts
import 15.2.1 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / scope.service.ts
1 import { HttpClient } from '@angular/common/http';
2 import { Injectable } from '@angular/core';
3
4 import { ApiModule } from './api.module';
5
6 @Injectable({
7 providedIn: ApiModule
8 })
9 export class ScopeService {
10 constructor(private http: HttpClient) {}
11
12 list() {
13 return this.http.get('ui-api/scope');
14 }
15 }