Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Piazzainfesta It Regioni API
version: 1.0.0
contact:
name: Richiedi una API key
url: https://piazzainfesta.it/contatti
description: 'Operations tagged Regioni across 2 of this provider''s published API definitions: openapi.json, piazzainfesta-it-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.piazzainfesta.it
security:
- ApiKey: []
tags:
- name: Regioni
paths:
/v1/regioni:
get:
summary: Le regioni servite, con il nome esatto da usare nel filtro regione
description: 'Con una chiave limitata ad alcune regioni elenca solo quelle: il menu che ci costruisci sopra non mostrera'' mai una regione che poi risponderebbe 403.'
responses:
'200':
description: Elenco regioni
headers:
X-Cache:
description: HIT se la risposta arriva dalla cache del server, MISS se e' stata calcolata
schema:
type: string
enum:
- HIT
- MISS
ETag:
description: 'Impronta della risposta: rimandala in If-None-Match e se non e'' cambiato niente ricevi 304 senza corpo'
schema:
type: string
content:
application/json:
schema:
type: object
properties:
total:
type: integer
regioni:
type: array
items:
type: object
properties:
regione:
type: string
example: Campania
'304':
description: Non modificato dall'ETag che hai mandato in If-None-Match
'401':
description: API key mancante o non valida
'429':
description: Rate limit superato (120 req/min)
headers:
Retry-After:
description: Secondi da aspettare prima di riprovare
schema:
type: integer
X-RateLimit-Limit:
description: Richieste concesse al minuto
schema:
type: integer
X-RateLimit-Remaining:
description: Richieste ancora disponibili nella finestra
schema:
type: integer
X-RateLimit-Reset:
description: Quando riparte il conteggio, in secondi epoch
schema:
type: integer
tags:
- Regioni
operationId: getV1Regioni
x-operation-id-source: derived
servers:
- url: https://api.piazzainfesta.it
components:
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-Api-Key
x-refined-from:
- openapi.json
- piazzainfesta-it-openapi.json