diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/api/api-client.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/api/api-client.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/api/api-client.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/api/api-client.ts new file mode 100644 index 000000000..06583eb10 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/api/api-client.ts @@ -0,0 +1,5 @@ +export abstract class ApiClient { + getVersionHeaderValue(major: number, minor: number) { + return `application/vnd.ceph.api.v${major}.${minor}+json`; + } +} |