feature: ajouter ProgrammesGETResponse et data

This commit is contained in:
Victor Lacasse-Beaudoin 2024-06-18 22:51:32 -04:00
parent f6ffa03379
commit 4d338f2b03

View file

@ -63,3 +63,12 @@ type ProgrammesPOSTResponse struct {
type ProgrammesPOSTResponseData struct {
ProgrammesInserted int64 `json:"programmes_inserted"`
}
type ProgrammesGETResponse struct {
APIResponse
Data ProgrammesGETResponseData `json:"data"`
}
type ProgrammesGETResponseData struct {
Programmes []Programme `json:"programmes"`
}