Project

General

Profile

Actions

Bug #50855

closed

Feature #40907: mgr/dashboard: REST API improvements

Feature #40909: mgr/dashboard: REST API versioning

mgr/dashboard: API Version changing doesnt affect to pre-defined methods

Added by Nizamudeen A almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
General
Target version:
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Methods like list(), create(), get() etc doesn't get applied the version if this decorator is used or those @RESTController.Resource(version='0.1').

Also for the endpoints that get the version changed, the docs and the request header has still the version v1.0+ in them. So with the version reduced it gives 415 error when trying to make the request.


Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #51037: pacific: mgr/dashboard: API Version changing doesnt affect to pre-defined methodsResolvedAashish SharmaActions
Actions #1

Updated by Alfonso Martínez almost 3 years ago

  • Target version set to v17.0.0
  • Parent task set to #40909
Actions #2

Updated by Nizamudeen A almost 3 years ago

  • Assignee changed from Nizamudeen A to Aashish Sharma
Actions #3

Updated by Aashish Sharma almost 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 41395
Actions #4

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to pacific
Actions #5

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51037: pacific: mgr/dashboard: API Version changing doesnt affect to pre-defined methods added
Actions #6

Updated by Ernesto Puerta almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF