Skip to content

omit code on action get  #79

Open
Open

Description

@rabbah

Is your feature request related to a problem? Please describe.
When doing action get, omit the code by default. Instead only fetch the code with --save[-as].

Describe the solution you'd like
The code part of an action could be quite large. The API host allows the omission of the code property from the response. This would reduce unnecessary fetches from the API host while also keeping the action get result compact.

The API call becomes:
api/v1/namespaces/_/actions/<name>?code=false

(note this enhancement would also match wsk action get behavior.)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. added
    enhancement
    on Nov 28, 2019
  2. adobe-bot commented on Nov 28, 2019

    @adobe-bot
  3. added
    help wanted
    on Mar 25, 2020
  4. self-assigned this
    on Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementhelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions