Skip to content

Reference

News feeds

The news feeds endpoints of the HTTP API.

GET /news

Fetch an RSS or Atom feed through the server and return its items as plain text.

The feed’s domain must be on the outbound allowlist, and the address must be https. The feed is read up to 1 MiB and cached for 15 minutes. Titles and summaries are plain text, and a link is returned only when it is an absolute http or https URL. Service accounts cannot call this endpoint.

Parameters

Name In Type Description
url (required) query string

Responses

Status Description Body
200 The feed’s items, newest first as the feed lists them. NewsFeed
400 The url is missing or longer than 2000 bytes (invalid_request), or is not an https address with a domain name (invalid_feed_url). Error
401 Authentication is missing or invalid. Error
403 The caller is a service account (forbidden), or the feed’s domain is not on the outbound allowlist (outbound_domain_not_allowed, with the domain in the message). Error
500 The server failed to handle the request. Error
502 The feed could not be fetched (feed_unavailable) or was not a valid RSS or Atom feed (feed_invalid). Error

Generated from api/openapi.yaml at bac0fe39. Report a problem.

/observeOpen source under Apache-2.0.Grafana is a trademark of Grafana Labs. SlashObserve is not affiliated with or endorsed by Grafana Labs.

Search pages and headings.