nerves_hub_user_api v0.6.0 NervesHubUserAPI.Firmware
Manage Firmware on NervesHub
Path: /orgs/:org_name/products/:product_name/firmwares
Link to this section Summary
Functions
Add signed firmware NervesHub.
Delete existing firmware by uuid.
List firmware for a product.
Link to this section Functions
Link to this function
create(org_name, product_name, tar, ttl \\ nil, auth)
create(org_name, product_name, tar, ttl \\ nil, auth)
create(
String.t(),
String.t(),
String.t(),
non_neg_integer() | nil,
NervesHubUserAPI.Auth.t()
) :: {:error, any()} | {:ok, any()}
create( String.t(), String.t(), String.t(), non_neg_integer() | nil, NervesHubUserAPI.Auth.t() ) :: {:error, any()} | {:ok, any()}
Add signed firmware NervesHub.
Verb: POST Path: /orgs/:org_name/products/:product_name/firmwares
Link to this function
delete(org_name, product_name, uuid, auth)
Delete existing firmware by uuid.
Verb: DELETE Path: /orgs/:org_name/products/:product_name/firmwares/:uuid
Link to this function
list(org_name, product_name, auth)
list(org_name, product_name, auth)
list(String.t(), String.t(), NervesHubUserAPI.Auth.t()) ::
{:error, any()} | {:ok, any()}
list(String.t(), String.t(), NervesHubUserAPI.Auth.t()) :: {:error, any()} | {:ok, any()}
List firmware for a product.
Verb: GET Path: /orgs/:org_name/products/:product_name/firmwares