defmodule ToweropsWeb.HelpLive.Sections.RestApi do @moduledoc false use ToweropsWeb, :html def render(assigns) do ~H"""

REST API

The Towerops REST API provides programmatic access to your monitoring data. All endpoints are under /api/v1/ and require a valid API token.

Available Endpoints

Quick Example

<%= raw("curl -H \"Authorization: Bearer YOUR_TOKEN\" \\\n  https://app.towerops.net/api/v1/devices") %>

All responses use {raw("{\"data\": ...}")} format. Results are scoped to the organization associated with your API token.

Full reference: REST API Documentation → — complete endpoint reference with request/response examples.

""" end end