Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Command wsk api list shows empty list

Avatar

Level 1

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.

0 Replies