paths/notificationRules - GET definition contains query param `checkID` which does not seem to be implemented
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- openapi
- Ambito
- api
Direzione di ricerca
Inizia con common/paths/notificationRules.yml e i test menzionati nell’issue. Verifica se GET notificationRules supporta il filtraggio e la convalida di checkID; il lavoro è completato quando la definizione OpenAPI corrisponde al comportamento implementato, con il comportamento rilevante coperto dai test oppure con il parametro non supportato rimosso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
While writing tests for the endpoint notificationRules I've tried to filter using the checkID parameter defined in common/paths/notificationRules.yml but it seems to have no affect. Even illegal ID Values (e.g. ?checkID=12345678 should throw an error that ID must have a length of 16 bytes) are passed without issue.
Is this the remains of an idea that was later implemented differently and should be removed, or is this something awaiting implementation?
common/paths/notificationRules.yml
get:
operationId: GetNotificationRules
tags:
- NotificationRules
summary: List all notification rules
parameters:
- $ref: "../parameters/TraceSpan.yml"
- $ref: "../parameters/Offset.yml"
- $ref: "../parameters/Limit.yml"
- in: query
name: orgID
required: true
description: Only show notification rules that belong to a specific organization ID.
schema:
type: string
- in: query
name: checkID
description: Only show notifications that belong to the specific check ID.
schema:
type: string
- in: query
name: tag
description: Only return notification rules that "would match" statuses which contain the tag key value pairs provided.
schema:
type: string
pattern: ^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$
example: env:prod
responses:
"200":
description: A list of notification rules
content:
application/json:
schema:
$ref: "../schemas/NotificationRules.yml"
default:
description: Unexpected error
content:
application/json:
schema:
$ref: "../schemas/Error.yml"
post:
operationId: CreateNotificationRule
tags:
- NotificationRules
...
- Lingua principale
- Shell
- Stelle
- 18
- Fork
- 9
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di influxdata/openapi
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
influxdata/openapi#657 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
influxdata/openapi#653 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
influxdata/openapi#240 ·
-
bug
influxdata/openapi#654 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
influxdata/openapi#636 ·
Tutte le issue di influxdata/openapi
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
oSoWoSo/vOid_Community_repOsitory#185 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
carbon-language/carbon-lang#7821 ·