rest api

  1. JM2K69

    API v1.0 and Zvol Extent

    Hi I create a Powershell module to configure Freenas with API I have one problem to create an extent with a ZVOL This picture show to Extent the first Extent with the ID 1 is create with the Web GUI and the second with the API and my module. When I look the documentation for the API freenas...
  2. P

    Как можно обратиться к Rest Api через Powershell?

    Как можно обратиться к Rest Api через Powershell с авторизацией? Пробую выполнить Invoke-RestMethod -Uri "http://FreeNasHost/api/v2.0/system/info" и получаю 401: Unauthorized Понятное дело, что в headers нужно передать логин и пароль, но вот в каком формате это сделать непонятно.
  3. P

    REST API performance counters

    Hi, I am new here without any deep FreeNAS knowledge. We are developing opensource storage monitoring tool and wanted to add FreeNAS by using REST API. However we cannot find performance metrics we would expect in REST API (v1 or v2) We would expect per protocols stats (NFS/iSCSI/SMB). This...
  4. I

    Проблема с REST API в FreeNAS 10?

    Пытаюсь сделать запрос: r = requests.request('POST', 'http://192.168.11.174:80/api/v1.0/account/users/', auth=('root', 'admin'), headers={'Content-Type': 'application/json'}, verify=False, data=json.dumps({ 'bsdusr_uid': '1101', 'bsdusr_username': 'user'...
Top