Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-98

add support for variables in the url (path)

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.6.0
    • 2.5.0
    • core
    • None

      The latest broker implementation supports variables in the url path. Example that allows you to retrieve a cartridge by name (":id"):

      "SHOW_CARTRIDGE": {
          "href": "https://int.openshift.redhat.com/broker/rest/cartridge/:id",
          "method": "GET",
          "optional_params": [
      
           ],
           "rel": "Retrieve a cartridge by name",
           "required_params": [
            {
                 "description": "Name of the cartridge",
                 "invalid_options": [
                  ],
                  "name": ":id",
                  "type": "string",
                  "valid_options": [
                  ]
             }
          ]
       }
      

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: