File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public async Task<ActionResult<ScheduleDescription>> CreateSchedule([FromBody] C
6161
6262 this . logger . LogInformation ( "Created new schedule with ID: {ScheduleId}" , createScheduleRequest . Id ) ;
6363
64- return this . CreatedAtAction ( nameof ( GetScheduleAsync ) , new { id = createScheduleRequest . Id } , description ) ;
64+ return this . CreatedAtAction ( nameof ( GetSchedule ) , new { id = createScheduleRequest . Id } , description ) ;
6565 }
6666 catch ( ScheduleClientValidationException ex )
6767 {
@@ -81,7 +81,7 @@ public async Task<ActionResult<ScheduleDescription>> CreateSchedule([FromBody] C
8181 /// <param name="id">The ID of the schedule to retrieve.</param>
8282 /// <returns>The schedule description if found.</returns>
8383 [ HttpGet ( "{id}" ) ]
84- public async Task < ActionResult < ScheduleDescription > > GetScheduleAsync ( string id )
84+ public async Task < ActionResult < ScheduleDescription > > GetSchedule ( string id )
8585 {
8686 try
8787 {
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ Content-Type: application/json
1515}
1616
1717### Get a specific schedule by ID
18+ # Note: This endpoint can be used to verify the schedule was created
19+ # The ID in the URL should match the id used in create request
1820GET {{baseUrl }}/schedules/{{scheduleId}}
1921
2022### List all schedules
@@ -25,6 +27,7 @@ PUT {{baseUrl}}/schedules/{{scheduleId}}
2527Content-Type: application/json
2628
2729{
30+ "orchestrationName" : " CacheClearingOrchestrator" ,
2831 "interval" : " 00:00:20"
2932}
3033
You can’t perform that action at this time.
0 commit comments