{% extends "base.html" %} {% block content %}

API Information

API Endpoints

  • GET / - Home page (this page)
  • GET /projects - List all projects
  • GET /obs/source/<path> - Forward GET requests to OBS backend
  • POST /obs/source/<path> - Forbidden (405)
  • PUT /obs/source/<path> - Forbidden (405)
  • PATCH /obs/source/<path> - Forbidden (405)

Configuration

Backend URL: {{ config.OBS_SRC_SERVER }}

Usage Examples

View all projects: GET /
View project details: GET /obs/source/openSUSE:Tools/
View project files: GET /obs/source/openSUSE:Tools/build/

Security

This proxy only allows read-only access to the OBS backend:

  • GET requests are forwarded to OBS
  • POST, PUT, PATCH requests are blocked (HTTP 405)
  • Designed for secure, read-only access to OBS data
{% endblock %}