Anoma.Client.Web.IntentsController (Anoma v0.35.1)
Summary
Functions
I add an intent to the remote intent pool.
I return a list of all intents from the remote node. The intents will be jammed nouns, base64 encoded.
Functions
@spec add_intent(Plug.Conn.t(), map()) :: Plug.Conn.t()
I add an intent to the remote intent pool.
I expect a jammed noun as paramter, base64 encoded.
If anything goes wrong, I will return an error and this will be handled by the fallback controller.
@spec index(Plug.Conn.t(), map()) :: Plug.Conn.t()
I return a list of all intents from the remote node. The intents will be jammed nouns, base64 encoded.
@spec open_api_operation(atom()) :: OpenApiSpex.Operation.t()