Documentation
¶
Index ¶
- type ReqEpisodeCollectionBatch
- type ResUserEpisodeCollection
- type User
- func (h User) Get(c *fiber.Ctx) error
- func (h User) GetAvatar(c *fiber.Ctx) error
- func (h User) GetCurrent(c *fiber.Ctx) error
- func (h User) GetEpisodeCollection(c *fiber.Ctx) error
- func (h User) GetSubjectCollection(c *fiber.Ctx) error
- func (h User) GetSubjectEpisodeCollection(c *fiber.Ctx) error
- func (h User) ListSubjectCollection(c *fiber.Ctx) error
- func (h User) PatchEpisodeCollectionBatch(c *fiber.Ctx) error
- func (h User) PatchSubjectCollection(c *fiber.Ctx) error
- func (h User) PutEpisodeCollection(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReqEpisodeCollectionBatch ¶
type ReqEpisodeCollectionBatch struct {
EpisodeID []model.EpisodeID `json:"episode_id"`
Type model.EpisodeCollection `json:"type"`
}
func (ReqEpisodeCollectionBatch) Validate ¶
func (r ReqEpisodeCollectionBatch) Validate() error
type ResUserEpisodeCollection ¶
type ResUserEpisodeCollection struct {
Episode res.Episode `json:"episode"`
Type model.EpisodeCollection `json:"type"`
}
type User ¶
func (User) GetSubjectEpisodeCollection ¶
GetSubjectEpisodeCollection return episodes with user's collection info.
func (User) PatchEpisodeCollectionBatch ¶
PatchEpisodeCollectionBatch
/v0/users/-/collections/:subject_id/episodes"
Click to show internal directories.
Click to hide internal directories.