Allow array for "type" query parameter when query spaces via REST API

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • Component/s: Space - Create
    • None
    • 1
    • 2

      Currently, based on Get space API page, only one "type" value can be added when querying spaces via REST API, for example:

      /api/v2/spaces?type=global
      or
      /api/v2/spaces?type=personal
      or 
      /api/v2/spaces?type=knowledge_base
      or
      /api/v2/spaces?type=collaboration

      But after this change, Confluence supports four space types: global, personal, knowledge_base, and collaboration. It will be helpful if multiple values can be set as filters for this parameter, for example

      /api/v2/spaces?type=global&type=collabration
      or
      /api/v2/spaces?type=global,collaboration
      

        1. type_parameter.png
          140 kB
          Jane Geng

            Assignee:
            Unassigned
            Reporter:
            Jane Geng (Inactive)
            Votes:
            26 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: