Bc admissions create manage syllabus schedules

From breatheco-de/apiv2 · View interactive version

Bc admissions create manage syllabus schedules is an AI agent skill from the GitHub repository breatheco-de/apiv2. Use when staff need to create and manage syllabus schedule templates, schedule timeslots, and sync them into cohort timeslots; do NOT use for syllabus JSON/version authoring or macro override content workflows.

How to use this skill

Skill file

Skill: Create and Manage Syllabus Schedules

When to Use

Use this skill when the user needs to manage class schedule templates under admissions: create/update schedule records, configure schedule timeslots, assign a schedule to cohorts, and sync those template timeslots into cohort timeslots. Do NOT use this skill for syllabus JSON content/versioning (/syllabus/.../version) or for macro-cohort overrides.

Concepts

Workflow

  1. Set request context first.
  1. Create or locate a schedule template for the target academy.
  1. Configure schedule timeslots for that schedule.
  1. Attach the schedule to cohorts.
  1. Sync schedule timeslots into one or more cohorts.
  1. Verify the resulting cohort timeslots.

Endpoints

| Action | Method | Path | Headers | Body | Response |

|---|---|---|---|---|---|

| List public schedules | GET | /v1/admissions/schedule | Authorization, optional Accept-Language | Optional query filters (syllabus_id, syllabus_slug, academy_id, academy_slug) | Non-paginated array by default; supports pagination extension when pagination params are used |

| Get one public schedule | GET | /v1/admissions/schedule/<schedule_id>/ | Authorization, optional Accept-Language | — | 200 schedule object (id, name, description, syllabus) |

| List academy schedules | GET | /v1/admissions/academy/schedule | Authorization, Academy, optional Accept-Language | Optional query filters (syllabus_id, syllabus_slug, schedule_type) | Non-paginated array by default; paginated response when pagination params are used |

| Create academy schedule | POST | /v1/admissions/academy/schedule | Authorization, Academy, optional Accept-Language | academy, syllabus, name, description, optional schedule_type | 201 schedule object including created_at, updated_at |

| Get one academy schedule | GET | /v1/admissions/academy/schedule/<schedule_id> | Authorization, Academy, optional Accept-Language | — | 200 schedule object (id, name, description, syllabus) |

| Update academy schedule | PUT | /v1/admissions/academy/schedule/<schedule_id> | Authorization, Academy, optional Accept-Language | Partial fields (name, description, schedule_type, syllabus) | 200 updated schedule object |

| Delete one academy schedule | DELETE | /v1/admissions/academy/schedule/<schedule_id> | Authorization, Academy, optional Accept-Language | — | 204 |

| Bulk delete academy schedules | DELETE | /v1/admissions/academy/schedule?id=<id[,id2,...]> | Authorization, Academy, optional Accept-Language | Querystring must include at least one lookup (id) | 204 |

| List schedule timeslots | GET | /v1/admissions/academy/schedule/<schedule_id>/timeslot | Authorization, Academy, optional Accept-Language | Optional recurrency_type query | 200 list with ISO starting_at/ending_at |

| Get schedule timeslot | GET | /v1/admissions/academy/schedule/<schedule_id>/timeslot/<timeslot_id> | Authorization, Academy, optional Accept-Language | — | 200 timeslot object |

| Create schedule timeslot | POST | /v1/admissions/academy/schedule/<schedule_id>/timeslot | Authorization, Academy, optional Accept-Language | starting_at, ending_at (ISO), optional recurrent, recurrency_type | 201 timeslot write serializer object |

| Update schedule timeslot | PUT | /v1/admissions/academy/schedule/<schedule_id>/timeslot/<timeslot_id> | Authorization, Academy, optional Accept-Language | starting_at, ending_at (ISO), optional recurrent, recurrency_type | 200 timeslot write serializer object |

| Delete schedule timeslot | DELETE | /v1/admissions/academy/schedule/<schedule_id>/timeslot/<timeslot_id> | Authorization, Academy, optional Accept-Language | — | 204 |

| Sync timeslots to cohorts | POST | /v1/admissions/academy/cohort/sync/timeslot?cohort=<id[,id2,...]> | Authorization, Academy, optional Accept-Language | Empty body | 201 list of created cohort timeslots |

Create academy schedule request

{
  "academy": 1,
  "syllabus": 12,
  "name": "Full-Time Morning",
  "description": "Monday to Friday, 09:00 to 13:00",
  "schedule_type": "FULL-TIME"
}

Create academy schedule response (201)

{
  "id": 44,
  "academy": 1,
  "syllabus": 12,
  "name": "Full-Time Morning",
  "description": "Monday to Friday, 09:00 to 13:00",
  "schedule_type": "FULL-TIME",
  "created_at": "2026-04-01T12:00:00Z",
  "updated_at": "2026-04-01T12:00:00Z"
}

List academy schedules response (non-paginated default)

[
  {
    "id": 44,
    "name": "Full-Time Morning",
    "description": "Monday to Friday, 09:00 to 13:00",
    "syllabus": 12
  }
]

Create schedule timeslot request

{
  "starting_at": "2026-05-04T13:00:00Z",
  "ending_at": "2026-05-04T17:00:00Z",
  "recurrent": true,
  "recurrency_type": "WEEKLY"
}

Create schedule timeslot response (201)

{
  "id": 301,
  "schedule": 44,
  "recurrent": true,
  "recurrency_type": "WEEKLY",
  "timezone": "America/New_York"
}

List schedule timeslots response

[
  {
    "id": 301,
    "schedule": 44,
    "starting_at": "2026-05-04T13:00:00Z",
    "ending_at": "2026-05-04T17:00:00Z",
    "recurrent": true,
    "recurrency_type": "WEEKLY",
    "created_at": "2026-04-01T12:15:00Z",
    "updated_at": "2026-04-01T12:15:00Z"
  }
]

Sync schedule timeslots to cohorts request

{}

Sync schedule timeslots to cohorts response (201)

[
  {
    "id": 801,
    "cohort": 1001,
    "recurrent": true,
    "recurrency_type": "WEEKLY",
    "timezone": "America/New_York"
  }
]

Edge Cases

Checklist

  1. Confirm headers are set correctly (Authorization, Academy, optional Accept-Language).
  2. Create or select a valid schedule for the target academy + syllabus.
  3. Create at least one schedule timeslot and verify it appears in timeslot GET.
  4. Ensure target cohort(s) have schedule assigned.
  5. Run sync endpoint with cohort querystring ids.
  6. Verify sync response includes created cohort timeslots.
  7. Re-check cohort timeslots and confirm they match schedule timeslot recurrence/timezone.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.