@@ -19649,6 +19649,7 @@ var apiSchema = [
1964919649 "properties": {
1965019650 "name": {
1965119651 "description": "Package name to get changelog of.",
19652+ "pattern": "/^[a-z0-9][-+.a-z0-9:]+$/",
1965219653 "type": "string"
1965319654 },
1965419655 "node": {
@@ -28934,7 +28935,21 @@ Ext.onReady(function () {
2893428935 usage += cliUsageRenderer(method, endpoint);
2893528936 }
2893628937
28937- let sections = [
28938+ let sections = [];
28939+
28940+ if (info.unstable) {
28941+ sections.push({
28942+ title: 'Unstable',
28943+ html: `<div class="proxmox-warning-row" style="padding: 10px;">
28944+ <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
28945+ This API endpoint is marked as unstable. All information on this
28946+ page is subject to change, including input parameters, return values
28947+ and permissions.
28948+ </div>`,
28949+ });
28950+ }
28951+
28952+ sections.push(
2893828953 {
2893928954 title: 'Description',
2894028955 html: Ext.htmlEncode(info.description),
@@ -28945,7 +28960,7 @@ Ext.onReady(function () {
2894528960 html: usage,
2894628961 bodyPadding: 10,
2894728962 },
28948- ] ;
28963+ ) ;
2894928964
2895028965 if (info.parameters && info.parameters.properties) {
2895128966 let pstore = Ext.create('Ext.data.Store', {
@@ -29117,10 +29132,12 @@ Ext.onReady(function () {
2911729132 xtype: 'panel',
2911829133 title: 'Returns: ' + rtype,
2911929134 items: [
29120- info.returns.description ? {
29121- html: Ext.htmlEncode(info.returns.description),
29122- bodyPadding: '5px 10px 5px 10px',
29123- } : {},
29135+ info.returns.description
29136+ ? {
29137+ html: Ext.htmlEncode(info.returns.description),
29138+ bodyPadding: '5px 10px 5px 10px',
29139+ }
29140+ : {},
2912429141 {
2912529142 xtype: 'gridpanel',
2912629143 features: [groupingFeature],
@@ -29166,12 +29183,14 @@ Ext.onReady(function () {
2916629183 text: 'Show RAW',
2916729184 handler: function (btn) {
2916829185 rawSection.setVisible(!rawSection.isVisible());
29169- btn.setText(rawSection.isVisible() ? 'Hide RAW' : 'Show RAW');
29186+ btn.setText(
29187+ rawSection.isVisible() ? 'Hide RAW' : 'Show RAW',
29188+ );
2917029189 },
2917129190 },
2917229191 ],
29173- }
29174- ]
29192+ },
29193+ ],
2917529194 });
2917629195
2917729196 sections.push(rawSection);
0 commit comments