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

Create workspace endpoint to return default workspace for an identity/org

XMLWordPrintable

    • 3

      We'll need an endpoint which will take an identity/org and return the default workspace for that org. This will be needed by inventory. Initially we can assume to use the x-rh-identity and the org_id value from that, effectively just using the authenticated user's identity/tenant/org knowing that in the future we may need to support a different form of authentication/token.

      Proposed: /workspaces/?type=all|default|root|ungrouped where "all" would be the default if the param is not supplied. Alternately we could have a separate endpoint, but it would make more sense to do this if we only ever needed default, for something like /workspaces/default/

            kwalsh@redhat.com Keith Walsh
            kwalsh@redhat.com Keith Walsh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: