Bug #22437
closedBug #22435: Directive compliance API version is 10 in place of 17
Missing API documentation for campaigns
Description
We have these endpoints to document for API v17 (yes; they are noted api v16, but we want to documents them only in v17 / Rudder 7.3)
GetCampaigns
val description = "Get all campaigns model"
val (action, path) = GET / "campaigns"
GetCampaignEvents
val description = "Get all campaigns events"
val (action, path) = GET / "campaigns" / "events"
GetCampaignEventDetails
val description = "Get all campaigns events"
val (action, path) = GET / "campaigns" / "events" / "{id}"
SaveCampaign
val description = "Save a campaign model"
val (action, path) = POST / "campaigns"
ScheduleCampaign
val description = "Save a campaign model"
val (action, path) = POST / "campaigns" / "{id}" / "schedule"
GetCampaignDetails
val description = "Get a campaign model"
val (action, path) = GET / "campaigns" / "{id}"
DeleteCampaign
val description = "Get a campaign model"
val (action, path) = DELETE / "campaigns" / "{id}"
GetCampaignEventsForModel
val description = "Get a campaign model"
val (action, path) = GET / "campaigns" / "{id}" / "events"
SaveCampaignEvent
val description = "Save a campaign event"
val (action, path) = POST / "campaigns" / "events" / "{id}"
DeleteCampaignEvent
val description = "Save a campaign event"
val (action, path) = DELETE / "campaigns" / "events" / "{id}"