Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-41209

Workspaces API - Post new workspace responds with 200 and no new workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • RBAC, Workspaces
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None
    • Important

      If a user issues a POST request to create a new workspace, the response is a HTTP 200 status code with no apparent new workspace. I would expect a 201 status code on success along with a new workspace created and visible in the response of a GET workspaces.

      Example curl for stage:

      curl --location 'console.stage.redhat.com/api/rbac/v2/workspaces/' \--header 'content-type: application/json' \--header 'Authorization: REDACTED' \--data '{    "name": "TWEEEEEEED",    "description": "Blah blah blah"}' 

              Unassigned Unassigned
              btweed@redhat.com Brandon Tweed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: