github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/system/access_list/data.json (about)

     1  {
     2    "action": {
     3      "create": {
     4        "actions": [
     5          "/v1/action"
     6        ],
     7        "method": "post",
     8        "description": ""
     9      },
    10      "read": {
    11        "actions": [
    12          "/v1/action/[0-9]+",
    13          "/v1/actions",
    14          "/v1/actions/search"
    15        ],
    16        "method": "get",
    17        "description": ""
    18      },
    19      "update": {
    20        "actions": [
    21          "/v1/action/[0-9]+"
    22        ],
    23        "method": "put",
    24        "description": ""
    25      },
    26      "delete": {
    27        "actions": [
    28          "/v1/action/[0-9]+"
    29        ],
    30        "method": "delete",
    31        "description": ""
    32      }
    33    },
    34    "area": {
    35      "create": {
    36        "actions": [
    37          "/v1/area"
    38        ],
    39        "method": "post",
    40        "description": ""
    41      },
    42      "read": {
    43        "actions": [
    44          "/v1/area/[0-9]+",
    45          "/v1/areas",
    46          "/v1/areas/search"
    47        ],
    48        "method": "get",
    49        "description": ""
    50      },
    51      "update": {
    52        "actions": [
    53          "/v1/area/[0-9]+"
    54        ],
    55        "method": "put",
    56        "description": ""
    57      },
    58      "delete": {
    59        "actions": [
    60          "/v1/area/[0-9]+"
    61        ],
    62        "method": "delete",
    63        "description": ""
    64      }
    65    },
    66    "auth": {
    67      "read_access_list": {
    68        "actions": [
    69          "/v1/access_list"
    70        ],
    71        "method": "get",
    72        "description": ""
    73      },
    74      "password_reset": {
    75        "actions": [
    76          "/v1/password_reset"
    77        ],
    78        "method": "post",
    79        "description": ""
    80      },
    81      "signin": {
    82        "actions": [
    83          "/v1/signin"
    84        ],
    85        "method": "post",
    86        "description": ""
    87      },
    88      "signout": {
    89        "actions": [
    90          "/v1/signout"
    91        ],
    92        "method": "post",
    93        "description": ""
    94      }
    95    },
    96    "task": {
    97      "create": {
    98        "actions": [
    99          "/v1/task",
   100          "/v1/tasks/import",
   101          "/v1/task/[0-9]+/disable",
   102          "/v1/task/[0-9]+/enable"
   103        ],
   104        "method": "post",
   105        "description": ""
   106      },
   107      "read": {
   108        "actions": [
   109          "/v1/task/[0-9]+",
   110          "/v1/tasks"
   111        ],
   112        "method": "get",
   113        "description": ""
   114      },
   115      "update": {
   116        "actions": [
   117          "/v1/task/[0-9]+",
   118          "/v1/task/DisableTask",
   119          "/v1/task/EnableTask"
   120        ],
   121        "method": "put",
   122        "description": ""
   123      },
   124      "delete": {
   125        "actions": [
   126          "/v1/task/[0-9]+"
   127        ],
   128        "method": "delete",
   129        "description": ""
   130      }
   131    },
   132    "backup": {
   133      "read": {
   134        "actions": [
   135          "/v1/backups"
   136        ],
   137        "method": "get",
   138        "description": ""
   139      },
   140      "create": {
   141        "actions": [
   142          "/v1/backups"
   143        ],
   144        "method": "post",
   145        "description": ""
   146      },
   147      "upload": {
   148        "actions": [
   149          "/v1/backup/upload"
   150        ],
   151        "method": "post",
   152        "description": ""
   153      },
   154      "download": {
   155        "actions": [
   156          "/snapshots/[\\w]+"
   157        ],
   158        "method": "get",
   159        "description": ""
   160      },
   161      "rollback": {
   162        "actions": [
   163          "/v1/backup/rollback"
   164        ],
   165        "method": "post",
   166        "description": "rollback backup"
   167      },
   168      "apply": {
   169        "actions": [
   170          "/v1/backup/apply"
   171        ],
   172        "method": "post",
   173        "description": ""
   174      },
   175      "restore": {
   176        "actions": [
   177          "/v1/backup/[\\w]+"
   178        ],
   179        "method": "put",
   180        "description": "restore backup"
   181      },
   182      "delete": {
   183        "actions": [
   184          "/v1/backup/[\\w]+"
   185        ],
   186        "method": "delete",
   187        "description": "delete backup"
   188      }
   189    },
   190    "condition": {
   191      "create": {
   192        "actions": [
   193          "/v1/condition"
   194        ],
   195        "description": "",
   196        "method": "post"
   197      },
   198      "read": {
   199        "actions": [
   200          "/v1/condition/[0-9]+",
   201          "/v1/conditions",
   202          "/v1/conditions/search"
   203        ],
   204        "description": "",
   205        "method": "get"
   206      },
   207      "update": {
   208        "actions": [
   209          "/v1/condition/[0-9]+"
   210        ],
   211        "description": "",
   212        "method": "post"
   213      },
   214      "delete": {
   215        "actions": [
   216          "/v1/condition/[0-9]+"
   217        ],
   218        "description": "",
   219        "method": "post"
   220      }
   221    },
   222    "dashboard": {
   223      "create": {
   224        "actions": [
   225          "/v1/dashboard",
   226          "/v1/dashboards/import"
   227        ],
   228        "description": "",
   229        "method": "post"
   230      },
   231      "read": {
   232        "actions": [
   233          "/v1/dashboard/[0-9]+",
   234          "/v1/dashboards",
   235          "/v1/dashboards/search"
   236        ],
   237        "description": "",
   238        "method": "get"
   239      },
   240      "update": {
   241        "actions": [
   242          "/v1/dashboard/[0-9]+"
   243        ],
   244        "description": "",
   245        "method": "put"
   246      },
   247      "delete": {
   248        "actions": [
   249          "/v1/dashboard/[0-9]+"
   250        ],
   251        "description": "",
   252        "method": "delete"
   253      }
   254    },
   255    "dashboard_card": {
   256      "create": {
   257        "actions": [
   258          "/v1/dashboard_card",
   259          "/v1/dashboard_cards/import"
   260        ],
   261        "description": "",
   262        "method": "post"
   263      },
   264      "read": {
   265        "actions": [
   266          "/v1/dashboard_card/[0-9]+",
   267          "/v1/dashboard_cards"
   268        ],
   269        "description": "",
   270        "method": "get"
   271      },
   272      "update": {
   273        "actions": [
   274          "/v1/dashboard_card/[0-9]+"
   275        ],
   276        "description": "",
   277        "method": "put"
   278      },
   279      "delete": {
   280        "actions": [
   281          "/v1/dashboard_card/[0-9]+"
   282        ],
   283        "description": "",
   284        "method": "delete"
   285      }
   286    },
   287    "dashboard_card_item": {
   288      "create": {
   289        "actions": [
   290          "/v1/dashboard_card_item"
   291        ],
   292        "description": "",
   293        "method": "post"
   294      },
   295      "read": {
   296        "actions": [
   297          "/v1/dashboard_card_item/[0-9]+",
   298          "/v1/dashboard_card_items"
   299        ],
   300        "description": "",
   301        "method": "get"
   302      },
   303      "update": {
   304        "actions": [
   305          "/v1/dashboard_card_item/[0-9]+"
   306        ],
   307        "description": "",
   308        "method": "put"
   309      },
   310      "delete": {
   311        "actions": [
   312          "/v1/dashboard_card_item/[0-9]+"
   313        ],
   314        "description": "",
   315        "method": "delete"
   316      }
   317    },
   318    "dashboard_tab": {
   319      "create": {
   320        "actions": [
   321          "/v1/dashboard_tab"
   322        ],
   323        "description": "",
   324        "method": "post"
   325      },
   326      "read": {
   327        "actions": [
   328          "/v1/dashboard_tab/[0-9]+",
   329          "/v1/dashboard_tabs"
   330        ],
   331        "description": "",
   332        "method": "get"
   333      },
   334      "update": {
   335        "actions": [
   336          "/v1/dashboard_tab/[0-9]+"
   337        ],
   338        "description": "",
   339        "method": "put"
   340      },
   341      "delete": {
   342        "actions": [
   343          "/v1/dashboard_tab/[0-9]+"
   344        ],
   345        "description": "",
   346        "method": "delete"
   347      }
   348    },
   349    "developer_tools": {
   350      "bus_state": {
   351        "actions": [
   352          "/v1/developer_tools/bus/state"
   353        ],
   354        "description": "",
   355        "method": "get"
   356      },
   357      "entity_reload": {
   358        "actions": [
   359          "/v1/developer_tools/entity/reload"
   360        ],
   361        "description": "",
   362        "method": "post"
   363      },
   364      "entity_set_state": {
   365        "actions": [
   366          "/v1/developer_tools/entity/set_state"
   367        ],
   368        "description": "",
   369        "method": "post"
   370      },
   371      "task_call_action": {
   372        "actions": [
   373          "/v1/developer_tools/automation/call_action"
   374        ],
   375        "description": "",
   376        "method": "post"
   377      },
   378      "task_call_trigger": {
   379        "actions": [
   380          "/v1/developer_tools/automation/call_trigger"
   381        ],
   382        "description": "",
   383        "method": "post"
   384      }
   385    },
   386    "entity": {
   387      "create": {
   388        "actions": [
   389          "/v1/entity",
   390          "/v1/entity/import",
   391          "/v1/entity/[\\w]+/enable",
   392          "/v1/entity/[\\w]+/disable"
   393        ],
   394        "description": "",
   395        "method": "post"
   396      },
   397      "read": {
   398        "actions": [
   399          "/v1/entity/[\\w]+",
   400          "/v1/entities",
   401          "/v1/entities/statistic",
   402          "/v1/entities/search"
   403        ],
   404        "description": "",
   405        "method": "get"
   406      },
   407      "update": {
   408        "actions": [
   409          "/v1/entity/[\\w]+",
   410          "/v1/entity/EnabledEntity",
   411          "/v1/entity/DisabledEntity"
   412        ],
   413        "description": "",
   414        "method": "put"
   415      },
   416      "delete": {
   417        "actions": [
   418          "/v1/entity/[\\w]+"
   419        ],
   420        "description": "",
   421        "method": "delete"
   422      }
   423    },
   424    "entity_storage": {
   425      "read": {
   426        "actions": [
   427          "/v1/entity_storage"
   428        ],
   429        "description": "",
   430        "method": "get"
   431      }
   432    },
   433    "image": {
   434      "create": {
   435        "actions": [
   436          "/v1/image",
   437          "/v1/image/upload"
   438        ],
   439        "description": "",
   440        "method": "post"
   441      },
   442      "read": {
   443        "actions": [
   444          "/v1/image/[0-9]+",
   445          "/v1/images",
   446          "/v1/images/filtered",
   447          "/v1/images/filter_list"
   448        ],
   449        "description": "",
   450        "method": "get"
   451      },
   452      "update": {
   453        "actions": [
   454          "/v1/image/[0-9]+"
   455        ],
   456        "description": "",
   457        "method": "put"
   458      },
   459      "delete": {
   460        "actions": [
   461          "/v1/image/[0-9]+"
   462        ],
   463        "description": "",
   464        "method": "delete"
   465      }
   466    },
   467    "interact": {
   468      "create": {
   469        "actions": [
   470          "/v1/interact/entity/call_action"
   471        ],
   472        "description": "",
   473        "method": "post"
   474      }
   475    },
   476    "log": {
   477      "read": {
   478        "actions": [
   479          "/v1/logs",
   480          "/v1/logs/*"
   481        ],
   482        "description": "",
   483        "method": "get"
   484      }
   485    },
   486    "messages": {
   487      "read": {
   488        "actions": [
   489          "/v1/message_delivery"
   490        ],
   491        "description": "",
   492        "method": "get"
   493      }
   494    },
   495    "metric": {
   496      "read": {
   497        "actions": [
   498          "/v1/metric"
   499        ],
   500        "description": "",
   501        "method": "get"
   502      }
   503    },
   504    "mqtt": {
   505      "read": {
   506        "actions": [
   507          "/v1/mqtt/[0-9]+",
   508          "/v1/mqtt/subscriptions",
   509          "/v1/mqtt/client/[\\w]+",
   510          "/v1/mqtt/clients"
   511        ],
   512        "description": "",
   513        "method": "get"
   514      }
   515    },
   516    "plugin": {
   517      "read": {
   518        "actions": [
   519          "/v1/plugin/[\\w]+",
   520          "/v1/plugin/[\\w]+/readme",
   521          "/v1/plugins",
   522          "/v1/plugins/search"
   523        ],
   524        "description": "",
   525        "method": "get"
   526      },
   527      "toggle": {
   528        "actions": [
   529          "/v1/plugin/[\\w]+/disable",
   530          "/v1/plugin/[\\w]+/enable"
   531        ],
   532        "description": "",
   533        "method": "post"
   534      },
   535      "update": {
   536        "actions": [
   537          "/v1/plugin/[\\w]+/disable",
   538          "/v1/plugin/[\\w]+/enable"
   539        ],
   540        "description": "",
   541        "method": "put"
   542      }
   543    },
   544    "role": {
   545      "create": {
   546        "actions": [
   547          "/v1/role"
   548        ],
   549        "description": "",
   550        "method": "post"
   551      },
   552      "read": {
   553        "actions": [
   554          "/v1/roles",
   555          "/v1/roles/search",
   556          "/v1/role/[\\w]+/access_list",
   557          "/v1/role/[\\w]+"
   558        ],
   559        "description": "",
   560        "method": "get"
   561      },
   562      "update": {
   563        "actions": [
   564          "/v1/role/[\\w]+",
   565          "/v1/role/[\\w]+/access_list"
   566        ],
   567        "description": "",
   568        "method": "put"
   569      },
   570      "delete": {
   571        "actions": [
   572          "/v1/role/[\\w]+"
   573        ],
   574        "description": "",
   575        "method": "delete"
   576      }
   577    },
   578    "script": {
   579      "create": {
   580        "actions": [
   581          "/v1/script",
   582          "/v1/script/exec_src",
   583          "/v1/script/[0-9]+/copy",
   584          "/v1/script/[0-9]+/exec"
   585        ],
   586        "description": "",
   587        "method": "post"
   588      },
   589      "read": {
   590        "actions": [
   591          "/v1/scripts",
   592          "/v1/scripts/statistic",
   593          "/v1/scripts/search",
   594          "/v1/script/[0-9]+/compiled",
   595          "/v1/script/[0-9]+"
   596        ],
   597        "description": "",
   598        "method": "get"
   599      },
   600      "update": {
   601        "actions": [
   602          "/v1/script/[0-9]+"
   603        ],
   604        "description": "",
   605        "method": "put"
   606      },
   607      "delete": {
   608        "actions": [
   609          "/v1/script/[0-9]+"
   610        ],
   611        "description": "",
   612        "method": "delete"
   613      }
   614    },
   615    "ws": {
   616      "read": {
   617        "actions": [
   618          "/v1/ws",
   619          "/v1/ws/*"
   620        ],
   621        "method": "get",
   622        "description": ""
   623      }
   624    },
   625    "trigger": {
   626      "create": {
   627        "actions": [
   628          "/v1/trigger",
   629          "/v1/trigger/[0-9]+/enable",
   630          "/v1/trigger/[0-9]+/disable"
   631        ],
   632        "description": "",
   633        "method": "post"
   634      },
   635      "read": {
   636        "actions": [
   637          "/v1/trigger/[0-9]+",
   638          "/v1/triggers/search",
   639          "/v1/triggers"
   640        ],
   641        "description": "",
   642        "method": "get"
   643      },
   644      "update": {
   645        "actions": [
   646          "/v1/trigger/[0-9]+"
   647        ],
   648        "description": "",
   649        "method": "put"
   650      },
   651      "delete": {
   652        "actions": [
   653          "/v1/trigger/[0-9]+"
   654        ],
   655        "description": "",
   656        "method": "delete"
   657      }
   658    },
   659    "user": {
   660      "create": {
   661        "actions": [
   662          "/v1/user"
   663        ],
   664        "description": "",
   665        "method": "post"
   666      },
   667      "read": {
   668        "actions": [
   669          "/v1/users",
   670          "/v1/user/[0-9]+"
   671        ],
   672        "description": "",
   673        "method": "get"
   674      },
   675      "update": {
   676        "actions": [
   677          "/v1/user/[0-9]+"
   678        ],
   679        "description": "",
   680        "method": "put"
   681      },
   682      "delete": {
   683        "actions": [
   684          "/v1/user/[0-9]+"
   685        ],
   686        "description": "",
   687        "method": "delete"
   688      }
   689    },
   690    "variable": {
   691      "create": {
   692        "actions": [
   693          "/v1/variable"
   694        ],
   695        "description": "",
   696        "method": "post"
   697      },
   698      "read": {
   699        "actions": [
   700          "/v1/variable/[\\w]+",
   701          "/v1/variables/search",
   702          "/v1/variables"
   703        ],
   704        "description": "",
   705        "method": "get"
   706      },
   707      "update": {
   708        "actions": [
   709          "/v1/variable/[\\w]+"
   710        ],
   711        "description": "",
   712        "method": "put"
   713      },
   714      "delete": {
   715        "actions": [
   716          "/v1/variable/[\\w]+"
   717        ],
   718        "description": "",
   719        "method": "delete"
   720      }
   721    },
   722    "zigbee2mqtt": {
   723      "create": {
   724        "actions": [
   725          "/v1/zigbee2mqtt/device_whitelist",
   726          "/v1/zigbee2mqtt/device_rename",
   727          "/v1/zigbee2mqtt/device_ban",
   728          "/v1/zigbee2mqtt/bridge/[0-9]+/reset",
   729          "/v1/zigbee2mqtt/bridge/[0-9]+/networkmap",
   730          "/v1/zigbee2mqtt/bridge"
   731        ],
   732        "description": "",
   733        "method": "post"
   734      },
   735      "read": {
   736        "actions": [
   737          "/v1/zigbee2mqtt/bridge",
   738          "/v1/zigbee2mqtt/bridge/[0-9]+",
   739          "/v1/zigbee2mqtt/bridge/[0-9]+/devices",
   740          "/v1/zigbee2mqtt/bridge/[0-9]+/networkmap",
   741          "/v1/zigbee2mqtt/search_device"
   742        ],
   743        "description": "",
   744        "method": "get"
   745      },
   746      "update": {
   747        "actions": [
   748          "/v1/zigbee2mqtt/bridge/[0-9]+/bridge"
   749        ],
   750        "description": "",
   751        "method": "put"
   752      },
   753      "delete": {
   754        "actions": [
   755          "/v1/zigbee2mqtt/bridge/[0-9]+"
   756        ],
   757        "description": "",
   758        "method": "delete"
   759      }
   760    },
   761    "stream": {
   762      "watch": {
   763        "actions": [
   764          "/stream/*"
   765        ],
   766        "description": "",
   767        "method": "get"
   768      }
   769    }
   770  }