You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/10/26 20:07:39 UTC

[GitHub] dubeejw opened a new pull request #2908: Optionally fetch code when getting an action

dubeejw opened a new pull request #2908: Optionally fetch code when getting an action
URL: https://github.com/apache/incubator-openwhisk/pull/2908
 
 
   Provides optional query parameter for getting an action that specifies whether or not action code should be fetched and returned. When the query parameter is present, WhiskActionMetadata will be used to fetch the action. Otherwise, WhiskAction will be used to retrieve the action.
   
   Fetch the action with the code as is today:
   `https://192.168.99.100/api/v1/namespaces/_/actions/actionName`
   or
   `https://192.168.99.100/api/v1/namespaces/_/actions/actionName?code=true`
   
   Fetch action metadata without code:
   `https://192.168.99.100/api/v1/namespaces/_/actions/actionName?code=false`
   
   Depends on https://github.com/apache/incubator-openwhisk/pull/2730.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services