Page MenuHomeVyOS Platform

API showConfig not found
Open, NormalPublicBUG

Description

API showConfig not found

vyos@r14# run show conf com | match api
set service https api keys id KID key 'foo'
[edit]
vyos@r14# 
[edit]
vyos@r14# curl -k --location --request POST 'https://127.0.0.1/retrieve' --form data='{"op": "showConfig", "path": []}' --form key='foo'
{"detail":"Not Found"}[edit]
vyos@r14# 

vyos@r14# run show ver
Version:          VyOS 1.5-rolling-202412160007

Details

Version
VyOS 1.5-rolling-202412160007
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as High priority.

To get it working need to configure rest:

set service https api keys id KID key 'foo'
set service https api rest

Should rest be by default?

Viacheslav lowered the priority of this task from High to Normal.Dec 30 2024, 9:25 AM