Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login
    1. Home
    2. frafu
    3. Posts
    F
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: API Addon Installieren - Error: package.json was not found.

      Habe jetzt temporär ein
      chown www-data.www-data /var/www/idoti/ gemacht. Dann hats funktioniert. Aber eigentlich sollte der Upload in das upload Verzeichnis gehen, in welchem www-data schreib Rechte hat.

      posted in Betrieb
      F
      frafu
    • RE: API Addon Installieren - Error: package.json was not found.

      Hab im php error log etwas gefunden:

      PHP Warning:  ZipArchive::extractTo(/var/www/idoit//package.json): failed to open stream: Permission denied in /var/www/idoit/updates/classes/isys_update_files.class.php on line 294
      

      Welche Einstellungen ist da falsch?

      posted in Betrieb
      F
      frafu
    • API Addon Installieren - Error: package.json was not found.

      Ich hab eine frische i-doit Installion. Ich möchte das API Addon Installieren.
      Wenn ich idoit-api-1.12.1.zip versuche zu installieren, bekomme ich den Fehler:
      "Error: packa.json was not found."
      Wenn ich das zip File entpacker, ist das sehr wohl drinnen.

      9d3a680c-cd31-4366-934d-22b13defa278-image.png

      posted in Betrieb
      F
      frafu
    • REST API - Parent oder Children finden

      Hallo!

      Über die REST API kann ich ja sehr schön einzelnen Objekte auslesen.
      Wie finde ich raus, welche "Floors" zu welchem "Building" gehören? Dazu finde ich einfach nichts.

      zb:
      Dieser Request:

      {
      "version": "2.0",
      "method": "cmdb.object.read",
      "params": {
      "id": 41,
      "apikey": "c1ia5q",
      "language": "en"
      },
      "id": 1
      }

      liefert dieses Objekt:

      {
      "id": 1,
      "jsonrpc": "2.0",
      "result": {
      "id": 41,
      "title": "Basement",
      "sysid": "FLOOR_0000041",
      "objecttype": 88,
      "type_title": "Floor",
      "type_icon": "room.gif",
      "status": 2,
      "cmdb_status": 6,
      "cmdb_status_title": "in operation",
      "created": "2015-02-20 15:56:30",
      "updated": "2015-09-10 14:43:58",
      "image": "https://demo.i-doit.com/images/objecttypes/room.png"
      }
      }

      Das ist ein Floor der an einem Building hängt. Wie sehe ich das über die API?

      lg
      Frafu

      posted in Entwicklung
      F
      frafu