Skip to content

[TASK] Support latest changes to start/stop API #457

@andyatmiami

Description

@andyatmiami

Certification

  • I certify I am an Epic Owner for Kubeflow Notebooks 2.0 and expected to create planning-related issues.

Description

🛑 Blocked by #340

As part of the code review for #340 - the implementation of the API has changed:

  • There is now a single API: POST /api/v1/workspaces/{namespace}/{name}/actions/pause

  • This new (singular) API expects a request payload to indicate whether the intent is to start or pause the referenced workspace

    { 
      "data": {
        "paused": <bool> 
      }
    }
    
  • The response payload is also slightly different:

    { 
      "data": {
        "paused": <bool> 
      }
    }
    

Acceptance Criteria

  • Choosing Stop from the More Actions button on a Running Workspace in the Workspace List table should result in the Workspace entering the Paused state
  • Choosing Start from the More Actions button on a Paused Workspace in the Workspace List table should result in the Workspace entering the Running state

Metadata

Metadata

Assignees

Labels

area/frontendarea - related to frontend componentsarea/v2area - version - kubeflow notebooks v2kind/plan-taskkind - planning - task

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions