Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: add field filters to /v1/{allocations,nodes} #9055

Merged
merged 3 commits into from
Oct 14, 2020
Merged

Commits on Oct 14, 2020

  1. api: add field filters to /v1/{allocations,nodes}

    Fixes #9017
    
    The ?resources=true query parameter includes resources in the object
    stub listings. Specifically:
    
    - For `/v1/nodes?resources=true` both the `NodeResources` and
      `ReservedResources` field are included.
    - For `/v1/allocations?resources=true` the `AllocatedResources` field is
      included.
    
    The ?task_states=false query parameter removes TaskStates from
    /v1/allocations responses. (By default TaskStates are included.)
    schmichael committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    a55f46e View commit details
    Browse the repository at this point in the history
  2. docs: document #9055

    schmichael committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    276be86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0695801 View commit details
    Browse the repository at this point in the history