API - 404 App Not Found


I installed hass.io under docker
I installed Franck Nijhof’s appdaemon plugin (version 3)

I left the default configuration for HA dashborad and API ports (5050 and 5000)
below my file appdaemon.yaml (under /config/appdaemon):

secrets: /config/secrets.yaml
  logfile: /config/appdaemon/log/appdaemon.log
  errorfile: /config/appdaemon/log/errorfile.log
  threads: 10
  api_port: 5000
  app_dir: /config/appdaemon/apps
      type: hass
      ha_url: http://hassio/homeassistant
  dash_dir: /config/appdaemon/dashboards

My file apps.yaml (under /config/appdaemon/apps)

  module: hello
  class: HelloWorld

And my file hello.py (under /config/appdaemon/apps):

import appdaemon.plugins.hass.hassapi as hass

class HelloWorld(hass.Hass):

  def initialize(self):
     self.log("Hello from AppDaemon")
     self.log("You are now ready to run Apps!")

when I do a test with the command below

 curl -i -X POST -H "Content-Type: application/json" http://localhost:5000/api/appdaemon/hello_world -d '{"type": "Hello World Test"}'

I have the error

<html><head><title>404 App Not Found</title></head><body><h1>404 App Not Found</h1>Error in API Call</body></html>

below the logs when starting appdaemon and an API test

2019-12-14 19:22:04.726744 INFO AppDaemon Version 3.0.5 starting
2019-12-14 19:22:04.727518 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2019-12-14 19:22:04.730743 INFO AppDaemon: Starting Apps
2019-12-14 19:22:04.740582 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2019-12-14 19:22:05.092257 INFO AppDaemon: HASS: HASS Plugin Initializing
2019-12-14 19:22:05.093395 INFO AppDaemon: HASS: HASS Plugin initialization complete
2019-12-14 19:22:05.094271 INFO Starting Dashboards
2019-12-14 19:22:05.114330 INFO Starting API
2019-12-14 19:22:05.134589 INFO AppDaemon: HASS: Connected to Home Assistant 0.103.0
2019-12-14 19:22:05.262891 INFO AppDaemon: Got initial state from namespace default
2019-12-14 19:22:07.387976 INFO AppDaemon: Reading config
2019-12-14 19:22:07.403653 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2019-12-14 19:22:07.404834 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2019-12-14 19:22:07.405698 INFO AppDaemon: App 'hello_world' added
2019-12-14 19:22:07.406839 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2019-12-14 19:22:07.409458 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/hello.py
2019-12-14 19:22:07.467204 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2019-12-14 19:22:07.731465 INFO hello_world: Hello from AppDaemon
2019-12-14 19:22:07.735312 INFO hello_world: You are now ready to run Apps!
2019-12-14 19:22:07.737067 INFO AppDaemon: App initialization complete
2019-12-14 19:22:19.718800 INFO AppDaemon: API Call to hello_world: status: 404 App Not Found

According to the logs, the API is started and the application “hello_world” is initialized.
I haven’t found a solution yet, that’s why I’m asking you;)

Thanks in advance and sorry for my English