Capabilities

Capabilities give plugins access to external resources such as the user’s system and the internet. Think of capabilities as if they were library imports.

Capabilities are declared in the imports section of the manifest.yaml:

imports:
  my_http_client:
    http_client:
      baseUrl: https://example.com

Usage in javascript:

var out = my_http_client.get("/")

Available Capbilities