Skip to content

Commit

Permalink
Merge pull request #71 from adzerk/vinodkurup/sc-57995/create-product…
Browse files Browse the repository at this point in the history
…-ads-with-campaign-v2

Add Jobs to V2 Campaign
  • Loading branch information
vkurup authored May 21, 2024
2 parents c140117 + 5921bef commit b2462f8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
8 changes: 8 additions & 0 deletions management/schemas/flight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ schemas:
type: array
items:
$ref: './ad.yaml#/schemas/NestedAdInput'
Jobs:
type: array
items:
$ref: './job.yaml#/schemas/JobInput'

NestedFlightOutput:
type: object
Expand All @@ -357,3 +361,7 @@ schemas:
type: array
items:
$ref: './ad.yaml#/schemas/NestedAdOutput'
Jobs:
type: array
items:
$ref: './job.yaml#/schemas/JobOutput'
23 changes: 23 additions & 0 deletions management/schemas/job.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
schemas:

JobInput:
type: object
required:
- TaskId
properties:
TaskId:
type: string
maxLength: 100
TaskArgs:
type: object
PartitionId:
type: string

JobOutput:
type: object
required:
- Id
properties:
Id:
type: integer
format: int32

0 comments on commit b2462f8

Please sign in to comment.