Download OpenAPI specification:Download
Feedbacksystem API
User object to create
id | integer |
prename required | string |
surname required | string |
email required | string |
password required | string Only for creation |
username required | string |
alias | string |
globalRole | string Either, ADMIN, MODERATOR, or USER. Default is USER |
{- "id": 0,
- "prename": "string",
- "surname": "string",
- "email": "string",
- "password": "string",
- "username": "string",
- "alias": "string",
- "globalRole": "string"
}
Returns a single user
uid required | integer user id |
{- "id": 0,
- "prename": "string",
- "surname": "string",
- "email": "string",
- "password": "string",
- "username": "string",
- "alias": "string",
- "globalRole": "string"
}
uid required | integer user id |
The new password
passwd required | string |
passwdRepeat required | string |
{- "passwd": "string",
- "passwdRepeat": "string"
}
Course object to create
id | integer |
name required | string |
description | string |
visible | boolean |
semesterId | integer |
{- "id": 0,
- "name": "string",
- "description": "string",
- "visible": true,
- "semesterId": 0
}
[- {
- "id": 0,
- "name": "string",
- "description": "string",
- "visible": true,
- "semesterId": 0
}
]
cid required | integer course id |
Course object to update
id | integer |
name required | string |
description | string |
visible | boolean |
semesterId | integer |
{- "id": 0,
- "name": "string",
- "description": "string",
- "visible": true,
- "semesterId": 0
}
cid required | integer course id |
[- {
- "user": {
- "id": 0,
- "prename": "string",
- "surname": "string",
- "email": "string",
- "password": "string",
- "username": "string",
- "alias": "string",
- "globalRole": "string"
}, - "role": "string"
}
]
uid required | integer user id |
cid required | integer course id |
Course role: either DOCENT, TUTOR, or STUDENT. Default is STUDENT
roleName required | string |
{- "roleName": "string"
}
cid required | integer course id |
All users with the roleName role get deregistered from the course with uid
roleName required | string |
{- "roleName": "string"
}
cid required | integer |
name required | string |
membership required | integer |
visible required | boolean |
{- "name": "string",
- "membership": 0,
- "visible": true
}
{- "id": 0,
- "cid": 0,
- "name": "string",
- "membership": 0,
- "visible": true
}
cid required | integer |
gid required | integer |
name required | string |
membership required | integer |
visible required | boolean |
{- "name": "string",
- "membership": 0,
- "visible": true
}
cid required | integer Course ID |
gid required | integer Group ID |
[- {
- "id": 0,
- "prename": "string",
- "surname": "string",
- "email": "string",
- "password": "string",
- "username": "string",
- "alias": "string",
- "globalRole": "string"
}
]
[- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
]
cid required | integer course id |
Task object to create
id | integer |
name required | string |
isPrivate | boolean |
description | string |
deadline | string ISO-8601 time as string |
mediaType | string The media type for the submissions according to RFC 4288 |
SpreadsheetInformationRequest (object) or SpreadsheetInformationResponse (object) Media type spezific Information | |
requirementType | string Default: "mandatory" Enum: "mandatory" "optional" "practice" The type of requirment like "mandatory", "bonus/additional", etc. |
attempts | number or null |
{- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
{- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
cid required | integer course id |
tid required | integer task id |
{- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
cid required | integer course id |
tid required | integer task id |
Task object to create
id | integer |
name required | string |
isPrivate | boolean |
description | string |
deadline | string ISO-8601 time as string |
mediaType | string The media type for the submissions according to RFC 4288 |
SpreadsheetInformationRequest (object) or SpreadsheetInformationResponse (object) Media type spezific Information | |
requirementType | string Default: "mandatory" Enum: "mandatory" "optional" "practice" The type of requirment like "mandatory", "bonus/additional", etc. |
attempts | number or null |
{- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
cid required | integer course id |
taskIds required | Array of integers |
{- "taskIds": [
- 0
]
}
cid required | integer course id |
[- {
- "id": 0,
- "tasks": [
- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
], - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
]
cid required | integer course id |
id required | integer |
toPass | integer The number of tasks that need to be passed |
bonusFormula | string The formula that defines when you get the bonus points of the container |
hidePoints | boolean |
{- "id": 0,
- "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
{- "id": 0,
- "tasks": [
- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
], - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
cid required | integer course id |
ctid required | integer Container id |
{- "id": 0,
- "tasks": [
- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
], - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
cid required | integer course id |
ctid required | integer Container id |
id required | integer |
toPass | integer The number of tasks that need to be passed |
bonusFormula | string The formula that defines when you get the bonus points of the container |
hidePoints | boolean |
{- "id": 0,
- "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
{- "id": 0,
- "tasks": [
- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
], - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
cid required | integer course id |
ctid required | integer Container id |
{- "id": 0,
- "tasks": [
- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
], - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
cid required | integer course id |
ctid required | integer Container id |
tid required | integer Task id |
{- "id": 0,
- "tasks": [
- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
], - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
cid required | integer course id |
ctid required | integer Container id |
tid required | integer Task id |
{- "id": 0,
- "tasks": [
- {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}
], - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
cid required | integer course id |
[- {
- "user": {
- "id": 0,
- "prename": "string",
- "surname": "string",
- "email": "string",
- "password": "string",
- "username": "string",
- "alias": "string",
- "globalRole": "string"
}, - "passed": true,
- "results": {
- "task": {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}, - "attempts": 0,
- "passed": true
}
}
]
cid required | integer course id |
[- {
- "user": {
- "id": 0,
- "prename": "string",
- "surname": "string",
- "email": "string",
- "password": "string",
- "username": "string",
- "alias": "string",
- "globalRole": "string"
}, - "bonusPoints": 0,
- "passed": true,
- "results": [
- {
- "bonusPoints": 0,
- "passed": true,
- "passedTasks": 0,
- "container": {
- "id": 0,
- "tasks": {
- "0": {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}, - "task": {
- "id": 0,
- "name": "string",
- "isPrivate": true,
- "description": "string",
- "deadline": "string",
- "mediaType": "string",
- "mediaInformation": {
- "idField": "string",
- "inputFields": "string",
- "outputFields": "string",
- "pointFields": "string"
}, - "requirementType": "mandatory",
- "attempts": 0
}, - "attempts": 0,
- "passed": true
}, - "toPass": 0,
- "bonusFormula": "string",
- "hidePoints": true
}
}
]
}
]
cid required | integer course id |
tid required | integer task id |
id | integer |
checkerType required | string |
mainFileUploaded | boolean True if main file was provided |
secondaryFileUploaded | boolean True if secondary file was provided |
ord required | integer Defines in which order the checker are executed |
{- "id": 0,
- "checkerType": "string",
- "mainFileUploaded": true,
- "secondaryFileUploaded": true,
- "ord": 0
}
{- "id": 0,
- "checkerType": "string",
- "mainFileUploaded": true,
- "secondaryFileUploaded": true,
- "ord": 0
}
cid required | integer course id |
tid required | integer task id |
ccid required | integer ID of checker configuration |
id | integer |
checkerType required | string |
mainFileUploaded | boolean True if main file was provided |
secondaryFileUploaded | boolean True if secondary file was provided |
ord required | integer Defines in which order the checker are executed |
{- "id": 0,
- "checkerType": "string",
- "mainFileUploaded": true,
- "secondaryFileUploaded": true,
- "ord": 0
}
uid required | integer user id |
cid required | integer course id |
tid required | integer task id |
The solution for the task
{- "submissionTime": 0,
- "done": true,
- "id": 0,
- "results": [
- {
- "exitCode": 0,
- "resultText": "string",
- "checkerType": "string",
- "configurationId": 0,
- "extInfo": { }
}
]
}
uid required | integer user id |
cid required | integer course id |
tid required | integer task id |
sid required | integer ID of submission |
{- "submissionTime": 0,
- "done": true,
- "id": 0,
- "results": [
- {
- "exitCode": 0,
- "resultText": "string",
- "checkerType": "string",
- "configurationId": 0,
- "extInfo": { }
}
]
}
tid required | integer Task id |
return | string Enum: "tables" "attributes" what queries to return |
[- {
- "id": "string",
- "taskNumber": 0,
- "statement": "string",
- "queryRight": true,
- "parsable": true,
- "tablesRight": true,
- "attributesRight": true,
- "whereAttributesRight": true,
- "stringsRight": true,
- "userId": 0,
- "attempt": 0
}
]
tid required | integer Task id |
tables | boolean condition for tables |
attributes | boolean condition for attributes |
[- {
- "id": "string",
- "taskNumber": 0,
- "statement": "string",
- "queryRight": true,
- "parsable": true,
- "tablesRight": true,
- "attributesRight": true,
- "whereAttributesRight": true,
- "stringsRight": true,
- "userId": 0,
- "attempt": 0
}
]