Skip to main content

default

@fovea/server


@fovea/server / routes/annotations / default

Variable: default

const default: FastifyPluginAsync

Defined in: src/routes/annotations.ts:31

Fastify plugin for annotation-related routes. Provides endpoints for retrieving and managing video annotations.

Routes:

  • GET /api/annotations/:videoId - Get annotations for a specific video
  • POST /api/annotations - Create a new annotation
  • PUT /api/annotations/:id - Update an annotation
  • DELETE /api/annotations/:videoId/:id - Delete an annotation