2 Data sources servers
Forgejo Actions edited this page 2026-11-18 21:50:59 +00:00

xyops_servers (Data Source)

Searches xyOps server records with search_servers. Unlike the live registry, the matches include servers that are offline or were dropped from the registry, so references stay stable between refreshes.

Schema

Optional

  • limit (Number) Maximum number of rows to return. Defaults to 100.
  • offset (Number) Zero-based row offset for pagination. Defaults to 0.
  • query (String) Search query in the xyOps index syntax, e.g. groups:main, os_distro:ubuntu, os_arch:x86_64. Defaults to all records.

Read-Only

  • servers (List of Object) Matching server records without info, in the order xyOps returned. (see below for nested schema)
  • total (Number) Total number of matching records, without pagination.

Nested Schema for servers

Read-Only:

  • auto_group (Boolean)
  • created (Number)
  • enabled (Boolean)
  • groups (List of String)
  • hostname (String)
  • id (String)
  • ip (String)
  • keywords (String)
  • modified (Number)
  • notes (String)