Command wsk api list shows empty list | Community
Skip to main content
June 26, 2020
Question

Command wsk api list shows empty list

  • June 26, 2020
  • 0 replies
  • 887 views

Hi, 
I have defintion of APIs in manifest file, something like that:

... apis: dev-api: dev: token: getToken: method: GET response: http create/{resourceType}: createObject: method: POST response: http

Endpoints work fine, but whenever I try to fetch list of APIs using:

wsk api list

I always receive empty list.

▶ wsk api list ok: APIs Action Verb API Name URL

 Other commands like wsk action, wsk activation, work fine.

 

My goal is to fetch swagger configuration for existing APIs and update manifest to use that configuration. But of course it would be nice to be able to check currently installed APIs.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.