Session Content

Upload (or replace) a session content file (MED-784 AC2, AC6, AC7, AC11)

Multipart upload (field name file) for one of the two slots. If an active row exists for the same (session, slot) pair, it is soft-deleted atomically with the new row's insert (AC6 replace flow), preserving AC7's one-file-per-slot invariant. The conversion job is queued asynchronously; clients should poll the GET endpoint to observe processing_state transitioning pending → processing → ready/failed (AC11).

post/cohorts/{cohortId}/sessions/{sessionId}/content/{slot}

Request

  • Base URL
    https://api.production.yourmedley.com
  • Auth
    none declared

Path parameters

cohortIdstring uuid required
sessionIdstring uuid required
slotSessionContentSlot required(unresolved $ref)

Request body multipart/form-data

filestring binary

Source file (PDF, DOCX, PPTX, etc. — see resourceUpload allowlist). Max 50 MB.

Response

File accepted; conversion queued.

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.