feature: ajouter ProgrammesGETResponse et data
This commit is contained in:
parent
f6ffa03379
commit
4d338f2b03
1 changed files with 9 additions and 0 deletions
|
@ -63,3 +63,12 @@ type ProgrammesPOSTResponse struct {
|
||||||
type ProgrammesPOSTResponseData struct {
|
type ProgrammesPOSTResponseData struct {
|
||||||
ProgrammesInserted int64 `json:"programmes_inserted"`
|
ProgrammesInserted int64 `json:"programmes_inserted"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ProgrammesGETResponse struct {
|
||||||
|
APIResponse
|
||||||
|
Data ProgrammesGETResponseData `json:"data"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type ProgrammesGETResponseData struct {
|
||||||
|
Programmes []Programme `json:"programmes"`
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue