Details

      Description

      Checking whether a cache is already defined can be done several ways: One way is to get the list of caches and see if the cache is there. Although it works, it requires the client to parse the list...etc. Another way is to call:

      HEAD rest/v2/caches/{cache_name}?action=config
      

      This works, but it shouldn't be necessary to add ?action=config to find out if the cache is defined or not. The following should be possible:

      HEAD rest/v2/caches/{cache_name}
      

      Currently that returns 400

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gustavonalle Gustavo Fernandes
                Reporter:
                galder.zamarreno Galder ZamarreƱo
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: