rabbah commented on issue #3763: api gateway example not consistent with 
observed behavior
URL: 
https://github.com/apache/incubator-openwhisk/issues/3763#issuecomment-397136640
 
 
   Is creating the API more than once updating the API? I restarted the API 
gateway and then followed the steps again and now it lines up with the 
tutorial. But if I create the API without a name then recreate it with a name, 
it will diverge as shown above.
   
   Here are steps to reproduce:
   
   ```
   wsk api create /club /books/{isbn} put putBooks                
--response-type http -i
   wsk api create -n "Book Club" /club /books/{isbn} get getBooks 
--response-type http -i
   wsk api list -i -f
   ok: APIs
   Action: /guest/getBooks
      API Name: /club
      Base path: /club
      Path: /books/{isbn}
      Verb: get
      URL: 
http://172.17.0.1:9001/api/23bc46b1-71f6-4ed5-8c54-816aa4f8c502/club/books/{isbn}
   Action: /guest/putBooks
      API Name: /club
      Base path: /club
      Path: /books/{isbn}
      Verb: put
      URL: 
http://172.17.0.1:9001/api/23bc46b1-71f6-4ed5-8c54-816aa4f8c502/club/books/{isbn}
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to