Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-7206

REST API: Allow array of values in parameters

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Nowadays it is only possible to:

      For all cases above, the parameter "name" should be used, like this:

      {
        "name" : "value"
      }
      

      Supposing that someone needs to add a large number of users and groups, this might require a lot of manual work.

      It would be much better and faster to call those REST resources only once, using an array of values for that parameter in the request. Something like this would work:

      {
        "names" : [ {
          "name" : "value1"
        }, {
          "name" : "value2"
        }, {
          "name" : "value3"
        }, {
          "name" : "value4"
        } ]
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fkraemer Felipe Kraemer
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: