Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Disciplines

Olexander edited this page Aug 30, 2023 · 6 revisions

Navigation

Endpoints


POST /v2/disciplines

Authorization

Bearer <JWT AccessToken>

Request options

{
  body: {
    groupId: string,
    subjectId: string,
    semester: number,
    year: number,
    isSelective?: boolean,
    evaluatingSystem?: string,
    resource?: string,
  },
}

Response body

{
  id: string,
  groupId: string,
  subjectId: string,
  semester: number,
  year: number,
  isSelective?: boolean,
  evaluatingSystem?: string,
  resource?: string,
}

Expected exceptions

400 InvalidBodyException: 'Group id can not be empty'
400 InvalidBodyException: 'Subject id can not be empty'

403 NoPermissionException 'You do not have permission to perform this action'

Clone this wiki locally