OctoAIPromptFeedback

module
v0.0.0-...-236e3a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2025 License: Apache-2.0

README

A very basic JSONApi based REST server that stores and retrieves prompt feedback items.

Endpoints:

  • GET /api/feedback: Get all feedback items. Requires the X-FEEDBACK-APIKEY header.
  • GET /api/feedback/:id: Get one feedback item. Requires the X-FEEDBACK-APIKEY header.
  • POST /api/feedback: Create a feedback item. Requires the AUTHORIZATION: Basic <Octopus Bearer Token> header.

Environment Variables

  • FUNCTIONS_CUSTOMHANDLER_PORT: The port to run on
  • FEEDBACK_SERVICE_API_KEY: The API key used to get the feedback items

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL