oncall-engine/engine/apps/schedules/models
Matias Bordese 000372f24a
Add filter_shift_swaps endpoint to schedules API (#2684)
Example request/response

`GET
/api/internal/v1/schedules/SVV8E9JGLLR9T/filter_shift_swaps/?date=2023-07-22&days=9`

```
{
	"shift_swaps": [
		{
			"id": "SSR1QJ93UNCUPC4",
			"created_at": "2023-07-27T12:55:32.188232Z",
			"updated_at": "2023-07-28T13:28:08.027124Z",
			"status": "taken",
			"schedule": "SVV8E9JGLLR9T",
			"swap_start": "2023-07-24T21:00:00.000000Z",
			"swap_end": "2023-08-04T03:00:00.000000Z",
			"description": null,
			"beneficiary": "UWJWIN8MQ1GYL",
			"benefactor": "UVSKHRA4YU328"
		}
	]
}
```
2023-07-31 11:41:37 +00:00
..
__init__.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
custom_on_call_shift.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
on_call_schedule.py Add filter_shift_swaps endpoint to schedules API (#2684) 2023-07-31 11:41:37 +00:00
shift_swap_request.py Apply shift swap requests to schedule events (#2677) 2023-07-28 18:53:27 +00:00