Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2008

Multicraft: Support version 2 of the API

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-b1
    • Component/s: Modules
    • Labels:
      None

      Description

      Multicraft updated their admin UI and API to add some new commands.

      It doesn't appear we will need to make use of any of the new API commands, however, the API key authentication has changed to an HMAC rather than md5.

      Multicraft's "MulticraftAPI.php" file will need to replace /multicraft/apis/multicraft_api.php. However, references to the CJSON class written in this file should be removed.

      Looking over it, there may be a bug with the construction of the API $query parameters. If cURL is not enabled, a request will be made to:
      $url . '?' . $query

      ...but $query begins with an ampersand (&), so you would end up with, for example:
      url.com/?&key=value

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Sep/16