Vai al contenuto
← Torna alla panoramica
Sviluppatori

API pubblica

L'intero catalogo di soluzioni come file JSON aperto e statico – senza registrazione, senza tracciamento.

1 · Panoramica

Swiss IT Navigator mette a disposizione il suo catalogo completo e curato di soluzioni open source sovrane come API JSON pubblica e di sola lettura. I dati sono generati al momento del build su infrastruttura svizzera (RZO Gais) e serviti come file statico – nessun codice server a runtime, nessun database, nessuna raccolta di dati personali.

2 · Endpoint

GEThttps://swissitnavigator.ch/api/v1/solutions.json

Esiste esattamente un endpoint. Restituisce l'intero catalogo in un'unica risposta.

3 · Accesso & condizioni d'uso

Nessuna autenticazione
Nessuna API key, nessun token, nessun login.
CORS
Access-Control-Allow-Origin: * – utilizzabile direttamente dal browser.
Caching
Cache del browser 1 ora, CDN/proxy 24 ore (s-maxage). Si prega di rispettarla.
Rate limit
Nessun limite rigido; si presuppone un uso corretto. Memorizza in cache invece di interrogare di continuo.
Aggiornamento
Rigenerato a ogni deployment (in genere quotidiano), incl. le stelle GitHub attuali.

4 · Struttura della risposta

La risposta è un oggetto con metadati e l'array solutions:

CampoTipoDescrizione
versionnumberAPI schema version (currently 1).
generatedAtstringISO 8601 timestamp of the build that produced this file.
countnumberNumber of solutions in the array.
licensestringLicence of the dataset (MIT).
homepagestringCanonical project homepage.
solutionsSolution[]Array of solution objects (see below).

5 · Oggetto Solution

Ogni voce nell'array solutions ha i seguenti campi:

CampoTipoDescrizione
namestringDisplay name of the solution.
categorystringOne of the fixed category names (e.g. "DevOps", "Storage").
descriptionstringGerman description (source of truth).
descriptionEnstringEnglish description.
descriptionFrstring?French description (optional).
descriptionItstring?Italian description (optional).
licensestringOSI/SPDX licence identifier (e.g. "MIT", "AGPL-3.0").
deploymentstring[]Subset of "kubernetes" | "docker" | "linux".
audiencestring[]Subset of "business" | "private" — who realistically uses this solution.
complexitynumber1–10 · setup & deployment effort (lower = simpler).
maturitynumber1–10 · project stability & production-readiness (higher = more mature).
resourceUsagenumber1–10 · RAM/CPU footprint (lower = lighter).
maintenancenumber1–10 · day-to-day operational overhead (lower = less).
tagsstring[]Free-form tags, incl. "<product>-alternative" markers.
githubstringSource repository URL (GitHub or GitLab).
websitestringOfficial project website URL.
iconstringEmoji used as the solution icon.
originstringGeographic origin label (e.g. "🇨🇭 Schweiz", "🌍 International").
addedAtstringISO date (YYYY-MM-DD) the solution was added to the catalogue.
starsnumber | nullGitHub stars at build time; null if unavailable.

6 · Esempi

Shell (curl + jq)

curl -s https://swissitnavigator.ch/api/v1/solutions.json | jq '.count'

JavaScript (fetch)

const res = await fetch('https://swissitnavigator.ch/api/v1/solutions.json')
const { solutions } = await res.json()

// e.g. all low-maintenance Kubernetes-ready options
const easy = solutions.filter(
  (s) => s.deployment.includes('kubernetes') && s.maintenance <= 3
)

Esempio di risposta (troncato)

{
  "version": 1,
  "generatedAt": "2026-06-05T08:00:00.000Z",
  "count": 123,
  "license": "MIT",
  "homepage": "https://swissitnavigator.ch",
  "solutions": [
    {
      "name": "Gitea",
      "category": "DevOps",
      "description": "Gitea ist ein selbstgehosteter Git-Service …",
      "descriptionEn": "Gitea is a self-hosted Git service …",
      "license": "MIT",
      "deployment": ["kubernetes", "docker", "linux"],
      "audience": ["business", "private"],
      "complexity": 2,
      "maturity": 8,
      "resourceUsage": 2,
      "maintenance": 2,
      "tags": ["git", "ci-cd", "github-alternative"],
      "github": "https://github.com/go-gitea/gitea",
      "website": "https://gitea.io",
      "icon": "🐙",
      "origin": "🌍 International",
      "addedAt": "2026-05-17",
      "stars": 47000
    }
  ]
}

7 · Licenza & attribuzione

Il dataset è pubblicato con licenza MIT e può essere usato liberamente – anche a scopo commerciale. Apprezziamo un'attribuzione con un link a swissitnavigator.ch. I gestori dei progetti collegati sono responsabili dei propri contenuti.

Aggiornato: giugno 2026