Addon: additional API endpoints

I made my first addon for Cockpit v2: GitHub - witsec/cockpit-api

This addon adds a couple of additional endpoints for the following functionalities:

  • Upload files through the API
  • Delete one or more files
  • Get a list of all folders (useful for when you need a folder ID when uploading files)
  • List all entries (published and unpublished) of a model

I hope it’s of use to others. Feel free to grab what you want and tweak it to your liking.