diff --git a/app/V1Module/presenters/AsyncJobsPresenter.php b/app/V1Module/presenters/AsyncJobsPresenter.php
index d1f6372b2..103500c54 100644
--- a/app/V1Module/presenters/AsyncJobsPresenter.php
+++ b/app/V1Module/presenters/AsyncJobsPresenter.php
@@ -18,6 +18,7 @@
use App\Exceptions\ForbiddenRequestException;
use App\Exceptions\BadRequestException;
use Doctrine\Common\Collections\Criteria;
+use SortDirection;
use Exception;
use DateTime;
@@ -129,7 +130,7 @@ public function actionList(?int $ageThreshold, ?bool $includeScheduled)
Criteria::expr()->eq('scheduledAt', null)
)
);
- $criteria->orderBy(['createdAt' => 'ASC']);
+ $criteria->orderBy(['createdAt' => SortDirection::Ascending]);
$jobs = $this->asyncJobs->matching($criteria)->toArray();
$jobs = array_filter($jobs, function ($job) {
diff --git a/app/V1Module/presenters/EmailVerificationPresenter.php b/app/V1Module/presenters/EmailVerificationPresenter.php
index 032a56fe9..43420562a 100644
--- a/app/V1Module/presenters/EmailVerificationPresenter.php
+++ b/app/V1Module/presenters/EmailVerificationPresenter.php
@@ -2,7 +2,6 @@
namespace App\V1Module\Presenters;
-use App\Helpers\MetaFormats\Attributes\Post;
use App\Exceptions\ForbiddenRequestException;
use App\Helpers\EmailVerificationHelper;
use App\Security\Identity;
diff --git a/app/V1Module/presenters/ReferenceExerciseSolutionsPresenter.php b/app/V1Module/presenters/ReferenceExerciseSolutionsPresenter.php
index ef5d6c0e0..787a349ac 100644
--- a/app/V1Module/presenters/ReferenceExerciseSolutionsPresenter.php
+++ b/app/V1Module/presenters/ReferenceExerciseSolutionsPresenter.php
@@ -366,7 +366,7 @@ public function checkPreSubmit(string $exerciseId)
* @throws ExerciseConfigException
* @throws BadRequestException
*/
- #[Post("files", new VArray())]
+ #[Post("files", new VArray(new VUuid()), "Files of the reference solution", required: true)]
#[Path("exerciseId", new VUuid(), "identifier of exercise", required: true)]
public function actionPreSubmit(string $exerciseId)
{
@@ -420,7 +420,7 @@ public function checkSubmit(string $exerciseId)
* @throws BadRequestException
*/
#[Post("note", new VString(), "Description of this particular reference solution, for example used algorithm")]
- #[Post("files", new VMixed(), "Files of the reference solution", nullable: true)]
+ #[Post("files", new VArray(new VUuid()), "Files of the reference solution", required: true)]
#[Post("runtimeEnvironmentId", new VMixed(), "ID of runtime for this solution", nullable: true)]
#[Post("solutionParams", new VMixed(), "Solution parameters", required: false, nullable: true)]
#[Path("exerciseId", new VUuid(), "Identifier of the exercise", required: true)]
diff --git a/app/V1Module/presenters/UserCalendarsPresenter.php b/app/V1Module/presenters/UserCalendarsPresenter.php
index ac9d2aea3..ffab8be7c 100644
--- a/app/V1Module/presenters/UserCalendarsPresenter.php
+++ b/app/V1Module/presenters/UserCalendarsPresenter.php
@@ -2,7 +2,6 @@
namespace App\V1Module\Presenters;
-use App\Helpers\MetaFormats\Attributes\Post;
use App\Helpers\MetaFormats\Attributes\Path;
use App\Helpers\MetaFormats\Validators\VString;
use App\Helpers\MetaFormats\Validators\VUuid;
@@ -25,6 +24,7 @@
use Eluceo\iCal\Domain\Entity\Calendar;
use Eluceo\iCal\Presentation\Factory\CalendarFactory;
use Eluceo\iCal\Domain\ValueObject;
+use SortDirection;
/**
* User iCal management endpoints
@@ -187,7 +187,7 @@ public function checkUserCalendars(string $id)
public function actionUserCalendars(string $id)
{
$user = $this->users->findOrThrow($id);
- $calendars = $this->userCalendars->findBy(['user' => $user], ['createdAt' => 'DESC']);
+ $calendars = $this->userCalendars->findBy(['user' => $user], ['createdAt' => SortDirection::Descending]);
$this->sendSuccessResponse($calendars);
}
diff --git a/app/V1Module/security/PolicyRegistry.php b/app/V1Module/security/PolicyRegistry.php
index e507baab5..064f1c5d7 100644
--- a/app/V1Module/security/PolicyRegistry.php
+++ b/app/V1Module/security/PolicyRegistry.php
@@ -40,7 +40,7 @@ private function findPolicyOrThrow($subject, $policyName): IPermissionPolicy
{
if ($subject !== null) {
foreach ($this->policies as $policy) {
- // se need this search due to entity inheritance (TODO: find a better way in the future)
+ // we need this search due to entity inheritance (TODO: find a better way in the future)
$associatedClass = $policy->getAssociatedClass();
if ($subject instanceof $associatedClass && method_exists($policy, $policyName)) {
return $policy;
diff --git a/app/commands/ExportDatabase.php b/app/commands/ExportDatabase.php
index c22347f26..73be5b6ce 100644
--- a/app/commands/ExportDatabase.php
+++ b/app/commands/ExportDatabase.php
@@ -15,6 +15,7 @@
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
+use SortDirection;
/**
* Export data from database into Doctrine Fixtures. Exported data are stored in
@@ -126,7 +127,7 @@ private function exportHardwareGroups(string $fixtureDir)
$content[self::PARAMETERS_KEY] = [];
$content[HardwareGroup::class] = [];
- foreach ($this->hardwareGroups->findBy([], ["id" => "ASC"]) as $group) {
+ foreach ($this->hardwareGroups->findBy([], ['id' => SortDirection::Ascending]) as $group) {
/** @var HardwareGroup $group */
$constructArr = [];
@@ -156,7 +157,7 @@ private function exportRuntimes($fixtureDir)
$content[self::PARAMETERS_KEY] = [];
$content[RuntimeEnvironment::class] = [];
- foreach ($this->runtimeEnvironments->findBy([], ["id" => "ASC"]) as $runtime) {
+ foreach ($this->runtimeEnvironments->findBy([], ['id' => SortDirection::Ascending]) as $runtime) {
/** @var RuntimeEnvironment $runtime */
$constructArr = [];
@@ -199,7 +200,7 @@ private function exportPipelines($fixtureDir)
$pipelines = [];
$index = 0;
- foreach ($this->pipelines->findBy(["author" => null], ["name" => "ASC"]) as $pipeline) {
+ foreach ($this->pipelines->findBy(['author' => null], ['name' => SortDirection::Ascending]) as $pipeline) {
/** @var Pipeline $pipeline */
$index++;
diff --git a/app/commands/SwaggerAnnotator.php b/app/commands/SwaggerAnnotator.php
index 45e551f3f..cc026e171 100644
--- a/app/commands/SwaggerAnnotator.php
+++ b/app/commands/SwaggerAnnotator.php
@@ -22,13 +22,13 @@
)]
class SwaggerAnnotator extends Command
{
- private static $autogeneratedAnnotationFilePath = 'app/V1Module/presenters/_autogenerated_annotations_temp.php';
+ private static string $annotationsFile = __DIR__ . '/../V1Module/presenters/_autogenerated_annotations_temp.php';
protected function execute(InputInterface $input, OutputInterface $output): int
{
try {
// create a temporary file containing transpiled annotations usable by the external library (Swagger-PHP)
- $fileBuilder = new TempAnnotationFileBuilder(self::$autogeneratedAnnotationFilePath);
+ $fileBuilder = new TempAnnotationFileBuilder(self::$annotationsFile);
$fileBuilder->startClass('__Autogenerated_Annotation_Controller__', '1.0', 'ReCodEx API');
// get all routes of the api
diff --git a/app/commands/SwaggerGenerator.php b/app/commands/SwaggerGenerator.php
index 403c8804e..115549d9c 100644
--- a/app/commands/SwaggerGenerator.php
+++ b/app/commands/SwaggerGenerator.php
@@ -6,7 +6,7 @@
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
-use OpenApi\Generator;
+use OpenApi\Builder;
/**
* Command that consumes a temporary file containing endpoint annotations and generates a swagger documentation.
@@ -18,23 +18,23 @@
)]
class SwaggerGenerator extends Command
{
+ private static string $annotationsFile = __DIR__ . '/../V1Module/presenters/_autogenerated_annotations_temp.php';
+
protected function execute(InputInterface $input, OutputInterface $output): int
{
- $path = __DIR__ . '/../V1Module/presenters/_autogenerated_annotations_temp.php';
-
// check if file exists
- if (!file_exists($path)) {
+ if (!file_exists(self::$annotationsFile)) {
$output->writeln("Error in SwaggerGenerator: Temp annotation file not found.");
return Command::FAILURE;
}
- $generator = new Generator();
- $openapi = $generator->generate([$path]);
-
- $output->writeln($openapi->toYaml());
+ $builder = new Builder();
+ $builder->addSource(self::$annotationsFile);
+ $result = $builder->build();
+ $output->writeln($result->toYaml());
// delete the temp file
- unlink($path);
+ unlink(self::$annotationsFile);
return Command::SUCCESS;
}
diff --git a/app/config/config.neon b/app/config/config.neon
index 2b7d4a033..7838b20ba 100644
--- a/app/config/config.neon
+++ b/app/config/config.neon
@@ -255,7 +255,7 @@ acl:
asyncJob: App\Security\ACL\IAsyncJobPermissions
plagiarism: App\Security\ACL\IPlagiarismPermissions
policies:
- _: App\Security\Policies\GenericPermissionPolicy
+ GENERIC: App\Security\Policies\GenericPermissionPolicy
group: App\Security\Policies\GroupPermissionPolicy
instance: App\Security\Policies\InstancePermissionPolicy
user: App\Security\Policies\UserPermissionPolicy
diff --git a/app/helpers/Emails/EmailHelper/email_cs.latte b/app/helpers/Emails/EmailHelper/email_cs.latte
index d0eefa35d..6a1288649 100644
--- a/app/helpers/Emails/EmailHelper/email_cs.latte
+++ b/app/helpers/Emails/EmailHelper/email_cs.latte
@@ -1,76 +1,60 @@
-
- {$subject}
-
+
+{$subject}
+
-
-
-
-
-
-
-
-
- {$subject}
- |
-
-
- |
-
-
- |
-
- {$message|noescape}
-
- {if $showSettingsInfo}
-
-
- Pokud nechcete dostávat tento typ oznámení, upravte prosím svoje nastavení uživatelského
- účtu.
-
- {/if}
- |
-
-
- |
-
- Programujte zodpovědně, ReCodEx Team
- {$footerUrl}
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
+
+
+
+{$message|noescape}
+
+
diff --git a/app/helpers/Emails/EmailHelper/email_en.latte b/app/helpers/Emails/EmailHelper/email_en.latte
index 01b8fe82e..ffa407458 100644
--- a/app/helpers/Emails/EmailHelper/email_en.latte
+++ b/app/helpers/Emails/EmailHelper/email_en.latte
@@ -1,76 +1,60 @@
-
- {$subject}
-
+
+{$subject}
+
-
-
-
-
-
-
-
-
- {$subject}
- |
-
-
- |
-
-
- |
-
- {$message|noescape}
-
- {if $showSettingsInfo}
-
-
- If you do not wish to receive this type of notification, please update your user
- settings accordingly.
-
- {/if}
- |
-
-
- |
-
- Happy coding, ReCodEx Team
- {$footerUrl}
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
+
+
+
+{$message|noescape}
+
+
diff --git a/app/helpers/Emails/EmailVerificationHelper/verificationEmail_cs.latte b/app/helpers/Emails/EmailVerificationHelper/verificationEmail_cs.latte
index f610a60f4..593ece2ca 100644
--- a/app/helpers/Emails/EmailVerificationHelper/verificationEmail_cs.latte
+++ b/app/helpers/Emails/EmailVerificationHelper/verificationEmail_cs.latte
@@ -10,7 +10,7 @@
ReCodEx by rád ověřil vaší emailovou adresu.
Ověření adresy je nezbytné pro korektní zajištění fungování všech služeb ReCodExu.
- Platnost adresy můžete potvrdit kliknutím na následující odkaz: {$link}.
+ Platnost adresy můžete potvrdit kliknutím na tento odkaz.
Tento odkaz bude platný do {$expiresAfter}.
Nový odkaz vám může být zaslán, pokud znovu požádáte o validaci emailu v aplikaci ReCodEx.
diff --git a/app/helpers/Emails/EmailVerificationHelper/verificationEmail_en.latte b/app/helpers/Emails/EmailVerificationHelper/verificationEmail_en.latte
index dd9f2e650..87ba5c580 100644
--- a/app/helpers/Emails/EmailVerificationHelper/verificationEmail_en.latte
+++ b/app/helpers/Emails/EmailVerificationHelper/verificationEmail_en.latte
@@ -10,7 +10,7 @@
ReCodEx would like to verify your email address.
Email verification is necessary to ensure correct functionality of all ReCodEx services.
- You may confirm the validity of your email by following this link: {$link}.
+ You may confirm the validity of your email by following this link.
The link will be active until {$expiresAfter}.
A new link can be sent to you if you request the email validation in ReCodEx again.
diff --git a/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_cs.latte b/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_cs.latte
index 514cc1d97..5005d8918 100644
--- a/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_cs.latte
+++ b/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_cs.latte
@@ -1,7 +1,7 @@
{emailSubject}Žádost o obnovu hesla - {$username}{/emailSubject}
Uživatel {$username} zažádal o obnovu hesla
- Své heslo můžete změnit na následující stránce: {$link}.
+ Své heslo můžete změnit na této stránce.
Tento odkaz Vám umožní změnit si heslo do {$expiresAfter}. Po této lhůtě přestane odkaz platit a budete si muset vyžádat nový.
diff --git a/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_en.latte b/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_en.latte
index ce462eaf2..65a10818d 100644
--- a/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_en.latte
+++ b/app/helpers/Emails/ForgottenPasswordHelper/resetPasswordEmail_en.latte
@@ -1,7 +1,7 @@
{emailSubject}Password Recovery Request - {$username}{/emailSubject}
User {$username} has requested a password reset
- You can reset your password by following this link: {$link}.
+ You can reset your password by following this link.
This link will allow you to change your password until {$expiresAfter}. After that, you will have to request a new link in the web application.
diff --git a/app/helpers/Emails/InvitationHelper/invitationEmail_cs.latte b/app/helpers/Emails/InvitationHelper/invitationEmail_cs.latte
index b0ab0997e..0d6551175 100644
--- a/app/helpers/Emails/InvitationHelper/invitationEmail_cs.latte
+++ b/app/helpers/Emails/InvitationHelper/invitationEmail_cs.latte
@@ -1,7 +1,8 @@
{emailSubject}Uživatel {$host} vás zve do ReCodExu!{/emailSubject}
Pozvánka do ReCodExu
- Byla vám vystavena pozvánka do ReCodExu na jméno {$username} s jejíž pomocí se můžete zaregistrovat: {$link}
+ Byla vám vystavena pozvánka do ReCodExu na jméno {$username}.
+ Pro dokončení registrace klikněte na tento odkaz.
diff --git a/app/helpers/Emails/InvitationHelper/invitationEmail_en.latte b/app/helpers/Emails/InvitationHelper/invitationEmail_en.latte
index ecce53585..016a90784 100644
--- a/app/helpers/Emails/InvitationHelper/invitationEmail_en.latte
+++ b/app/helpers/Emails/InvitationHelper/invitationEmail_en.latte
@@ -1,7 +1,8 @@
{emailSubject}User {$host} has invited you in ReCodEx!{/emailSubject}
ReCodEx Invitation
- You have been given an invitation to ReCodEx issued at name {$username}. The following link will allow you to proceed with registration: {$link}
+ You have been given an invitation to ReCodEx issued at name {$username}.
+ This link will allow you to proceed with registration.
diff --git a/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_cs.latte b/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_cs.latte
index e23307039..e52c3da06 100644
--- a/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_cs.latte
+++ b/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_cs.latte
@@ -3,5 +3,5 @@
Počet bodů přidělených za stínovou úlohu '{$assignment}' ve skupině '{$group}'
byl změněn. Nyní máte {$points} bodů{if $maxPoints} z {$maxPoints}{/if}.
- Stínovou úlohu je možné najít na adrese: {$link}.
+ Stínovou úlohu je možné navštívit kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_en.latte b/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_en.latte
index 5bce3a38a..313cbd342 100644
--- a/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_en.latte
+++ b/app/helpers/Emails/Notifications/AssignmentPoints/shadowPointsUpdated_en.latte
@@ -4,5 +4,5 @@
The number of points awarded for the shadow assignment '{$assignment}'
in the group '{$group}' has been modified.
At present, you have {$points} points{if $maxPoints} out of {$maxPoints}{/if}.
- The shadow assignment can be found at: {$link}.
+ The shadow assignment can be found at this link.
diff --git a/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_cs.latte b/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_cs.latte
index ec8ce8e65..105087eab 100644
--- a/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_cs.latte
+++ b/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_cs.latte
@@ -2,7 +2,6 @@
Změna hodnocení úlohy '{$assignment}'
Vaše bodové hodnocení úlohy '{$assignment}' ve skupině '{$group}' bylo změněno.
- Nyní máte {$points} bodů z {$maxPoints}{if $hasBonusPoints} a k tomu
- {$bonusPoints} bonusových bodů{/if}.
- Úlohu je možné najít na adrese: {$link}.
+ Nyní máte {$points} bodů z {$maxPoints}{if $hasBonusPoints} a k tomu {$bonusPoints} bonusových bodů{/if}.
+ Úlohu je možné navštívit kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_en.latte b/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_en.latte
index b0fb93ebb..8ca7dc202 100644
--- a/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_en.latte
+++ b/app/helpers/Emails/Notifications/AssignmentPoints/solutionPointsUpdated_en.latte
@@ -3,7 +3,6 @@
The number of points awarded for the assignment '{$assignment}'
in the group '{$group}' has been modified.
- At present, you have {$points} out of {$maxPoints}{if $hasBonusPoints} and
- {$bonusPoints} bonus points{/if}.
- The assignment can be found at: {$link}.
+ At present, you have {$points} out of {$maxPoints}{if $hasBonusPoints} and {$bonusPoints} bonus points{/if}.
+ The assignment can be found at this link.
diff --git a/app/helpers/Emails/Notifications/Assignments/AssignmentEmailsSender.php b/app/helpers/Emails/Notifications/Assignments/AssignmentEmailsSender.php
index 9e7d92bfe..8f5cf3b42 100644
--- a/app/helpers/Emails/Notifications/Assignments/AssignmentEmailsSender.php
+++ b/app/helpers/Emails/Notifications/Assignments/AssignmentEmailsSender.php
@@ -10,7 +10,6 @@
use App\Helpers\WebappLinks;
use App\Model\Entity\Assignment;
use App\Model\Entity\AssignmentBase;
-use App\Model\Entity\AssignmentSolution;
use App\Model\Entity\ShadowAssignment;
use App\Model\Entity\User;
use App\Model\Repository\AssignmentSolutions;
diff --git a/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_cs.latte b/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_cs.latte
index e67ce1036..60187dece 100644
--- a/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_cs.latte
+++ b/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_cs.latte
@@ -6,5 +6,5 @@
{$secondDeadline|localizedDate:'cs'}{/if}.
Rádi bychom vás upozornili, že termín odevzdání se blíží, avšak váš seznam odevzdaných řešení
k této úloze dosud zeje prázdnotou.
- Detail se zadáním úlohy se nachází na následující adrese: {$link}.
+ Detail se zadáním úlohy naleznete kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_en.latte b/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_en.latte
index 6112358fd..f0c9b957b 100644
--- a/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_en.latte
+++ b/app/helpers/Emails/Notifications/Assignments/assignmentDeadline_en.latte
@@ -6,5 +6,5 @@
{$secondDeadline|localizedDate:'en'}{/if}.
We would like to remind you that the deadline is approaching whilst your list
of assignment solutions is still empty.
- The assignment can be found here: {$link}.
+ The assignment details can be found here.
diff --git a/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_cs.latte b/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_cs.latte
index 4251e7434..23a01a229 100644
--- a/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_cs.latte
+++ b/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_cs.latte
@@ -5,5 +5,5 @@
Termín odevzdání je {$firstDeadline|localizedDate:'cs'}
{if $allowSecondDeadline} (druhý termín je {$secondDeadline|localizedDate:'en'}){/if}
a na odevzdání máte {$attempts} pokusů. Maximální počet bodů je {$points}.
- Úlohu je možné najít na adrese: {$link}.
+ Úlohu je možné navštívit kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_en.latte b/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_en.latte
index af0e0069a..1a9427dc9 100644
--- a/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_en.latte
+++ b/app/helpers/Emails/Notifications/Assignments/newAssignmentEmail_en.latte
@@ -6,5 +6,5 @@
{if $allowSecondDeadline} (second deadline is {$secondDeadline|localizedDate:'en'}){/if}
and you have {$attempts} attempts for submission.
You can acquire a maximum of {$points} points.
- The assignment can be found at: {$link}.
+ The assignment can be found at this link.
diff --git a/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_cs.latte b/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_cs.latte
index 8f048f7ad..b2a2401a8 100644
--- a/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_cs.latte
+++ b/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_cs.latte
@@ -4,5 +4,5 @@
Ve vaší skupině '{$group}' byla zadána nová stínová úloha '{$name}'{if $maxPoints}, ze
které můžete získat maximálně {$maxPoints} bodů{/if}.
Stínové úlohy slouží pouze k registraci bodů za aktivity, které jsou řešeny mimo ReCodEx.
- Úlohu je možné najít na adrese: {$link}.
+ Úlohu je možné navštívit kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_en.latte b/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_en.latte
index e4b16ed53..42a9c33f1 100644
--- a/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_en.latte
+++ b/app/helpers/Emails/Notifications/Assignments/newShadowAssignmentEmail_en.latte
@@ -3,6 +3,6 @@
A new shadow assignment '{$name}' has been created in your group '{$group}'.
{if $maxPoints}You can acquire a maximum of {$maxPoints} points.{/if}
- Shadow assignments are designed only to register points for external activites outside ReCodEx.
- The assignment can be found here: {$link}.
+ Shadow assignments are designed only to register points for external activities outside ReCodEx.
+ The assignment can be found at this link.
diff --git a/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_cs.latte b/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_cs.latte
index 9385985b7..605b6f47e 100644
--- a/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_cs.latte
+++ b/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_cs.latte
@@ -3,5 +3,5 @@
Stínová úloha '{$assignment}' zadaná ve skupině '{$group}' má termín odevzdání
nastaven na {$deadline|localizedDate:'cs'}.
- Detail se zadáním úlohy se nachází na následující adrese: {$link}.
+ Detail se zadáním úlohy naleznete kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_en.latte b/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_en.latte
index 0e8d6a7a7..3184b2bbe 100644
--- a/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_en.latte
+++ b/app/helpers/Emails/Notifications/Assignments/shadowAssignmentDeadline_en.latte
@@ -3,5 +3,5 @@
Your shadow assignment '{$assignment}' in the group '{$group}' has its deadline on
{$deadline|localizedDate:'en'}.
- The shadow assignment can be found here: {$link}.
+ The shadow assignment details can be found here.
diff --git a/app/helpers/Emails/Notifications/AsyncJobs/asyncJobsStuck.latte b/app/helpers/Emails/Notifications/AsyncJobs/asyncJobsStuck.latte
index 9313c5815..ef0b2cc94 100644
--- a/app/helpers/Emails/Notifications/AsyncJobs/asyncJobsStuck.latte
+++ b/app/helpers/Emails/Notifications/AsyncJobs/asyncJobsStuck.latte
@@ -1,6 +1,6 @@
{emailSubject}Async Jobs Stuck{/emailSubject}
- Some async jobs may be stalled! Verify the asynchronous worker (the recodex-core) service is running. It is also possible the worker is overwhellmed and does not process jobs fast enough.
+ Some async jobs may be stalled! Verify the asynchronous worker (the recodex-core) service is running. It is also possible the worker is overwhelmed and does not process jobs fast enough.
diff --git a/app/helpers/Emails/Notifications/Comments/assignmentComment_cs.latte b/app/helpers/Emails/Notifications/Comments/assignmentComment_cs.latte
index 830db9060..38456ed59 100644
--- a/app/helpers/Emails/Notifications/Comments/assignmentComment_cs.latte
+++ b/app/helpers/Emails/Notifications/Comments/assignmentComment_cs.latte
@@ -4,5 +4,5 @@
Komentář byl přidán uživatelem '{$author}' {$date|localizedDate:'cs'}
k zadané úloze '{$assignment}' ve skupině '{$group}'.
- Komentář je možné najít na stránce zadané úlohy: {$link}.
+ Komentář je možné najít na stránce zadané úlohy.
diff --git a/app/helpers/Emails/Notifications/Comments/assignmentComment_en.latte b/app/helpers/Emails/Notifications/Comments/assignmentComment_en.latte
index 4c9366c30..36237b7d4 100644
--- a/app/helpers/Emails/Notifications/Comments/assignmentComment_en.latte
+++ b/app/helpers/Emails/Notifications/Comments/assignmentComment_en.latte
@@ -4,5 +4,5 @@
A comment was added by '{$author}' on {$date|localizedDate:'en'}
to the assignment '{$assignment}' in group '{$group}'.
- The comment can be found on the assignment details page: {$link}.
+ The comment can be found on the assignment details page.
diff --git a/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_cs.latte b/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_cs.latte
index b3717e66b..7145067a3 100644
--- a/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_cs.latte
+++ b/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_cs.latte
@@ -5,5 +5,5 @@
Komentář byl přidán uživatelem '{$author}' {$date|localizedDate:'cs'}
ke studentskému řešení úlohy '{$assignment}', která
byla odevzdaná uživatelem '{$solutionAuthor}'.
- Komentář je možné najít na stránce detailu odevzdaného řešení: {$link}.
+ Komentář je možné najít na stránce detailu odevzdaného řešení.
diff --git a/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_en.latte b/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_en.latte
index d64440b98..17541f450 100644
--- a/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_en.latte
+++ b/app/helpers/Emails/Notifications/Comments/assignmentSolutionComment_en.latte
@@ -4,5 +4,5 @@
A comment was added by '{$author}' on {$date|localizedDate:'en'}
to the solution of assignment '{$assignment}' submitted by '{$solutionAuthor}'.
- The comment can be found on the solution details page: {$link}.
+ The comment can be found on the solution details page.
diff --git a/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_cs.latte b/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_cs.latte
index cb307c38f..385b1447b 100644
--- a/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_cs.latte
+++ b/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_cs.latte
@@ -5,5 +5,5 @@
Komentář byl přidán uživatelem '{$author}' {$date|localizedDate:'cs'}
k referenčnímu řešení úlohy '{$exercise}', které
bylo odevzdano uživatelem '{$solutionAuthor}'.
- Komentář je možné najít na stránce detailu referenčního řešení: {$link}.
+ Komentář je možné najít na stránce detailu referenčního řešení.
diff --git a/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_en.latte b/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_en.latte
index 986adb653..b2115ee29 100644
--- a/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_en.latte
+++ b/app/helpers/Emails/Notifications/Comments/referenceSolutionComment_en.latte
@@ -4,5 +4,5 @@
A comment was added by '{$author}' on {$date|localizedDate:'en'}
to the reference solution of exercise '{$exercise}' submitted by '{$solutionAuthor}'.
- The comment can be found on the reference solution details page: {$link}.
+ The comment can be found on the reference solution details page.
diff --git a/app/helpers/Emails/Notifications/Exercises/exerciseNotification_cs.latte b/app/helpers/Emails/Notifications/Exercises/exerciseNotification_cs.latte
index 6d080798a..1d477a721 100644
--- a/app/helpers/Emails/Notifications/Exercises/exerciseNotification_cs.latte
+++ b/app/helpers/Emails/Notifications/Exercises/exerciseNotification_cs.latte
@@ -14,5 +14,5 @@
{/if}
- Detail ůlohy má adresu {$link}.
+ Úlohu můžete navštívit kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Exercises/exerciseNotification_en.latte b/app/helpers/Emails/Notifications/Exercises/exerciseNotification_en.latte
index 2df76a19d..22529f591 100644
--- a/app/helpers/Emails/Notifications/Exercises/exerciseNotification_en.latte
+++ b/app/helpers/Emails/Notifications/Exercises/exerciseNotification_en.latte
@@ -14,5 +14,5 @@
{/if}
- The exercise link is {$link}.
+ You can visit the exercise by clicking this link.
diff --git a/app/helpers/Emails/Notifications/Reviews/commentNew_cs.latte b/app/helpers/Emails/Notifications/Reviews/commentNew_cs.latte
index e3f8fbfc8..437385cb5 100644
--- a/app/helpers/Emails/Notifications/Reviews/commentNew_cs.latte
+++ b/app/helpers/Emails/Notifications/Reviews/commentNew_cs.latte
@@ -16,5 +16,5 @@
- Kompletní revizi kódu naleznete zde: {$codeUrl}
+ Kompletní revizi kódu naleznete zde.
diff --git a/app/helpers/Emails/Notifications/Reviews/commentNew_en.latte b/app/helpers/Emails/Notifications/Reviews/commentNew_en.latte
index a188d167c..7e2dbc77a 100644
--- a/app/helpers/Emails/Notifications/Reviews/commentNew_en.latte
+++ b/app/helpers/Emails/Notifications/Reviews/commentNew_en.latte
@@ -16,5 +16,5 @@
- The complete review is available at: {$codeUrl}
+ The complete code review is available here.
diff --git a/app/helpers/Emails/Notifications/Reviews/commentRemoved_cs.latte b/app/helpers/Emails/Notifications/Reviews/commentRemoved_cs.latte
index 7908d5b88..40eee0a6e 100644
--- a/app/helpers/Emails/Notifications/Reviews/commentRemoved_cs.latte
+++ b/app/helpers/Emails/Notifications/Reviews/commentRemoved_cs.latte
@@ -16,5 +16,5 @@
- Kompletní revizi kódu naleznete zde: {$codeUrl}
+ Kompletní revizi kódu naleznete zde.
diff --git a/app/helpers/Emails/Notifications/Reviews/commentRemoved_en.latte b/app/helpers/Emails/Notifications/Reviews/commentRemoved_en.latte
index 1265a855a..5a160019f 100644
--- a/app/helpers/Emails/Notifications/Reviews/commentRemoved_en.latte
+++ b/app/helpers/Emails/Notifications/Reviews/commentRemoved_en.latte
@@ -16,5 +16,5 @@
- The complete review is available at: {$codeUrl}
+ The complete code review is available here.
diff --git a/app/helpers/Emails/Notifications/Reviews/commentUpdated_cs.latte b/app/helpers/Emails/Notifications/Reviews/commentUpdated_cs.latte
index ecd461535..25e7a9e2a 100644
--- a/app/helpers/Emails/Notifications/Reviews/commentUpdated_cs.latte
+++ b/app/helpers/Emails/Notifications/Reviews/commentUpdated_cs.latte
@@ -29,5 +29,5 @@
- Kompletní revizi kódu naleznete zde: {$codeUrl}
+ Kompletní revizi kódu naleznete zde.
diff --git a/app/helpers/Emails/Notifications/Reviews/commentUpdated_en.latte b/app/helpers/Emails/Notifications/Reviews/commentUpdated_en.latte
index 21f7e736f..170849813 100644
--- a/app/helpers/Emails/Notifications/Reviews/commentUpdated_en.latte
+++ b/app/helpers/Emails/Notifications/Reviews/commentUpdated_en.latte
@@ -29,5 +29,5 @@
- The complete review is available at: {$codeUrl}
+ The complete code review is available here.
diff --git a/app/helpers/Emails/Notifications/Reviews/reviewClosed_cs.latte b/app/helpers/Emails/Notifications/Reviews/reviewClosed_cs.latte
index 7c90d6e21..18dd3e801 100644
--- a/app/helpers/Emails/Notifications/Reviews/reviewClosed_cs.latte
+++ b/app/helpers/Emails/Notifications/Reviews/reviewClosed_cs.latte
@@ -13,8 +13,8 @@
{else}
- Máte celkem {count($issues)} připomínek k vyřešení a {count($comments)} komentářů:
- {$codeUrl}
+ Máte celkem {count($issues)} připomínek k vyřešení a {count($comments)} komentářů.
+ Více informací naleznete na stránce s revizí.
{/if}
diff --git a/app/helpers/Emails/Notifications/Reviews/reviewClosed_en.latte b/app/helpers/Emails/Notifications/Reviews/reviewClosed_en.latte
index 054d8d5f3..0df5ff2e9 100644
--- a/app/helpers/Emails/Notifications/Reviews/reviewClosed_en.latte
+++ b/app/helpers/Emails/Notifications/Reviews/reviewClosed_en.latte
@@ -14,8 +14,8 @@
{else}
There are {count($issues) ? count($issues) : 'no'} issues to be resolved
- and {count($comments) ? count($comments) : 'no'} comments in the review:
- {$codeUrl}
+ and {count($comments) ? count($comments) : 'no'} comments in the review.
+ More information is available on the review page.
{/if}
diff --git a/app/helpers/Emails/Notifications/Reviews/reviewRemoved_cs.latte b/app/helpers/Emails/Notifications/Reviews/reviewRemoved_cs.latte
index fcab2c7fd..d19612248 100644
--- a/app/helpers/Emails/Notifications/Reviews/reviewRemoved_cs.latte
+++ b/app/helpers/Emails/Notifications/Reviews/reviewRemoved_cs.latte
@@ -10,5 +10,5 @@
- Detail vašeho řešení je přístupný přes následující odkaz: {$detailUrl}
+ Detail vašeho řešení je přístupný přes tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Reviews/reviewRemoved_en.latte b/app/helpers/Emails/Notifications/Reviews/reviewRemoved_en.latte
index f1e19af25..20130b220 100644
--- a/app/helpers/Emails/Notifications/Reviews/reviewRemoved_en.latte
+++ b/app/helpers/Emails/Notifications/Reviews/reviewRemoved_en.latte
@@ -10,5 +10,5 @@
- The solution detail can be accessed via this link: {$detailUrl}
+ Detail of your solution is available via this link.
diff --git a/app/helpers/Emails/Notifications/Reviews/reviewReopened_cs.latte b/app/helpers/Emails/Notifications/Reviews/reviewReopened_cs.latte
index 3fc6d93aa..a31b0e599 100644
--- a/app/helpers/Emails/Notifications/Reviews/reviewReopened_cs.latte
+++ b/app/helpers/Emails/Notifications/Reviews/reviewReopened_cs.latte
@@ -10,5 +10,5 @@
- Detail vašeho řešení je přístupný přes následující odkaz: {$detailUrl}
+ Detail vašeho řešení je přístupný přes tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Reviews/reviewReopened_en.latte b/app/helpers/Emails/Notifications/Reviews/reviewReopened_en.latte
index 5be7c7fbc..eb697b4be 100644
--- a/app/helpers/Emails/Notifications/Reviews/reviewReopened_en.latte
+++ b/app/helpers/Emails/Notifications/Reviews/reviewReopened_en.latte
@@ -1,6 +1,6 @@
{emailSubject}Solution reviewed reopened{/emailSubject}
-A solution revirew was re-opened!
+A solution review was re-opened!
A review of solution #{$attempt} (submitted at {$submitted|localizedDate:'en'})
@@ -10,5 +10,5 @@
- The solution detail can be accessed via this link: {$detailUrl}
+ Detail of your solution is available via this link.
diff --git a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_cs.latte b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_cs.latte
index 3217c379d..c9a6889fe 100644
--- a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_cs.latte
+++ b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_cs.latte
@@ -14,5 +14,5 @@
Nyní máte za zmíněnou úlohu přiděleno {$points} bodů{if $maxPoints} z {$maxPoints}{/if}.
- Detail řešení je možné najít na adrese: {$link}.
+ Detail řešení je možné navštívit kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_en.latte b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_en.latte
index adc8838d6..e67b9cbf9 100644
--- a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_en.latte
+++ b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedAccepted_en.latte
@@ -15,5 +15,5 @@
At present, you have {$points} points{if $maxPoints} out of {$maxPoints}{/if} awarded for the assignment.
- The solution detail can be found at: {$link}.
+ Detail of your solution is available via this link.
diff --git a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_cs.latte b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_cs.latte
index e7a80a63c..c32b48996 100644
--- a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_cs.latte
+++ b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_cs.latte
@@ -9,6 +9,6 @@
- Detail řešení je možné najít na adrese: {$link}.
+ Detail řešení je možné navštívit kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_en.latte b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_en.latte
index 3dceb079b..6a7c322e6 100644
--- a/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_en.latte
+++ b/app/helpers/Emails/Notifications/Solutions/solutionFlagChangedReviewRequest_en.latte
@@ -9,5 +9,5 @@
- The solution detail can be found at: {$link}.
+ Solution detail is available via this link.
diff --git a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_cs.latte b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_cs.latte
index f21cc6602..8ccfcd3f3 100644
--- a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_cs.latte
+++ b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_cs.latte
@@ -8,5 +8,5 @@
Také by to mohlo znamenat, že uživatel odevzdává vylepšené řešení, které by mohlo stát za vaši pozornost.
- Odevzdané řešení naleznete zde: {$link}.
+ Odevzdané řešení naleznete zde.
diff --git a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_en.latte b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_en.latte
index c17a6de36..ce54bb419 100644
--- a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_en.latte
+++ b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterAcceptance_en.latte
@@ -8,5 +8,5 @@
This may also mean that the user is submitting a corrected solution which may be worth your attention.
- The submission can be found here: {$link}.
+ The submitted solution can be found here.
diff --git a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_cs.latte b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_cs.latte
index 3f5874b03..3132fb8c4 100644
--- a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_cs.latte
+++ b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_cs.latte
@@ -8,5 +8,5 @@
Mohlo by to znamenat, že uživatel odevzdává vylepšené řešení, které by mohlo stát za vaši pozornost.
- Odevzdané řešení naleznete zde: {$link}.
+ Odevzdané řešení naleznete zde.
diff --git a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_en.latte b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_en.latte
index 0f95c8de3..c8f46a17b 100644
--- a/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_en.latte
+++ b/app/helpers/Emails/Notifications/Submissions/newSubmissionAfterReview_en.latte
@@ -8,5 +8,5 @@
This may mean that the user is submitting a corrected solution which may be worth your attention.
- The submission can be found here: {$link}.
+ The submitted solution can be found here.
diff --git a/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_cs.latte b/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_cs.latte
index d0c2ff13a..17e9041c1 100644
--- a/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_cs.latte
+++ b/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_cs.latte
@@ -12,5 +12,5 @@
např. pokud dojde ke změně nastavení úlohy, nebo opravě chyby v systému.
- Výsledky si můžete prohlédnout na adrese: {$link}.
+ Výsledky si můžete prohlédnout kliknutím na tento odkaz.
diff --git a/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_en.latte b/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_en.latte
index d6bf74a24..9fab30ba6 100644
--- a/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_en.latte
+++ b/app/helpers/Emails/Notifications/Submissions/submissionEvaluated_en.latte
@@ -13,5 +13,5 @@
(e.g., when the exercise configuration has changed or a bug in the system has been fixed).
- You may see the results at: {$link}.
+ You can view the results by clicking this link.
diff --git a/app/helpers/ExerciseConfig/Pipeline/Box/BoxMeta.php b/app/helpers/ExerciseConfig/Pipeline/Box/BoxMeta.php
index 48f5a3e9a..55e6430f1 100644
--- a/app/helpers/ExerciseConfig/Pipeline/Box/BoxMeta.php
+++ b/app/helpers/ExerciseConfig/Pipeline/Box/BoxMeta.php
@@ -11,15 +11,14 @@
*/
class BoxMeta implements JsonSerializable
{
-
/** Name of the name key */
- const NAME_KEY = "name";
+ public const NAME_KEY = "name";
/** Name of the ports in key */
- const PORTS_IN_KEY = "portsIn";
+ public const PORTS_IN_KEY = "portsIn";
/** Name of the ports out key */
- const PORTS_OUT_KEY = "portsOut";
+ public const PORTS_OUT_KEY = "portsOut";
/** Name of the type key */
- const TYPE_KEY = "type";
+ public const TYPE_KEY = "type";
/**
@@ -38,13 +37,13 @@ class BoxMeta implements JsonSerializable
* Ports in for this box.
* @var array
*/
- protected $portsIn = array();
+ protected $portsIn = [];
/**
* Ports out for this box.
* @var array
*/
- protected $portsOut = array();
+ protected $portsOut = [];
/**
diff --git a/app/helpers/ExerciseConfig/Pipeline/Ports/Port.php b/app/helpers/ExerciseConfig/Pipeline/Ports/Port.php
index 6e68c3931..6c4367e27 100644
--- a/app/helpers/ExerciseConfig/Pipeline/Ports/Port.php
+++ b/app/helpers/ExerciseConfig/Pipeline/Ports/Port.php
@@ -9,8 +9,7 @@
use App\Helpers\Yaml;
/**
- * Port structure which contains type information and possibly reference to
- * variable.
+ * Port structure which contains type information and possibly reference to variable.
*/
class Port implements JsonSerializable
{
@@ -83,27 +82,27 @@ private function validateType()
/**
* Get name of this port.
- * @return null|string
+ * @return string
*/
- public function getName(): ?string
+ public function getName(): string
{
return $this->meta->getName();
}
/**
* Get type of this port.
- * @return null|string
+ * @return string
*/
- public function getType(): ?string
+ public function getType(): string
{
return $this->meta->getType();
}
/**
* Get variable value of the port.
- * @return null|string
+ * @return string
*/
- public function getVariable(): ?string
+ public function getVariable(): string
{
return $this->meta->getVariable();
}
diff --git a/app/helpers/ExerciseConfig/Pipeline/Ports/PortMeta.php b/app/helpers/ExerciseConfig/Pipeline/Ports/PortMeta.php
index 72ae664f4..e8eae9770 100644
--- a/app/helpers/ExerciseConfig/Pipeline/Ports/PortMeta.php
+++ b/app/helpers/ExerciseConfig/Pipeline/Ports/PortMeta.php
@@ -10,30 +10,29 @@
*/
class PortMeta implements JsonSerializable
{
-
/** Name of the type key */
- const TYPE_KEY = "type";
+ public const TYPE_KEY = "type";
/** Name of the value key */
- const VARIABLE_KEY = "value";
+ public const VARIABLE_KEY = "value";
/**
* Port identification.
* @var string
*/
- protected $name = null;
+ protected $name = '';
/**
* Type of this port.
* @var string
*/
- protected $type = null;
+ protected $type = '';
/**
* Bound variable for this port.
* @var string
*/
- protected $variable = "";
+ protected $variable = '';
/**
* Create instance of PortMeta with given values.
@@ -53,9 +52,9 @@ public static function create(string $name, string $type, string $variable = "")
/**
* Get name of this port.
- * @return null|string
+ * @return string
*/
- public function getName(): ?string
+ public function getName(): string
{
return $this->name;
}
@@ -73,9 +72,9 @@ public function setName(string $name): PortMeta
/**
* Get type of this port.
- * @return null|string
+ * @return string
*/
- public function getType(): ?string
+ public function getType(): string
{
return $this->type;
}
diff --git a/app/helpers/Swagger/AnnotationData.php b/app/helpers/Swagger/AnnotationData.php
index 5888eabaf..41f2e35e7 100644
--- a/app/helpers/Swagger/AnnotationData.php
+++ b/app/helpers/Swagger/AnnotationData.php
@@ -101,26 +101,26 @@ public function getAllParams(): array
}
/**
- * Creates a method annotation string parsable by the swagger generator.
- * Example: if the method name is 'Put', the method will return '@OA\\PUT'.
- * @return string Returns the method annotation.
+ * Creates the opening of the operation attribute parsable by the swagger generator.
+ * The generic 'OA\Operation' is used because the HTTP method shorthands (such as 'OA\Operation\Get') do not
+ * accept a request body. The HTTP method is added as an argument of the attribute.
+ * @return string Returns the opening of the method attribute (without the arguments and the closing bracket).
*/
private function getHttpMethodAnnotation(): string
{
- // sample: converts 'PUT' to 'Put'
- $httpMethodString = ucfirst(strtolower($this->httpMethod->name));
- return "@OA\\" . $httpMethodString;
+ return "#[OA\\Operation";
}
/**
- * Creates a requestBody annotation string parsable by the swagger generator.
+ * Creates a requestBody expression parsable by the swagger generator.
* Processes JSON request body and files (form-data, octet-stream).
- * @return string|null Returns the annotation string or null, if there is no body.
+ * @return string|null Returns the attribute expression or null, if there is no body.
*/
private function getBodyAnnotation(): string | null
{
- $head = '@OA\RequestBody';
+ $head = 'new OA\RequestBody';
$body = new ParenthesesBuilder();
+ $mediaTypes = [];
// add the json schema
$jsonSchema = $this->serializeBodyParams(
@@ -128,19 +128,20 @@ private function getBodyAnnotation(): string | null
$this->bodyParams
);
if ($jsonSchema !== null) {
- $body->addValue($jsonSchema);
+ $mediaTypes[] = $jsonSchema;
}
// add the file schema
$fileSchema = $this->getFileAnnotation();
if ($fileSchema !== null) {
- $body->addValue($fileSchema);
+ $mediaTypes[] = $fileSchema;
}
- if ($jsonSchema === null && $fileSchema === null) {
+ if (count($mediaTypes) === 0) {
return null;
}
+ $body->addKeyArray("content", $mediaTypes);
return $head . $body->toString();
}
@@ -181,12 +182,12 @@ private function getFileAnnotation(): string | null
}
/**
- * Creates a content annotation string parsable by the swagger generator.
+ * Creates a media type expression parsable by the swagger generator.
* Example: if a JSON request body contains only the 'url' property, this method will produce:
- * '@OA\MediaType(mediaType="application/json",@OA\Schema(@OA\Property(property="url",type="string")))'
+ * "new OA\MediaType(mediaType: 'application/json', schema: new OA\Schema(properties: [new OA\Property(...)]))"
* @param string $mediaType The media type of the parameters ("application/json", "multipart/form-data").
- * @param array $bodyParams AnnotationParameterData array used to generate the annotation.
- * @return string|null Returns the annotation string or null, if there are no body parameters.
+ * @param array $bodyParams AnnotationParameterData array used to generate the expression.
+ * @return string|null Returns the expression string or null, if there are no body parameters.
*/
private function serializeBodyParams(string $mediaType, array $bodyParams): string | null
{
@@ -194,37 +195,41 @@ private function serializeBodyParams(string $mediaType, array $bodyParams): stri
return null;
}
- $head = '@OA\MediaType(mediaType="' . $mediaType . '",@OA\Schema';
- $body = new ParenthesesBuilder();
+ $schema = new ParenthesesBuilder();
+ $properties = [];
// list of all required properties
$required = [];
foreach ($bodyParams as $bodyParam) {
- $body->addValue($bodyParam->toPropertyAnnotation());
+ $properties[] = $bodyParam->toPropertyAnnotation();
if ($bodyParam->required) {
- // add quotes around the names (required by the swagger generator)
- $required[] = '"' . $bodyParam->name . '"';
+ $required[] = ParenthesesBuilder::stringLiteral($bodyParam->name);
}
}
+ $schema->addKeyArray("properties", $properties);
+
// add a list of required properties
if (count($required) > 0) {
- // stringify the list (it has to be in '{"name1","name1",...}' format)
- $requiredString = "{" . implode(",", $required) . "}";
- $body->addValue("required=" . $requiredString);
+ $schema->addKeyArray("required", $required);
}
- return $head . $body->toString() . ")";
+ $mediaTypeBody = new ParenthesesBuilder();
+ $mediaTypeBody->addKeyValue("mediaType", $mediaType);
+ $mediaTypeBody->addKeyRaw("schema", 'new OA\Schema' . $schema->toString());
+ return 'new OA\MediaType' . $mediaTypeBody->toString();
}
private function getOctetStreamAnnotation(AnnotationParameterData $octetParam): string
{
- $head = '@OA\MediaType(mediaType="application/octet-stream",@OA\Schema';
- $body = new ParenthesesBuilder();
-
- $body->addKeyValue("type", $octetParam->swaggerType);
- $body->addKeyValue("format", "binary");
- return $head . $body->toString() . ")";
+ $schema = new ParenthesesBuilder();
+ $schema->addKeyValue("type", $octetParam->swaggerType);
+ $schema->addKeyValue("format", "binary");
+
+ $mediaTypeBody = new ParenthesesBuilder();
+ $mediaTypeBody->addKeyValue("mediaType", "application/octet-stream");
+ $mediaTypeBody->addKeyRaw("schema", 'new OA\Schema' . $schema->toString());
+ return 'new OA\MediaType' . $mediaTypeBody->toString();
}
/**
@@ -242,14 +247,15 @@ private function constructOperationId()
}
/**
- * Converts the extracted annotation data to a string parsable by the Swagger-PHP library.
+ * Converts the extracted annotation data to an attribute string parsable by the Swagger-PHP library.
* @param string $route The route of the handler this set of data represents.
- * @return string Returns the transpiled annotations on a single line.
+ * @return string Returns the transpiled attribute on a single line.
*/
public function toSwaggerAnnotations(string $route)
{
$httpMethodAnnotation = $this->getHttpMethodAnnotation();
$body = new ParenthesesBuilder();
+ $body->addKeyValue("method", strtolower($this->httpMethod->name));
$body->addKeyValue("path", $route);
$body->addKeyValue("operationId", $this->constructOperationId());
@@ -259,19 +265,24 @@ public function toSwaggerAnnotations(string $route)
$body->addKeyValue("description", $this->getDescription());
}
+ $parameters = [];
foreach ($this->pathParams as $pathParam) {
- $body->addValue($pathParam->toParameterAnnotation());
+ $parameters[] = $pathParam->toParameterAnnotation();
}
foreach ($this->queryParams as $queryParam) {
- $body->addValue($queryParam->toParameterAnnotation());
+ $parameters[] = $queryParam->toParameterAnnotation();
+ }
+ if (count($parameters) > 0) {
+ $body->addKeyArray("parameters", $parameters);
}
$bodyProperties = $this->getBodyAnnotation();
if ($bodyProperties !== null) {
- $body->addValue($bodyProperties);
+ $body->addKeyRaw("requestBody", $bodyProperties);
}
// generate responses
+ $responses = [];
foreach ($this->responseDataList as $responseData) {
$responseSchema = $this->serializeBodyParams(
"application/json",
@@ -281,20 +292,23 @@ public function toSwaggerAnnotations(string $route)
$responseBody = new ParenthesesBuilder();
$responseBody->addKeyValue("response", $responseData->statusCode);
$responseBody->addKeyValue("description", $responseData->description);
- $responseBody->addValue($responseSchema);
+ if ($responseSchema !== null) {
+ $responseBody->addKeyArray("content", [$responseSchema]);
+ }
- $body->addValue("@OA\Response" . $responseBody->toString());
+ $responses[] = 'new OA\Response' . $responseBody->toString();
}
// add a placeholder response if none present
if (count($this->responseDataList) === 0) {
- $body->addValue('@OA\Response(response="200",description="Placeholder response")');
+ $responses[] = "new OA\\Response(response: '200', description: 'Placeholder response')";
}
+ $body->addKeyArray("responses", $responses);
if ($this->deprecated) {
$body->addKeyValue("deprecated", true);
}
- return $httpMethodAnnotation . $body->toString();
+ return $httpMethodAnnotation . $body->toString() . "]";
}
}
diff --git a/app/helpers/Swagger/AnnotationHelper.php b/app/helpers/Swagger/AnnotationHelper.php
index 3b8fea45f..d98448982 100644
--- a/app/helpers/Swagger/AnnotationHelper.php
+++ b/app/helpers/Swagger/AnnotationHelper.php
@@ -533,7 +533,7 @@ public static function getPropertyValue(mixed $object, string $propertyName): mi
$class = $class->getParentClass();
$property = null;
}
- } while ($property === null && $class !== null);
+ } while (!$property && $class);
return $property->getValue($object);
}
diff --git a/app/helpers/Swagger/AnnotationParameterData.php b/app/helpers/Swagger/AnnotationParameterData.php
index cd9526ab6..68befb52a 100644
--- a/app/helpers/Swagger/AnnotationParameterData.php
+++ b/app/helpers/Swagger/AnnotationParameterData.php
@@ -2,7 +2,6 @@
namespace App\Helpers\Swagger;
-use App\Exceptions\InternalServerException;
use App\Helpers\MetaFormats\FileRequestType;
use App\Helpers\MetaFormats\Type;
@@ -59,7 +58,7 @@ private function addArrayItemsIfArray(ParenthesesBuilder $container)
return;
}
- $itemsHead = "@OA\\Items";
+ $itemsHead = "new OA\\Schema";
$layers = [];
for ($i = 0; $i < $this->arrayDepth; $i++) {
$items = new ParenthesesBuilder();
@@ -91,11 +90,11 @@ private function addArrayItemsIfArray(ParenthesesBuilder $container)
$serialized_layer = $itemsHead . $layers[0]->toString();
for ($i = 1; $i < $this->arrayDepth; $i++) {
$layer = $layers[$i];
- $layer->addValue($serialized_layer);
+ $layer->addKeyRaw("items", $serialized_layer);
$serialized_layer = $itemsHead . $layer->toString();
}
- $container->addValue($serialized_layer);
+ $container->addKeyRaw("items", $serialized_layer);
}
private function addObjectParamsIfObject(ParenthesesBuilder $container)
@@ -104,9 +103,13 @@ private function addObjectParamsIfObject(ParenthesesBuilder $container)
return;
}
+ $properties = [];
foreach ($this->nestedObjectParameterData as $paramData) {
- $annotation = $paramData->toPropertyAnnotation();
- $container->addValue($annotation);
+ $properties[] = $paramData->toPropertyAnnotation();
+ }
+
+ if (count($properties) > 0) {
+ $container->addKeyArray("properties", $properties);
}
}
@@ -120,12 +123,12 @@ private function addFileParamsIfFile(ParenthesesBuilder $container)
}
/**
- * Generates swagger schema annotations based on the data type.
- * @return string Returns the annotation.
+ * Generates swagger schema attributes based on the data type.
+ * @return string Returns the attribute expression.
*/
private function generateSchemaAnnotation(): string
{
- $head = "@OA\\Schema";
+ $head = "new OA\\Schema";
$body = new ParenthesesBuilder();
$body->addKeyValue("type", $this->swaggerType);
@@ -142,11 +145,11 @@ private function generateSchemaAnnotation(): string
}
/**
- * Converts the object to a @OA\Parameter(...) annotation string
+ * Converts the object to a 'new OA\Parameter(...)' expression string
*/
public function toParameterAnnotation(): string
{
- $head = "@OA\\Parameter";
+ $head = "new OA\\Parameter";
$body = new ParenthesesBuilder();
$body->addKeyValue("name", $this->name);
@@ -163,49 +166,53 @@ public function toParameterAnnotation(): string
$body->addKeyValue("description", $this->description);
}
- $body->addValue($this->generateSchemaAnnotation());
+ $body->addKeyRaw("schema", $this->generateSchemaAnnotation());
return $head . $body->toString();
}
/**
- * Generates swagger property annotations based on the data type.
- * @return string Returns the annotation.
+ * Generates swagger property attributes based on the data type.
+ * @return string Returns the attribute expression.
*/
public function toPropertyAnnotation(): string
{
- $head = "@OA\\Property";
+ $head = "new OA\\Property";
$body = new ParenthesesBuilder();
-
$body->addKeyValue("property", $this->name);
- $body->addKeyValue("type", $this->swaggerType);
- $body->addKeyValue("nullable", $this->nullable);
+
+ // the property type and constraints are defined by its schema
+ $schema = new ParenthesesBuilder();
+ $schema->addKeyValue("type", $this->swaggerType);
+ $schema->addKeyValue("nullable", $this->nullable);
if ($this->description !== null) {
- $body->addKeyValue("description", $this->description);
+ $schema->addKeyValue("description", $this->description);
}
// handle param constraints (array constrains have to be added to the element, not the array)
if ($this->swaggerType !== "array") {
- $this->constraints?->addConstraints($body);
+ $this->constraints?->addConstraints($schema);
}
// handle arrays
- $this->addArrayItemsIfArray($body);
+ $this->addArrayItemsIfArray($schema);
// handle objects
- $this->addObjectParamsIfObject($body);
+ $this->addObjectParamsIfObject($schema);
// handle files
- $this->addFileParamsIfFile($body);
+ $this->addFileParamsIfFile($schema);
// add example value
if ($this->swaggerType !== "array" && $this->swaggerType !== "object") {
if ($this->example != null) {
- $body->addKeyValue("example", $this->example);
+ $schema->addKeyValue("example", $this->example);
}
}
+ $body->addKeyRaw("schema", "new OA\\Schema" . $schema->toString());
+
return $head . $body->toString();
}
}
diff --git a/app/helpers/Swagger/ParenthesesBuilder.php b/app/helpers/Swagger/ParenthesesBuilder.php
index eab3448c8..5e4b2f5bf 100644
--- a/app/helpers/Swagger/ParenthesesBuilder.php
+++ b/app/helpers/Swagger/ParenthesesBuilder.php
@@ -3,7 +3,7 @@
namespace App\Helpers\Swagger;
/**
- * Builder class that can create strings of the schema: '(key1="value1", key2="value2", standalone1, standalone2, ...)'
+ * Builder class that can create strings of the schema: '(key1: 'val1', key2: 'val2', standalone1, standalone2, ...)'
*/
class ParenthesesBuilder
{
@@ -15,7 +15,17 @@ public function __construct()
}
/**
- * Add a token inside the parentheses in the format of: key="value"
+ * Converts a string to a PHP string literal (single-quoted, with escaped quotes and backslashes).
+ * @param string $value The string to be converted.
+ * @return string Returns the literal.
+ */
+ public static function stringLiteral(string $value): string
+ {
+ return var_export($value, true);
+ }
+
+ /**
+ * Add a named argument token inside the parentheses in the format of: key: 'value'
* @param string $key A string key.
* @param mixed $value A value that will be stringified.
* @return \App\Helpers\Swagger\ParenthesesBuilder Returns the builder object.
@@ -25,14 +35,35 @@ public function addKeyValue(string $key, mixed $value): ParenthesesBuilder
$valueString = strval($value);
// strings need to be wrapped in quotes
if (is_string($value)) {
- $valueString = "\"{$value}\"";
- // convert bools to strings
+ $valueString = self::stringLiteral($value);
+ // convert bools to strings
} elseif (is_bool($value)) {
$valueString = ($value ? "true" : "false");
}
- $assignment = "{$key}={$valueString}";
- return $this->addValue($assignment);
+ return $this->addKeyRaw($key, $valueString);
+ }
+
+ /**
+ * Add a named argument token inside the parentheses with a value that is used as is (not quoted).
+ * @param string $key A string key.
+ * @param string $expression A PHP expression, such as 'new OA\Items(...)'.
+ * @return \App\Helpers\Swagger\ParenthesesBuilder Returns the builder object.
+ */
+ public function addKeyRaw(string $key, string $expression): ParenthesesBuilder
+ {
+ return $this->addValue("{$key}: {$expression}");
+ }
+
+ /**
+ * Add a named argument token with an array value in the format of: key: [expression1, expression2, ...]
+ * @param string $key A string key.
+ * @param string[] $expressions PHP expressions that will be the elements of the array.
+ * @return \App\Helpers\Swagger\ParenthesesBuilder Returns the builder object.
+ */
+ public function addKeyArray(string $key, array $expressions): ParenthesesBuilder
+ {
+ return $this->addKeyRaw($key, "[" . implode(", ", $expressions) . "]");
}
/**
diff --git a/app/helpers/Swagger/ResponseData.php b/app/helpers/Swagger/ResponseData.php
index 25db110f5..1a9291800 100644
--- a/app/helpers/Swagger/ResponseData.php
+++ b/app/helpers/Swagger/ResponseData.php
@@ -64,7 +64,7 @@ private function wrapResponse()
if ($payloadParam === null) {
throw new InternalServerException("The SuccessResponseFormat is corrupted (no 'payload' field).");
}
-
+
// wrap responseParams
$payloadParam->nestedObjectParameterData = $this->responseParams;
$payloadParam->swaggerType = VObject::SWAGGER_TYPE;
diff --git a/app/helpers/Swagger/TempAnnotationFileBuilder.php b/app/helpers/Swagger/TempAnnotationFileBuilder.php
index bd72ccb3e..94994bf85 100644
--- a/app/helpers/Swagger/TempAnnotationFileBuilder.php
+++ b/app/helpers/Swagger/TempAnnotationFileBuilder.php
@@ -7,7 +7,7 @@
*/
class TempAnnotationFileBuilder
{
- private $methodEntries;
+ private int $methodEntries;
private string $content;
private string $filename;
@@ -28,29 +28,27 @@ private function initFile()
$this->content .= "content .= "/// THIS FILE WAS AUTOGENERATED\n";
$this->content .= "namespace App\V1Module\Presenters;\n";
- $this->content .= "use OpenApi\Annotations as OA;\n";
+ $this->content .= "use OpenApi\Spec as OA;\n";
}
/**
- * Creates an annotation describing the swagger version and title used.
+ * Creates an attribute describing the swagger version and title used.
* @param string $version The version of swagger.
* @param string $title The title of the document.
- * @return string Returns the annotation.
+ * @return string Returns the attribute.
*/
private function createInfoAnnotation(string $version, string $title)
{
- $head = "@OA\\Info";
+ $head = "#[OA\\Info";
$body = new ParenthesesBuilder();
$body->addKeyValue("version", $version);
$body->addKeyValue("title", $title);
- return $head . $body->toString();
+ return $head . $body->toString() . "]";
}
- private function writeAnnotationLineWithComments(string $annotationLine)
+ private function writeAnnotationLine(string $annotationLine)
{
- $this->content .= "/**\n";
- $this->content .= "* {$annotationLine}\n";
- $this->content .= "*/\n";
+ $this->content .= "{$annotationLine}\n";
}
/**
@@ -62,7 +60,7 @@ private function writeAnnotationLineWithComments(string $annotationLine)
*/
public function startClass(string $className, string $version, string $title)
{
- $this->writeAnnotationLineWithComments($this->createInfoAnnotation($version, $title));
+ $this->writeAnnotationLine($this->createInfoAnnotation($version, $title));
$this->content .= "class {$className} {\n";
}
@@ -78,11 +76,11 @@ public function endClass()
/**
* Adds an annotated method to the class.
* @param string $methodName The name of the method. This does not have to be unique.
- * @param string $annotationLine The annotation line of the method.
+ * @param string $annotationLine The attribute line of the method.
*/
public function addAnnotatedMethod(string $methodName, string $annotationLine)
{
- $this->writeAnnotationLineWithComments($annotationLine);
+ $this->writeAnnotationLine($annotationLine);
$this->content .= "public function {$methodName}{$this->methodEntries}() {}\n";
$this->methodEntries++;
}
diff --git a/app/http/ZipFilesResponse.php b/app/http/ZipFilesResponse.php
index 8f441aeec..b89c34754 100644
--- a/app/http/ZipFilesResponse.php
+++ b/app/http/ZipFilesResponse.php
@@ -34,6 +34,11 @@ class ZipFilesResponse implements Response
*/
private $forceDownload;
+ /**
+ * Empty zip file content, which is used when no files are given to the response.
+ */
+ private const EMPTY_ZIP = "PK\x05\x06" . "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
+
/**
* ZipFilesResponse constructor.
* @param array $files indexed by original name (becomes zip entry) where values are local paths (strings)
@@ -55,11 +60,22 @@ public function getName(): string
/**
* Compress given files to zip archive.
- * @return string path to the constructed tmp zip archive
+ * @return string|null path to the constructed tmp zip archive, null if no files were given
* @throws ApiException
*/
- private function compress(): string
+ private function compress(): ?string
{
+ if (count($this->files) === 0) {
+ // Well the php is interesting in handling zip archives, if you do not
+ // provide any file to it, the php will process everything correctly and
+ // successfully, creating and even closing, butt beware because if you do
+ // not provided nada files, the zip will not be created at all!!!
+ // So for further processing we need to at least create an empty file,
+ // which will omit further warnings concerning non-existing file during
+ // sending back to the user.
+ return null;
+ }
+
$tmpFile = tempnam(sys_get_temp_dir(), "ReC");
$zip = new ZipArchive();
if ($zip->open($tmpFile, ZipArchive::CREATE | ZipArchive::OVERWRITE) !== true) {
@@ -85,17 +101,6 @@ private function compress(): string
throw new ApiException("Archive could not be properly saved");
}
- if (count($this->files) === 0) {
- // Well the php is interesting in handling zip archives, if you do not
- // provide any file to it, the php will process everything correctly and
- // successfully, creating and even closing, butt beware because if you do
- // not provided nada files, the zip will not be created at all!!!
- // So for further processing we need to at least create an empty file,
- // which will omit further warnings concerning non-existing file during
- // sending back to the user.
- touch($tmpFile);
- }
-
return $tmpFile;
}
@@ -111,6 +116,20 @@ public function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $htt
// first compress all given files into zip
$zipFile = $this->compress();
+ if ($zipFile === null) {
+ // send over a correct empty zip file, so the user will not get any error
+ $httpResponse->setContentType("application/zip");
+ $httpResponse->setHeader(
+ 'Content-Disposition',
+ ($this->forceDownload ? 'attachment' : 'inline')
+ . '; filename="' . $this->name . '"'
+ . '; filename*=utf-8\'\'' . rawurlencode($this->name),
+ );
+ $httpResponse->setHeader("Content-Length", (string)strlen(self::EMPTY_ZIP));
+ echo self::EMPTY_ZIP;
+ return;
+ }
+
// clear all potentially cached information like filesize and such
clearstatcache();
diff --git a/app/model/entity/Assignment.php b/app/model/entity/Assignment.php
index 761ec2f36..37e0369ad 100644
--- a/app/model/entity/Assignment.php
+++ b/app/model/entity/Assignment.php
@@ -148,7 +148,7 @@ public static function assignToGroup(
protected $pointsPercentualThreshold;
/**
- * @var Collection|Selectable
+ * @var Collection
*/
#[ORM\ManyToMany(targetEntity: LocalizedAssignment::class, indexBy: 'locale')]
protected $localizedAssignments;
diff --git a/app/model/entity/AssignmentSolution.php b/app/model/entity/AssignmentSolution.php
index 222d3e887..e889fec4e 100644
--- a/app/model/entity/AssignmentSolution.php
+++ b/app/model/entity/AssignmentSolution.php
@@ -5,6 +5,7 @@
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
+use SortDirection;
use DateTime;
#[ORM\Entity]
@@ -144,7 +145,7 @@ public function getTotalPoints()
mappedBy: 'assignmentSolution',
cascade: ['remove']
)]
- #[ORM\OrderBy(['submittedAt' => 'DESC'])]
+ #[ORM\OrderBy(['submittedAt' => SortDirection::Descending])]
protected $submissions;
/**
diff --git a/app/model/entity/CommentThread.php b/app/model/entity/CommentThread.php
index 8c8ce9843..8f90b3e13 100644
--- a/app/model/entity/CommentThread.php
+++ b/app/model/entity/CommentThread.php
@@ -6,6 +6,7 @@
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Criteria;
+use SortDirection;
use JsonSerializable;
#[ORM\Entity]
@@ -16,7 +17,7 @@ class CommentThread implements JsonSerializable
protected $id;
#[ORM\OneToMany(targetEntity: Comment::class, mappedBy: 'commentThread')]
- #[ORM\OrderBy(['postedAt' => 'ASC'])]
+ #[ORM\OrderBy(['postedAt' => SortDirection::Ascending])]
protected $comments;
public function addComment(Comment $comment)
diff --git a/app/model/entity/Group.php b/app/model/entity/Group.php
index 47a9667b2..6047002d7 100644
--- a/app/model/entity/Group.php
+++ b/app/model/entity/Group.php
@@ -9,6 +9,7 @@
use Doctrine\Common\Collections\Criteria;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
+use SortDirection;
use LogicException;
use InvalidArgumentException;
use DateTime;
@@ -249,7 +250,7 @@ public function isDirectlyArchived(): bool
cascade: ['persist', 'remove'],
orphanRemoval: true
)]
- #[ORM\OrderBy(['begin' => 'DESC'])]
+ #[ORM\OrderBy(['begin' => SortDirection::Descending])]
protected $exams;
/**
@@ -340,7 +341,7 @@ function (Group $group) {
cascade: ['persist', 'remove'],
orphanRemoval: true
)]
- #[ORM\OrderBy(['createdAt' => 'DESC'])]
+ #[ORM\OrderBy(['createdAt' => SortDirection::Descending])]
protected $invitations;
#[ORM\ManyToMany(targetEntity: Exercise::class, mappedBy: 'groups')]
diff --git a/app/model/entity/Notification.php b/app/model/entity/Notification.php
index 0e1899121..5a0b86775 100644
--- a/app/model/entity/Notification.php
+++ b/app/model/entity/Notification.php
@@ -6,7 +6,6 @@
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\Criteria;
-use Doctrine\Common\Collections\Selectable;
use Doctrine\ORM\Mapping as ORM;
use JsonSerializable;
@@ -48,7 +47,7 @@ public function getAuthor(): ?User
protected $visibleTo;
/**
- * @var Collection|Selectable
+ * @var Collection
*/
#[ORM\ManyToMany(targetEntity: LocalizedNotification::class, indexBy: 'locale', cascade: ['persist'])]
protected $localizedTexts;
diff --git a/app/model/entity/ShadowAssignment.php b/app/model/entity/ShadowAssignment.php
index 5c11ce219..ff637c826 100644
--- a/app/model/entity/ShadowAssignment.php
+++ b/app/model/entity/ShadowAssignment.php
@@ -3,7 +3,6 @@
namespace App\Model\Entity;
use Doctrine\Common\Collections\Collection;
-use Doctrine\Common\Collections\Selectable;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Criteria;
@@ -54,7 +53,7 @@ public static function createInGroup(Group $group, $isPublic = false)
protected $id;
/**
- * @var Collection|Selectable
+ * @var Collection
*/
#[ORM\ManyToMany(targetEntity: LocalizedShadowAssignment::class, indexBy: 'locale')]
protected $localizedTexts;
diff --git a/app/model/entity/base/ExerciseData.php b/app/model/entity/base/ExerciseData.php
index e86a3cd50..2e9c38307 100644
--- a/app/model/entity/base/ExerciseData.php
+++ b/app/model/entity/base/ExerciseData.php
@@ -5,7 +5,6 @@
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ReadableCollection;
use Doctrine\Common\Collections\Criteria;
-use Doctrine\Common\Collections\Selectable;
use Doctrine\ORM\Mapping as ORM;
trait ExerciseData
@@ -19,7 +18,7 @@ public function getConfigurationType(): string
}
/**
- * @var Collection|Selectable
+ * @var Collection
*/
#[ORM\ManyToMany(targetEntity: LocalizedExercise::class, indexBy: 'locale')]
protected $localizedTexts;
@@ -165,7 +164,7 @@ function (ExerciseLimits $exerciseLimits) use ($environment, $hwGroup) {
}
/**
- * @var Collection|Selectable
+ * @var Collection
*/
#[ORM\ManyToMany(targetEntity: ExerciseEnvironmentConfig::class, cascade: ['persist'])]
protected $exerciseEnvironmentConfigs;
@@ -212,7 +211,7 @@ public function getScoreConfig(): ExerciseScoreConfig
}
/**
- * @var Collection|Selectable
+ * @var Collection
*/
#[ORM\ManyToMany(targetEntity: ExerciseTest::class, cascade: ['persist'])]
protected $exerciseTests;
diff --git a/app/model/helpers/PaginationDBHelper.php b/app/model/helpers/PaginationDBHelper.php
index b760c11c1..457d7deb0 100644
--- a/app/model/helpers/PaginationDBHelper.php
+++ b/app/model/helpers/PaginationDBHelper.php
@@ -7,6 +7,7 @@
use App\Exceptions\InvalidApiArgumentException;
use Doctrine\ORM\Query;
use DoctrineExtensions\Query\OrderByCollationInjectionMysqlWalker;
+use SortDirection;
/**
* Helper class that adds common features (search and order by) to query builder
@@ -144,7 +145,8 @@ public function apply(QueryBuilder $qb, Pagination $pagination, ?string $alias =
&& !empty($this->orderByColumns[$pagination->getOrderBy()])
) {
foreach ($this->orderByColumns[$pagination->getOrderBy()] as $orderBy) {
- $qb->addOrderBy($orderBy, $pagination->isOrderAscending() ? 'ASC' : 'DESC');
+ $qb->addOrderBy($orderBy, $pagination->isOrderAscending()
+ ? SortDirection::Ascending : SortDirection::Descending);
}
}
diff --git a/app/model/repository/AssignmentSolutionSubmissions.php b/app/model/repository/AssignmentSolutionSubmissions.php
index a3312c872..86557be0d 100644
--- a/app/model/repository/AssignmentSolutionSubmissions.php
+++ b/app/model/repository/AssignmentSolutionSubmissions.php
@@ -6,6 +6,7 @@
use App\Model\Entity\AssignmentSolution;
use DateTime;
use Doctrine\ORM\EntityManagerInterface;
+use SortDirection;
/**
* @extends BaseRepository
@@ -43,8 +44,8 @@ public function getLastSubmission(
$submissions = $this->findBy(
["assignmentSolution" => $solution],
[
- "submittedAt" => "DESC", // make sure the last one submitted is first one in the result
- "id" => "ASC",
+ "submittedAt" => SortDirection::Descending, // make sure the last one submitted is first one in the result
+ "id" => SortDirection::Ascending,
]
);
diff --git a/app/model/repository/AssignmentSolutions.php b/app/model/repository/AssignmentSolutions.php
index 90969a5b3..12f259320 100644
--- a/app/model/repository/AssignmentSolutions.php
+++ b/app/model/repository/AssignmentSolutions.php
@@ -9,6 +9,7 @@
use App\Model\Entity\GroupMembership;
use Doctrine\ORM\EntityManagerInterface;
use Nette\Utils\Arrays;
+use SortDirection;
use DateTime;
/**
@@ -34,7 +35,7 @@ public function findSolutions(Assignment $assignment, User $user): array
->andWhere($qb->expr()->eq("asol.assignment", ":assignment"))
->setParameter("author", $user->getId())
->setParameter("assignment", $assignment->getId())
- ->orderBy("sol.createdAt", "DESC");
+ ->orderBy("sol.createdAt", SortDirection::Descending);
return $qb->getQuery()->getResult();
}
@@ -72,7 +73,7 @@ public function findGroupSolutionsOfStudent(Group $group, User $user): array
->andWhere($qb->expr()->eq("ass.group", ":group"))
->setParameter("author", $user->getId())
->setParameter("group", $group->getId())
- ->orderBy("sol.createdAt", "DESC");
+ ->orderBy("sol.createdAt", SortDirection::Descending);
return $qb->getQuery()->getResult();
}
@@ -130,7 +131,7 @@ function ($assignment) {
$qb->andWhere("sol.author = :author");
$qb->setParameter('author', $user->getId());
}
- $qb->orderBy("sol.createdAt", "DESC");
+ $qb->orderBy("sol.createdAt", SortDirection::Descending);
$solutions = $qb->getQuery()->getResult();
return self::filterValidSolutions($solutions);
}
diff --git a/app/model/repository/AsyncJobs.php b/app/model/repository/AsyncJobs.php
index 097844518..f5c63af4a 100644
--- a/app/model/repository/AsyncJobs.php
+++ b/app/model/repository/AsyncJobs.php
@@ -6,6 +6,7 @@
use App\Model\Entity\Assignment;
use App\Model\Entity\User;
use Doctrine\ORM\EntityManagerInterface;
+use SortDirection;
use DateTime;
/**
@@ -53,7 +54,7 @@ public function findPendingJobs(
->setParameter("assignment", $assignment->getId());
}
- $qb->addOrderBy('j.createdAt', 'DESC');
+ $qb->addOrderBy('j.createdAt', SortDirection::Descending);
return $qb->getQuery()->getResult();
}
@@ -86,7 +87,8 @@ public function findFailedJobs(
->setParameter("assignment", $assignment->getId());
}
- $qb->addOrderBy('j.finishedAt', 'DESC')->addOrderBy('j.createdAt', 'DESC');
+ $qb->addOrderBy('j.finishedAt', SortDirection::Descending)
+ ->addOrderBy('j.createdAt', SortDirection::Descending);
return $qb->getQuery()->getResult();
}
diff --git a/app/model/repository/GroupExamLocks.php b/app/model/repository/GroupExamLocks.php
index cb9cb3068..1a3163f54 100644
--- a/app/model/repository/GroupExamLocks.php
+++ b/app/model/repository/GroupExamLocks.php
@@ -2,13 +2,10 @@
namespace App\Model\Repository;
-use DateTime;
-use App\Model\Entity\Group;
-use App\Model\Entity\GroupExam;
use App\Model\Entity\GroupExamLock;
use App\Model\Entity\User;
use Doctrine\ORM\EntityManagerInterface;
-use LogicException;
+use SortDirection;
/**
* @extends BaseRepository
@@ -37,8 +34,8 @@ public function getCurrentLock(User $user): ?GroupExamLock
}
$locks = $this->findBy(
- [ 'student' => $user, 'groupExam' => $exam, 'unlockedAt' => null ],
- [ 'createdAt' => 'DESC' ] // first one is the last one created
+ ['student' => $user, 'groupExam' => $exam, 'unlockedAt' => null],
+ ['createdAt' => SortDirection::Descending] // first one is the last one created
);
return $locks ? $locks[0] : null;
}
diff --git a/app/model/repository/PlagiarismDetectionBatches.php b/app/model/repository/PlagiarismDetectionBatches.php
index 14c85b27e..01700ab08 100644
--- a/app/model/repository/PlagiarismDetectionBatches.php
+++ b/app/model/repository/PlagiarismDetectionBatches.php
@@ -6,6 +6,7 @@
use App\Model\Entity\PlagiarismDetectedSimilarity;
use App\Model\Entity\AssignmentSolution;
use Doctrine\ORM\EntityManagerInterface;
+use SortDirection;
/**
* @extends BaseRepository
@@ -38,7 +39,7 @@ public function findByToolAndSolution(?string $detectionTool, ?AssignmentSolutio
$qb->andWhere($qb->expr()->exists($sub->getDQL()))
->setParameter("sid", $solution->getId());
}
- $qb->orderBy("b.createdAt", "DESC");
+ $qb->orderBy("b.createdAt", SortDirection::Descending);
return $qb->getQuery()->getResult();
}
}
diff --git a/app/model/repository/ReferenceSolutionSubmissions.php b/app/model/repository/ReferenceSolutionSubmissions.php
index ab4c21cb4..20677e447 100644
--- a/app/model/repository/ReferenceSolutionSubmissions.php
+++ b/app/model/repository/ReferenceSolutionSubmissions.php
@@ -5,6 +5,7 @@
use App\Model\Entity\ReferenceSolutionSubmission;
use App\Model\Entity\ReferenceExerciseSolution;
use Doctrine\ORM\EntityManagerInterface;
+use SortDirection;
use DateTime;
/**
@@ -43,8 +44,8 @@ public function getLastSubmission(
$submissions = $this->findBy(
["referenceSolution" => $solution],
[
- "submittedAt" => "DESC", // make sure the last one submitted is first one in the result
- "id" => "ASC",
+ "submittedAt" => SortDirection::Descending, // make sure the last one submitted is first one in the result
+ "id" => SortDirection::Ascending,
]
);
diff --git a/app/model/repository/SisValidTerms.php b/app/model/repository/SisValidTerms.php
index 74b058823..312fb0ea0 100644
--- a/app/model/repository/SisValidTerms.php
+++ b/app/model/repository/SisValidTerms.php
@@ -4,6 +4,7 @@
use App\Model\Entity\SisValidTerm;
use Doctrine\ORM\EntityManagerInterface;
+use SortDirection;
/**
* @extends BaseRepository
@@ -39,8 +40,8 @@ public function findAll(): array
return $this->repository->findBy(
[],
[
- "year" => "DESC",
- "term" => "DESC",
+ "year" => SortDirection::Descending,
+ "term" => SortDirection::Descending,
]
);
}
diff --git a/composer.json b/composer.json
index 27ac6595e..b8ca0755a 100644
--- a/composer.json
+++ b/composer.json
@@ -29,46 +29,46 @@
"php": ">=8.4",
"bjeavons/zxcvbn-php": "^1.4",
"contributte/console": "^0.11.0",
- "firebase/php-jwt": "^7.0",
+ "firebase/php-jwt": "^7.2",
"forxer/gravatar": "^7.0",
- "guzzlehttp/guzzle": "^7.10",
+ "guzzlehttp/guzzle": "^8.5",
"eluceo/ical": "^2.16",
"ext-yaml": ">=2.0",
"ext-json": ">=1.7",
"ext-zip": ">=1.15",
"latte/latte": "^3.1",
- "league/commonmark": "^2.8",
+ "league/commonmark": "^2.10",
"nelmio/alice": "^3.17",
"nette/application": "^3.3",
"nette/bootstrap": "^3.3",
- "nette/caching": "^3.4",
+ "nette/caching": "^4.0",
"nette/database": "^3.2",
"nette/di": "^3.2",
"nette/forms": "^3.3",
"nette/http": "^3.4",
- "nette/mail": "^4.0",
- "nette/neon": "^3.4",
+ "nette/mail": "^4.2",
+ "nette/neon": "^4.0",
"nette/robot-loader": "^4.1",
"nette/safe-stream": "^3.0",
"nette/security": "^3.2",
- "nette/utils": "^4.0",
+ "nette/utils": "^4.1",
"nettrine/dbal": "^0.10",
"nettrine/extensions-atlantic18": "^0.7",
"nettrine/migrations": "^0.10",
"nettrine/orm": "^0.10",
"ramsey/uuid-doctrine": "^2.1",
"symfony/process": "^8.1",
- "tracy/tracy": "^2.11",
- "zircote/swagger-php": "^6.0"
+ "tracy/tracy": "^2.12",
+ "zircote/swagger-php": "^7.8"
},
"require-dev": {
"mockery/mockery": "@stable",
"mikey179/vfsstream": "@stable",
- "nette/tester": "^2.6",
- "phpstan/phpstan": "^2.1",
+ "nette/tester": "^2.7",
+ "phpstan/phpstan": "^2.3",
"phpstan/phpstan-nette": "^2.0",
- "vrana/adminer": "^5.4",
- "rector/rector": "^2.5"
+ "vrana/adminer": "^6.3",
+ "rector/rector": "^2.8"
},
"minimum-stability": "dev",
"prefer-stable": true
diff --git a/composer.lock b/composer.lock
index e79091256..88ffc3d50 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "d4516b3f633592cca4d1540e05395ce8",
+ "content-hash": "7fda9c0a91f7af8bc0a3da77d610f574",
"packages": [
{
"name": "bjeavons/zxcvbn-php",
@@ -64,23 +64,24 @@
},
{
"name": "brick/math",
- "version": "0.18.0",
+ "version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/brick/math.git",
- "reference": "82944324d1c1bdb2c2618e89978d4e2ad78d69ad"
+ "reference": "2effe05d2177c451b86c6a073196a4034c02f211"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/brick/math/zipball/82944324d1c1bdb2c2618e89978d4e2ad78d69ad",
- "reference": "82944324d1c1bdb2c2618e89978d4e2ad78d69ad",
+ "url": "https://api.github.com/repos/brick/math/zipball/2effe05d2177c451b86c6a073196a4034c02f211",
+ "reference": "2effe05d2177c451b86c6a073196a4034c02f211",
"shasum": ""
},
"require": {
"php": "^8.2"
},
"require-dev": {
- "phpstan/phpstan": "2.1.22",
+ "phpstan/phpstan": "2.2.13",
+ "phpstan/phpstan-phpunit": "2.0.18",
"phpunit/phpunit": "^11.5"
},
"type": "library",
@@ -111,7 +112,7 @@
],
"support": {
"issues": "https://github.com/brick/math/issues",
- "source": "https://github.com/brick/math/tree/0.18.0"
+ "source": "https://github.com/brick/math/tree/1.0.0"
},
"funding": [
{
@@ -119,7 +120,7 @@
"type": "github"
}
],
- "time": "2026-06-14T18:21:03+00:00"
+ "time": "2026-09-12T10:28:18+00:00"
},
{
"name": "contributte/console",
@@ -269,29 +270,29 @@
},
{
"name": "doctrine/collections",
- "version": "2.6.0",
+ "version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/collections.git",
- "reference": "7713da39d8e237f28411d6a616a3dce5e20d5de2"
+ "reference": "7c2f25ed928553a3de389ccb99aa46c0eedb2d4d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/collections/zipball/7713da39d8e237f28411d6a616a3dce5e20d5de2",
- "reference": "7713da39d8e237f28411d6a616a3dce5e20d5de2",
+ "url": "https://api.github.com/repos/doctrine/collections/zipball/7c2f25ed928553a3de389ccb99aa46c0eedb2d4d",
+ "reference": "7c2f25ed928553a3de389ccb99aa46c0eedb2d4d",
"shasum": ""
},
"require": {
"doctrine/deprecations": "^1",
- "php": "^8.1",
- "symfony/polyfill-php84": "^1.30"
+ "php": "^8.4",
+ "symfony/polyfill-php86": "^1.36"
},
"require-dev": {
"doctrine/coding-standard": "^14",
"ext-json": "*",
"phpstan/phpstan": "^2.1.30",
"phpstan/phpstan-phpunit": "^2.0.7",
- "phpunit/phpunit": "^10.5.58 || ^11.5.42 || ^12.4"
+ "phpunit/phpunit": "^12.4"
},
"type": "library",
"autoload": {
@@ -335,7 +336,7 @@
],
"support": {
"issues": "https://github.com/doctrine/collections/issues",
- "source": "https://github.com/doctrine/collections/tree/2.6.0"
+ "source": "https://github.com/doctrine/collections/tree/3.1.0"
},
"funding": [
{
@@ -351,20 +352,20 @@
"type": "tidelift"
}
],
- "time": "2026-01-15T10:01:58+00:00"
+ "time": "2026-04-29T20:41:02+00:00"
},
{
"name": "doctrine/dbal",
- "version": "4.4.3",
+ "version": "4.6.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
- "reference": "61e730f1658814821a85f2402c945f3883407dec"
+ "reference": "1b56fbfb22704712786fea81ff4bb156fcc6427e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/dbal/zipball/61e730f1658814821a85f2402c945f3883407dec",
- "reference": "61e730f1658814821a85f2402c945f3883407dec",
+ "url": "https://api.github.com/repos/doctrine/dbal/zipball/1b56fbfb22704712786fea81ff4bb156fcc6427e",
+ "reference": "1b56fbfb22704712786fea81ff4bb156fcc6427e",
"shasum": ""
},
"require": {
@@ -377,14 +378,15 @@
"doctrine/coding-standard": "14.0.0",
"fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.2",
- "phpstan/phpstan": "2.1.30",
+ "phpstan/phpstan": "2.3.4",
"phpstan/phpstan-phpunit": "2.0.7",
"phpstan/phpstan-strict-rules": "^2",
- "phpunit/phpunit": "11.5.50",
- "slevomat/coding-standard": "8.27.1",
- "squizlabs/php_codesniffer": "4.0.1",
+ "phpunit/phpunit": "11.5.56",
+ "slevomat/coding-standard": "8.31.1",
+ "squizlabs/php_codesniffer": "4.0.4",
"symfony/cache": "^6.3.8|^7.0|^8.0",
- "symfony/console": "^5.4|^6.3|^7.0|^8.0"
+ "symfony/console": "^5.4|^6.3|^7.0|^8.0",
+ "symfony/service-contracts": "^2.2 || ^3.0"
},
"suggest": {
"symfony/console": "For helpful console commands such as SQL execution and import of files."
@@ -441,7 +443,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
- "source": "https://github.com/doctrine/dbal/tree/4.4.3"
+ "source": "https://github.com/doctrine/dbal/tree/4.6.0"
},
"funding": [
{
@@ -457,24 +459,24 @@
"type": "tidelift"
}
],
- "time": "2026-03-20T08:52:12+00:00"
+ "time": "2026-11-14T18:08:09+00:00"
},
{
"name": "doctrine/deprecations",
- "version": "1.1.6",
+ "version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
- "reference": "d4fe3e6fd9bb9e72557a19674f44d8ac7db4c6ca"
+ "reference": "d2e16653a734c8784c1851ad68b02f997b53ca82"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/deprecations/zipball/d4fe3e6fd9bb9e72557a19674f44d8ac7db4c6ca",
- "reference": "d4fe3e6fd9bb9e72557a19674f44d8ac7db4c6ca",
+ "url": "https://api.github.com/repos/doctrine/deprecations/zipball/d2e16653a734c8784c1851ad68b02f997b53ca82",
+ "reference": "d2e16653a734c8784c1851ad68b02f997b53ca82",
"shasum": ""
},
"require": {
- "php": "^7.1 || ^8.0"
+ "php": "^7.4 || ^8.0"
},
"conflict": {
"phpunit/phpunit": "<=7.5 || >=14"
@@ -503,9 +505,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
- "source": "https://github.com/doctrine/deprecations/tree/1.1.6"
+ "source": "https://github.com/doctrine/deprecations/tree/1.2.0"
},
- "time": "2026-02-07T07:09:04+00:00"
+ "time": "2026-11-11T10:04:49+00:00"
},
{
"name": "doctrine/event-manager",
@@ -600,23 +602,23 @@
},
{
"name": "doctrine/inflector",
- "version": "2.1.0",
+ "version": "2.1.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/inflector.git",
- "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b"
+ "reference": "46351b6812b7b6d52b82c3efa5dfb786a198ec88"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/inflector/zipball/6d6c96277ea252fc1304627204c3d5e6e15faa3b",
- "reference": "6d6c96277ea252fc1304627204c3d5e6e15faa3b",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/46351b6812b7b6d52b82c3efa5dfb786a198ec88",
+ "reference": "46351b6812b7b6d52b82c3efa5dfb786a198ec88",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^12.0 || ^13.0",
+ "doctrine/coding-standard": "^12.0 || ^14.0",
"phpstan/phpstan": "^1.12 || ^2.0",
"phpstan/phpstan-phpunit": "^1.4 || ^2.0",
"phpstan/phpstan-strict-rules": "^1.6 || ^2.0",
@@ -670,7 +672,7 @@
],
"support": {
"issues": "https://github.com/doctrine/inflector/issues",
- "source": "https://github.com/doctrine/inflector/tree/2.1.0"
+ "source": "https://github.com/doctrine/inflector/tree/2.1.1"
},
"funding": [
{
@@ -686,20 +688,20 @@
"type": "tidelift"
}
],
- "time": "2025-08-10T19:31:58+00:00"
+ "time": "2026-10-26T08:14:14+00:00"
},
{
"name": "doctrine/instantiator",
- "version": "2.1.0",
+ "version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
- "reference": "23da848e1a2308728fe5fdddabf4be17ff9720c7"
+ "reference": "bf3870fbe25c1b5f4febaf281be76d1e2d86df30"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/23da848e1a2308728fe5fdddabf4be17ff9720c7",
- "reference": "23da848e1a2308728fe5fdddabf4be17ff9720c7",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/bf3870fbe25c1b5f4febaf281be76d1e2d86df30",
+ "reference": "bf3870fbe25c1b5f4febaf281be76d1e2d86df30",
"shasum": ""
},
"require": {
@@ -709,15 +711,15 @@
"doctrine/coding-standard": "^14",
"ext-pdo": "*",
"ext-phar": "*",
- "phpbench/phpbench": "^1.2",
- "phpstan/phpstan": "^2.1",
- "phpstan/phpstan-phpunit": "^2.0",
- "phpunit/phpunit": "^10.5.58"
+ "phpbench/phpbench": "^1.7",
+ "phpstan/phpstan": "^2.3",
+ "phpstan/phpstan-phpunit": "^2.1",
+ "phpunit/phpunit": "^13.4.6"
},
"type": "library",
"autoload": {
"psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
+ "Doctrine\\Instantiator\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -739,7 +741,7 @@
],
"support": {
"issues": "https://github.com/doctrine/instantiator/issues",
- "source": "https://github.com/doctrine/instantiator/tree/2.1.0"
+ "source": "https://github.com/doctrine/instantiator/tree/2.2.0"
},
"funding": [
{
@@ -755,31 +757,29 @@
"type": "tidelift"
}
],
- "time": "2026-01-05T06:47:08+00:00"
+ "time": "2026-11-15T20:06:55+00:00"
},
{
"name": "doctrine/lexer",
- "version": "3.0.1",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/lexer.git",
- "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd"
+ "reference": "71d305eaa6480d3d3460c7d053d1da7749fa9cca"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd",
- "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd",
+ "url": "https://api.github.com/repos/doctrine/lexer/zipball/71d305eaa6480d3d3460c7d053d1da7749fa9cca",
+ "reference": "71d305eaa6480d3d3460c7d053d1da7749fa9cca",
"shasum": ""
},
"require": {
"php": "^8.1"
},
"require-dev": {
- "doctrine/coding-standard": "^12",
- "phpstan/phpstan": "^1.10",
- "phpunit/phpunit": "^10.5",
- "psalm/plugin-phpunit": "^0.18.3",
- "vimeo/psalm": "^5.21"
+ "doctrine/coding-standard": "^14",
+ "phpstan/phpstan": "^2",
+ "phpunit/phpunit": "^10.5.58 || ^12.5.4"
},
"type": "library",
"autoload": {
@@ -816,7 +816,7 @@
],
"support": {
"issues": "https://github.com/doctrine/lexer/issues",
- "source": "https://github.com/doctrine/lexer/tree/3.0.1"
+ "source": "https://github.com/doctrine/lexer/tree/3.0.3"
},
"funding": [
{
@@ -832,20 +832,20 @@
"type": "tidelift"
}
],
- "time": "2024-02-05T11:56:58+00:00"
+ "time": "2026-10-01T06:59:29+00:00"
},
{
"name": "doctrine/migrations",
- "version": "3.9.7",
+ "version": "3.9.8",
"source": {
"type": "git",
"url": "https://github.com/doctrine/migrations.git",
- "reference": "96cb2a89b56c9efb0bac38e606dc0b0f13e650ec"
+ "reference": "eb0b9ce3f999d720fa73037bbd06977ea34b76a0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/migrations/zipball/96cb2a89b56c9efb0bac38e606dc0b0f13e650ec",
- "reference": "96cb2a89b56c9efb0bac38e606dc0b0f13e650ec",
+ "url": "https://api.github.com/repos/doctrine/migrations/zipball/eb0b9ce3f999d720fa73037bbd06977ea34b76a0",
+ "reference": "eb0b9ce3f999d720fa73037bbd06977ea34b76a0",
"shasum": ""
},
"require": {
@@ -919,7 +919,7 @@
],
"support": {
"issues": "https://github.com/doctrine/migrations/issues",
- "source": "https://github.com/doctrine/migrations/tree/3.9.7"
+ "source": "https://github.com/doctrine/migrations/tree/3.9.8"
},
"funding": [
{
@@ -935,28 +935,28 @@
"type": "tidelift"
}
],
- "time": "2026-04-23T19:33:20+00:00"
+ "time": "2026-10-04T12:35:58+00:00"
},
{
"name": "doctrine/orm",
- "version": "3.6.7",
+ "version": "3.8.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/orm.git",
- "reference": "bc217c0e19c3a9eadfa67697143b87c9ba01272c"
+ "reference": "243f25157055d553da52d7c4bbe73c4623dadc61"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/orm/zipball/bc217c0e19c3a9eadfa67697143b87c9ba01272c",
- "reference": "bc217c0e19c3a9eadfa67697143b87c9ba01272c",
+ "url": "https://api.github.com/repos/doctrine/orm/zipball/243f25157055d553da52d7c4bbe73c4623dadc61",
+ "reference": "243f25157055d553da52d7c4bbe73c4623dadc61",
"shasum": ""
},
"require": {
"composer-runtime-api": "^2",
- "doctrine/collections": "^2.2",
+ "doctrine/collections": "^2.2 || ^3.1",
"doctrine/dbal": "^3.8.2 || ^4",
"doctrine/deprecations": "^0.5.3 || ^1",
- "doctrine/event-manager": "^1.2 || ^2",
+ "doctrine/event-manager": "^2.1.1",
"doctrine/inflector": "^1.4 || ^2.0",
"doctrine/instantiator": "^1.3 || ^2",
"doctrine/lexer": "^3",
@@ -965,19 +965,23 @@
"php": "^8.1",
"psr/cache": "^1 || ^2 || ^3",
"symfony/console": "^5.4 || ^6.0 || ^7.0 || ^8.0",
+ "symfony/polyfill-php86": "^1.37",
"symfony/var-exporter": "^6.3.9 || ^7.0 || ^8.0"
},
"require-dev": {
"doctrine/coding-standard": "^14.0",
+ "doctrine/orm-plugin-second-level-cache": "^1.0",
"phpbench/phpbench": "^1.0",
"phpstan/extension-installer": "^1.4",
- "phpstan/phpstan": "2.1.23",
+ "phpstan/phpstan": "2.3.5",
"phpstan/phpstan-deprecation-rules": "^2",
"phpunit/phpunit": "^10.5.0 || ^11.5",
"psr/log": "^1 || ^2 || ^3",
"symfony/cache": "^5.4 || ^6.2 || ^7.0 || ^8.0"
},
"suggest": {
+ "doctrine/orm-plugin-second-level-cache": "Second level cache functionality needs extra package.",
+ "ext-deepclone": "Improves performance when not using native lazy objects (Symfony 8.1+)",
"ext-dom": "Provides support for XSD validation for XML mapping files",
"symfony/cache": "Provides cache support for Setup Tool with doctrine/cache 2.0"
},
@@ -1021,22 +1025,22 @@
],
"support": {
"issues": "https://github.com/doctrine/orm/issues",
- "source": "https://github.com/doctrine/orm/tree/3.6.7"
+ "source": "https://github.com/doctrine/orm/tree/3.8.0"
},
- "time": "2026-05-25T16:45:47+00:00"
+ "time": "2026-11-14T11:18:54+00:00"
},
{
"name": "doctrine/persistence",
- "version": "4.2.0",
+ "version": "4.2.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/persistence.git",
- "reference": "49ab73e0d3e2ac8d1f5ecda3dd8acd5503781e8b"
+ "reference": "d8293831c5b99449b2f63eb1e1bbdc202118daa6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/persistence/zipball/49ab73e0d3e2ac8d1f5ecda3dd8acd5503781e8b",
- "reference": "49ab73e0d3e2ac8d1f5ecda3dd8acd5503781e8b",
+ "url": "https://api.github.com/repos/doctrine/persistence/zipball/d8293831c5b99449b2f63eb1e1bbdc202118daa6",
+ "reference": "d8293831c5b99449b2f63eb1e1bbdc202118daa6",
"shasum": ""
},
"require": {
@@ -1101,7 +1105,7 @@
],
"support": {
"issues": "https://github.com/doctrine/persistence/issues",
- "source": "https://github.com/doctrine/persistence/tree/4.2.0"
+ "source": "https://github.com/doctrine/persistence/tree/4.2.1"
},
"funding": [
{
@@ -1117,7 +1121,7 @@
"type": "tidelift"
}
],
- "time": "2026-04-26T12:12:52+00:00"
+ "time": "2026-10-03T14:15:35+00:00"
},
{
"name": "eluceo/ical",
@@ -1244,26 +1248,26 @@
},
{
"name": "firebase/php-jwt",
- "version": "v7.1.0",
+ "version": "v7.2.2",
"source": {
"type": "git",
"url": "https://github.com/googleapis/php-jwt.git",
- "reference": "b374a5d1a4f1f67fadc2165cdb284645945e2fc0"
+ "reference": "99efeb17d6def8c0295777f2d45b07ff4fdb4e40"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/googleapis/php-jwt/zipball/b374a5d1a4f1f67fadc2165cdb284645945e2fc0",
- "reference": "b374a5d1a4f1f67fadc2165cdb284645945e2fc0",
+ "url": "https://api.github.com/repos/googleapis/php-jwt/zipball/99efeb17d6def8c0295777f2d45b07ff4fdb4e40",
+ "reference": "99efeb17d6def8c0295777f2d45b07ff4fdb4e40",
"shasum": ""
},
"require": {
"php": "^8.0"
},
"require-dev": {
- "guzzlehttp/guzzle": "^7.4",
+ "guzzlehttp/guzzle": "^7.4||^8.0",
"phpfastcache/phpfastcache": "^9.2",
"phpseclib/phpseclib": "~3.0",
- "phpspec/prophecy-phpunit": "^2.0",
+ "phpspec/prophecy-phpunit": "^2.2",
"phpunit/phpunit": "^9.5",
"psr/cache": "^2.0||^3.0",
"psr/http-client": "^1.0",
@@ -1275,6 +1279,14 @@
"phpseclib/phpseclib": "Support PS256 (RSASSA-PSS) signatures"
},
"type": "library",
+ "extra": {
+ "component": {
+ "id": "jwt",
+ "path": "Jwt",
+ "entry": "README.md",
+ "target": "googleapis/php-jwt.git"
+ }
+ },
"autoload": {
"psr-4": {
"Firebase\\JWT\\": "src"
@@ -1304,9 +1316,9 @@
],
"support": {
"issues": "https://github.com/googleapis/php-jwt/issues",
- "source": "https://github.com/googleapis/php-jwt/tree/v7.1.0"
+ "source": "https://github.com/googleapis/php-jwt/tree/v7.2.2"
},
- "time": "2026-06-11T17:54:14+00:00"
+ "time": "2026-11-17T00:25:19+00:00"
},
{
"name": "forxer/gravatar",
@@ -1362,20 +1374,20 @@
},
{
"name": "gedmo/doctrine-extensions",
- "version": "v3.22.0",
+ "version": "v3.22.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine-extensions/DoctrineExtensions.git",
- "reference": "e4350ee2daa7f34aa5806f2e1ea11fa4b5800e57"
+ "reference": "486719169b3042dd4cdb801f70651f30723aab9e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine-extensions/DoctrineExtensions/zipball/e4350ee2daa7f34aa5806f2e1ea11fa4b5800e57",
- "reference": "e4350ee2daa7f34aa5806f2e1ea11fa4b5800e57",
+ "url": "https://api.github.com/repos/doctrine-extensions/DoctrineExtensions/zipball/486719169b3042dd4cdb801f70651f30723aab9e",
+ "reference": "486719169b3042dd4cdb801f70651f30723aab9e",
"shasum": ""
},
"require": {
- "doctrine/collections": "^1.2 || ^2.0",
+ "doctrine/collections": "^1.2 || ^2.0 || ^3.1",
"doctrine/deprecations": "^1.0",
"doctrine/event-manager": "^1.2 || ^2.0",
"doctrine/persistence": "^2.2 || ^3.0 || ^4.0",
@@ -1470,7 +1482,7 @@
"support": {
"docs": "https://github.com/doctrine-extensions/DoctrineExtensions/tree/main/doc",
"issues": "https://github.com/doctrine-extensions/DoctrineExtensions/issues",
- "source": "https://github.com/doctrine-extensions/DoctrineExtensions/tree/v3.22.0"
+ "source": "https://github.com/doctrine-extensions/DoctrineExtensions/tree/v3.22.2"
},
"funding": [
{
@@ -1490,30 +1502,32 @@
"type": "github"
}
],
- "time": "2025-12-13T19:37:35+00:00"
+ "time": "2026-09-29T18:56:23+00:00"
},
{
"name": "guzzlehttp/guzzle",
- "version": "7.15.2",
+ "version": "8.5.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "744101956d78b7c1384d0cbf379db13e859167bf"
+ "reference": "8e893188e1ac92b457eca35ddf2b574024b66280"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/744101956d78b7c1384d0cbf379db13e859167bf",
- "reference": "744101956d78b7c1384d0cbf379db13e859167bf",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/8e893188e1ac92b457eca35ddf2b574024b66280",
+ "reference": "8e893188e1ac92b457eca35ddf2b574024b66280",
"shasum": ""
},
"require": {
"ext-json": "*",
- "guzzlehttp/promises": "^2.5.1",
- "guzzlehttp/psr7": "^2.13",
- "php": "^7.2.5 || ^8.0",
+ "guzzlehttp/promises": "^3.1",
+ "guzzlehttp/psr7": "^3.4",
+ "php": "^7.4 || ^8.0",
"psr/http-client": "^1.0",
+ "psr/http-factory": "^1.0",
"symfony/deprecation-contracts": "^2.5 || ^3.0",
- "symfony/polyfill-php80": "^1.25"
+ "symfony/polyfill-php80": "^1.25",
+ "symfony/polyfill-php82": "^1.27"
},
"provide": {
"psr/http-client-implementation": "1.0"
@@ -1521,10 +1535,10 @@
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"ext-curl": "*",
- "guzzle/client-integration-tests": "3.0.3",
- "guzzlehttp/test-server": "^0.7",
+ "guzzle/client-integration-tests": "4.0.1",
+ "guzzlehttp/test-server": "^1.1",
"php-http/message-factory": "^1.1",
- "phpunit/phpunit": "^8.5.52 || ^9.6.34",
+ "phpunit/phpunit": "^9.6.34",
"psr/log": "^1.1 || ^2.0 || ^3.0"
},
"suggest": {
@@ -1540,9 +1554,6 @@
}
},
"autoload": {
- "files": [
- "src/functions_include.php"
- ],
"psr-4": {
"GuzzleHttp\\": "src/"
}
@@ -1602,7 +1613,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
- "source": "https://github.com/guzzle/guzzle/tree/7.15.2"
+ "source": "https://github.com/guzzle/guzzle/tree/8.5.2"
},
"funding": [
{
@@ -1618,29 +1629,29 @@
"type": "tidelift"
}
],
- "time": "2026-07-26T23:23:20+00:00"
+ "time": "2026-11-17T16:24:00+00:00"
},
{
"name": "guzzlehttp/promises",
- "version": "2.5.1",
+ "version": "3.1.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "9ad1e4fc607446a055b95870c7f668e93b5cff29"
+ "reference": "094d0ec418eb3b1411ea271a180ec95cae6ae933"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/9ad1e4fc607446a055b95870c7f668e93b5cff29",
- "reference": "9ad1e4fc607446a055b95870c7f668e93b5cff29",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/094d0ec418eb3b1411ea271a180ec95cae6ae933",
+ "reference": "094d0ec418eb3b1411ea271a180ec95cae6ae933",
"shasum": ""
},
"require": {
- "php": "^7.2.5 || ^8.0",
+ "php": "^7.4 || ^8.0",
"symfony/deprecation-contracts": "^2.5 || ^3.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
- "phpunit/phpunit": "^8.5.52 || ^9.6.34"
+ "phpunit/phpunit": "^9.6.34"
},
"type": "library",
"extra": {
@@ -1686,7 +1697,7 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
- "source": "https://github.com/guzzle/promises/tree/2.5.1"
+ "source": "https://github.com/guzzle/promises/tree/3.1.0"
},
"funding": [
{
@@ -1702,41 +1713,43 @@
"type": "tidelift"
}
],
- "time": "2026-07-08T15:48:39+00:00"
+ "time": "2026-10-18T12:48:16+00:00"
},
{
"name": "guzzlehttp/psr7",
- "version": "2.13.0",
+ "version": "3.5.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "dad89620b7a6edb60c15858442eb2e408b45d8f4"
+ "reference": "b7d9cd94918e1f042d22cf188a7a866e5906bf1d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/dad89620b7a6edb60c15858442eb2e408b45d8f4",
- "reference": "dad89620b7a6edb60c15858442eb2e408b45d8f4",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/b7d9cd94918e1f042d22cf188a7a866e5906bf1d",
+ "reference": "b7d9cd94918e1f042d22cf188a7a866e5906bf1d",
"shasum": ""
},
"require": {
- "php": "^7.2.5 || ^8.0",
- "psr/http-factory": "^1.0",
- "psr/http-message": "^1.1 || ^2.0",
- "ralouphie/getallheaders": "^3.0",
+ "php": "^7.4 || ^8.0",
+ "psr/http-factory": "^1.1",
+ "psr/http-message": "^2.0",
"symfony/deprecation-contracts": "^2.5 || ^3.0",
- "symfony/polyfill-php80": "^1.25"
+ "symfony/polyfill-php80": "^1.25",
+ "symfony/polyfill-php82": "^1.27"
},
"provide": {
- "psr/http-factory-implementation": "1.0",
- "psr/http-message-implementation": "1.0"
+ "psr/http-factory-implementation": "1.1",
+ "psr/http-message-implementation": "2.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"http-interop/http-factory-tests": "1.1.0",
"jshttp/mime-db": "1.54.0.1",
- "phpunit/phpunit": "^8.5.52 || ^9.6.34"
+ "php-http/psr7-integration-tests": "^1.5.1",
+ "phpunit/phpunit": "^9.6.34"
},
"suggest": {
+ "ext-intl": "Convert internationalized hosts with Idna",
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"type": "library",
@@ -1805,7 +1818,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/2.13.0"
+ "source": "https://github.com/guzzle/psr7/tree/3.5.0"
},
"funding": [
{
@@ -1821,26 +1834,26 @@
"type": "tidelift"
}
],
- "time": "2026-07-16T22:23:49+00:00"
+ "time": "2026-11-18T15:29:09+00:00"
},
{
"name": "latte/latte",
- "version": "v3.1.4",
+ "version": "v3.1.9",
"source": {
"type": "git",
"url": "https://github.com/nette/latte.git",
- "reference": "14dea9fc32c0d1cf5e9a1bd59556ae8be023c2a6"
+ "reference": "0b31b39970b9e6d05c5ec9a6407498782a479523"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/latte/zipball/14dea9fc32c0d1cf5e9a1bd59556ae8be023c2a6",
- "reference": "14dea9fc32c0d1cf5e9a1bd59556ae8be023c2a6",
+ "url": "https://api.github.com/repos/nette/latte/zipball/0b31b39970b9e6d05c5ec9a6407498782a479523",
+ "reference": "0b31b39970b9e6d05c5ec9a6407498782a479523",
"shasum": ""
},
"require": {
"ext-json": "*",
"ext-tokenizer": "*",
- "php": "8.2 - 8.5"
+ "php": "8.2 - 8.6"
},
"conflict": {
"nette/application": "<3.1.7",
@@ -1890,42 +1903,39 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites. Introduces context-sensitive escaping.",
+ "description": "☕ Latte: the safest template engine for PHP. Context-sensitive escaping stops XSS, tags speak PHP, and n:attributes keep the HTML clean.",
"homepage": "https://latte.nette.org",
"keywords": [
+ "blade",
"context-sensitive",
- "engine",
"escaping",
- "html",
+ "latte",
"nette",
- "security",
- "template",
- "twig"
+ "template engine",
+ "templating",
+ "twig",
+ "xss"
],
"support": {
"issues": "https://github.com/nette/latte/issues",
- "source": "https://github.com/nette/latte/tree/v3.1.4"
+ "source": "https://github.com/nette/latte/tree/v3.1.9"
},
- "time": "2026-04-23T06:30:25+00:00"
+ "time": "2026-11-18T02:55:27+00:00"
},
{
"name": "league/commonmark",
- "version": "2.10.0",
+ "version": "2.10.7",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/commonmark.git",
- "reference": "d2d1aa8b35e072966c89bc0c66cf926e56767dc4"
+ "reference": "8eb53e906fd60c67038d22f1f1cab420ed58b8be"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d2d1aa8b35e072966c89bc0c66cf926e56767dc4",
- "reference": "d2d1aa8b35e072966c89bc0c66cf926e56767dc4",
+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/8eb53e906fd60c67038d22f1f1cab420ed58b8be",
+ "reference": "8eb53e906fd60c67038d22f1f1cab420ed58b8be",
"shasum": ""
},
"require": {
@@ -2019,7 +2029,7 @@
"type": "tidelift"
}
],
- "time": "2026-08-11T16:06:25+00:00"
+ "time": "2026-10-31T13:35:37+00:00"
},
{
"name": "league/config",
@@ -2105,20 +2115,20 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.13.4",
+ "version": "1.14.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a"
+ "reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a",
- "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae",
+ "reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae",
"shasum": ""
},
"require": {
- "php": "^7.1 || ^8.0"
+ "php": "^8.0"
},
"conflict": {
"doctrine/collections": "<1.6.8",
@@ -2153,15 +2163,15 @@
],
"support": {
"issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4"
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.14.0"
},
"funding": [
{
- "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
- "type": "tidelift"
+ "url": "https://github.com/mnapoli",
+ "type": "github"
}
],
- "time": "2025-08-01T08:46:24+00:00"
+ "time": "2026-08-11T10:17:44+00:00"
},
{
"name": "nelmio/alice",
@@ -2260,27 +2270,27 @@
},
{
"name": "nette/application",
- "version": "v3.3.0",
+ "version": "v3.3.1",
"source": {
"type": "git",
"url": "https://github.com/nette/application.git",
- "reference": "104484c317fdb1b29baf77617ca040b97685e9bb"
+ "reference": "9be740fd3f87df584271630436606cb53a9d4bb2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/application/zipball/104484c317fdb1b29baf77617ca040b97685e9bb",
- "reference": "104484c317fdb1b29baf77617ca040b97685e9bb",
+ "url": "https://api.github.com/repos/nette/application/zipball/9be740fd3f87df584271630436606cb53a9d4bb2",
+ "reference": "9be740fd3f87df584271630436606cb53a9d4bb2",
"shasum": ""
},
"require": {
"nette/component-model": "^3.2 || ^4.0",
"nette/http": "^3.4",
- "nette/routing": "^3.1.1",
+ "nette/routing": "^3.1.5",
"nette/utils": "^4.1",
- "php": "8.3 - 8.5"
+ "php": "8.3 - 8.6"
},
"conflict": {
- "latte/latte": "<3.1.4 || >=3.2",
+ "latte/latte": "<3.1.5 || >=3.2",
"nette/caching": "<3.2",
"nette/di": "<3.2",
"nette/forms": "<3.2",
@@ -2330,50 +2340,43 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "🏆 Nette Application: a full-stack component-based MVC kernel for PHP that helps you write powerful and modern web applications. Write less, have cleaner code and your work will bring you joy.",
- "homepage": "https://nette.org",
+ "description": "🏆 Nette Application: the heart of Nette, a component-based MVC framework. Presenters, components that keep their own state, AJAX snippets, and security built in.",
+ "homepage": "https://doc.nette.org/application",
"keywords": [
- "Forms",
- "component-based",
- "control",
- "framework",
+ "ajax",
+ "components",
"mvc",
"mvp",
"nette",
"presenter",
- "routing",
- "seo"
+ "web framework"
],
"support": {
"issues": "https://github.com/nette/application/issues",
- "source": "https://github.com/nette/application/tree/v3.3.0"
+ "source": "https://github.com/nette/application/tree/v3.3.1"
},
- "time": "2026-06-29T19:05:48+00:00"
+ "time": "2026-11-05T23:18:56+00:00"
},
{
"name": "nette/bootstrap",
- "version": "v3.3.0",
+ "version": "v3.3.1",
"source": {
"type": "git",
"url": "https://github.com/nette/bootstrap.git",
- "reference": "3c8cbf8383b6df153bfb848a3c311ce42261a336"
+ "reference": "674c83f78d34f15d7328038c93e67d292da57c47"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/bootstrap/zipball/3c8cbf8383b6df153bfb848a3c311ce42261a336",
- "reference": "3c8cbf8383b6df153bfb848a3c311ce42261a336",
+ "url": "https://api.github.com/repos/nette/bootstrap/zipball/674c83f78d34f15d7328038c93e67d292da57c47",
+ "reference": "674c83f78d34f15d7328038c93e67d292da57c47",
"shasum": ""
},
"require": {
"nette/di": "^3.2",
"nette/utils": "^4.1",
- "php": "8.3 - 8.5"
+ "php": "8.3 - 8.6"
},
"conflict": {
"nette/caching": "<3.3",
@@ -2389,7 +2392,7 @@
"nette/forms": "^3.2",
"nette/http": "^3.2",
"nette/mail": "^4.1",
- "nette/neon": "^3.4",
+ "nette/neon": "^3.4 || ^4.0",
"nette/phpstan-rules": "^1.0",
"nette/robot-loader": "^4.0",
"nette/safe-stream": "^2.2",
@@ -2427,50 +2430,50 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.",
- "homepage": "https://nette.org",
+ "description": "🅱 Nette Bootstrap: starts a Nette application in a few lines. Loads the NEON configuration, detects debug mode, turns on Tracy and builds the DI container.",
+ "homepage": "https://doc.nette.org/bootstrap",
"keywords": [
+ "bootstrap",
"bootstrapping",
+ "configuration",
"configurator",
+ "debug mode",
+ "environment",
"nette"
],
"support": {
"issues": "https://github.com/nette/bootstrap/issues",
- "source": "https://github.com/nette/bootstrap/tree/v3.3.0"
+ "source": "https://github.com/nette/bootstrap/tree/v3.3.1"
},
- "time": "2026-06-21T22:20:56+00:00"
+ "time": "2026-10-28T02:38:25+00:00"
},
{
"name": "nette/caching",
- "version": "v3.4.2",
+ "version": "v4.0.0",
"source": {
"type": "git",
"url": "https://github.com/nette/caching.git",
- "reference": "31f4bc6b366e6896998bd4538b26fa88a627bf2b"
+ "reference": "60df393b7f3523f71a0e98b82258abf1e3a626ab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/caching/zipball/31f4bc6b366e6896998bd4538b26fa88a627bf2b",
- "reference": "31f4bc6b366e6896998bd4538b26fa88a627bf2b",
+ "url": "https://api.github.com/repos/nette/caching/zipball/60df393b7f3523f71a0e98b82258abf1e3a626ab",
+ "reference": "60df393b7f3523f71a0e98b82258abf1e3a626ab",
"shasum": ""
},
"require": {
- "nette/utils": "^4.0",
- "php": "8.1 - 8.5"
+ "nette/utils": "^4.1",
+ "php": "8.4 - 8.6"
},
"conflict": {
- "latte/latte": "<3.0.12"
+ "latte/latte": "<3.1.4"
},
"require-dev": {
- "latte/latte": "^3.0.12",
+ "latte/latte": "^3.1.4",
"nette/di": "^3.1 || ^4.0",
- "nette/phpstan-rules": "^1.0",
+ "nette/phpstan-rules": "^1.0.7",
"nette/tester": "^2.6",
"phpstan/extension-installer": "^1.4@stable",
"phpstan/phpstan": "^2.1.40@stable",
@@ -2478,12 +2481,15 @@
"tracy/tracy": "^2.9"
},
"suggest": {
- "ext-pdo_sqlite": "to use SQLiteStorage or SQLiteJournal"
+ "ext-memcached": "to use MemcachedStorage",
+ "ext-pdo_sqlite": "to use SQLiteStorage or SQLiteJournal",
+ "ext-redis": "to use RedisStorage",
+ "psr/simple-cache": "to use PsrCacheAdapter or Psr16Storage"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.4-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -2504,44 +2510,43 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "⏱ Nette Caching: library with easy-to-use API and many cache backends.",
- "homepage": "https://nette.org",
+ "description": "⚡ Nette Caching: a cache with an easy API and smart invalidation by expiration, tags, priorities or file changes. Storages for files, SQLite, Memcached, Redis and memory.",
+ "homepage": "https://doc.nette.org/caching",
"keywords": [
"cache",
- "journal",
+ "cache invalidation",
+ "caching",
"memcached",
"nette",
+ "psr-16",
+ "redis",
"sqlite"
],
"support": {
"issues": "https://github.com/nette/caching/issues",
- "source": "https://github.com/nette/caching/tree/v3.4.2"
+ "source": "https://github.com/nette/caching/tree/v4.0.0"
},
- "time": "2026-05-12T01:08:42+00:00"
+ "time": "2026-11-06T16:35:12+00:00"
},
{
"name": "nette/component-model",
- "version": "v4.0.1",
+ "version": "v4.0.2",
"source": {
"type": "git",
"url": "https://github.com/nette/component-model.git",
- "reference": "b4e82e1a3a7ca6f66ce766704aa2e148de277276"
+ "reference": "ad4d3f27b6a69157475a781b17d68e7f5ec39184"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/component-model/zipball/b4e82e1a3a7ca6f66ce766704aa2e148de277276",
- "reference": "b4e82e1a3a7ca6f66ce766704aa2e148de277276",
+ "url": "https://api.github.com/repos/nette/component-model/zipball/ad4d3f27b6a69157475a781b17d68e7f5ec39184",
+ "reference": "ad4d3f27b6a69157475a781b17d68e7f5ec39184",
"shasum": ""
},
"require": {
"nette/utils": "^4.1",
- "php": "8.3 - 8.5"
+ "php": "8.3 - 8.6"
},
"require-dev": {
"nette/phpstan-rules": "^1.0",
@@ -2574,58 +2579,59 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "⚛ Nette Component Model",
- "homepage": "https://nette.org",
+ "description": "🧩 Nette Component Model: the tree of named components that presenters, controls and forms in Nette are built on.",
+ "homepage": "https://doc.nette.org/component-model",
"keywords": [
+ "component tree",
"components",
+ "composite",
"nette"
],
"support": {
"issues": "https://github.com/nette/component-model/issues",
- "source": "https://github.com/nette/component-model/tree/v4.0.1"
+ "source": "https://github.com/nette/component-model/tree/v4.0.2"
},
- "time": "2026-06-21T23:31:36+00:00"
+ "time": "2026-10-27T01:42:42+00:00"
},
{
"name": "nette/database",
- "version": "v3.2.9",
+ "version": "v3.3.x-dev",
"source": {
"type": "git",
"url": "https://github.com/nette/database.git",
- "reference": "6fe51398fcfc7719f64b7063f99886b438527755"
+ "reference": "380629f84f6189d3a8dec506d1725692b477c086"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/database/zipball/6fe51398fcfc7719f64b7063f99886b438527755",
- "reference": "6fe51398fcfc7719f64b7063f99886b438527755",
+ "url": "https://api.github.com/repos/nette/database/zipball/380629f84f6189d3a8dec506d1725692b477c086",
+ "reference": "380629f84f6189d3a8dec506d1725692b477c086",
"shasum": ""
},
"require": {
"ext-pdo": "*",
- "nette/caching": "^3.2",
- "nette/utils": "^4.0",
- "php": "8.1 - 8.5"
+ "nette/caching": "^3.4 || ^4.0",
+ "nette/utils": "^4.1",
+ "php": "8.4 - 8.6"
+ },
+ "conflict": {
+ "tracy/tracy": "<2.12"
},
"require-dev": {
"jetbrains/phpstorm-attributes": "^1.2",
"mockery/mockery": "^1.6@stable",
"nette/di": "^3.1",
- "nette/phpstan-rules": "^1.0",
+ "nette/phpstan-rules": "^1.0.5",
"nette/tester": "^2.6",
"phpstan/extension-installer": "^1.4@stable",
- "phpstan/phpstan": "^2.1@stable",
- "tracy/tracy": "^2.9"
+ "phpstan/phpstan": "^2.3@stable",
+ "tracy/tracy": "^2.12"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.2-dev"
+ "dev-master": "3.3-dev"
}
},
"autoload": {
@@ -2646,61 +2652,60 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "💾 Nette Database: layer with a familiar PDO-like API but much more powerful. Building queries, advanced joins, drivers for MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle.",
- "homepage": "https://nette.org",
+ "description": "💾 Nette Database: a database layer with SQL and smart placeholders, plus Explorer, which follows table relations without joins or N+1 queries and fetches only the columns you use.",
+ "homepage": "https://doc.nette.org/database",
"keywords": [
+ "Active Record",
"database",
+ "dbal",
"mssql",
"mysql",
"nette",
- "notorm",
"oracle",
"pdo",
"postgresql",
- "queries",
+ "query builder",
+ "sql",
"sqlite"
],
"support": {
"issues": "https://github.com/nette/database/issues",
- "source": "https://github.com/nette/database/tree/v3.2.9"
+ "source": "https://github.com/nette/database/tree/v3.3"
},
- "time": "2026-04-22T05:48:11+00:00"
+ "time": "2026-11-08T00:00:24+00:00"
},
{
"name": "nette/di",
- "version": "v3.2.6",
+ "version": "v3.2.8",
"source": {
"type": "git",
"url": "https://github.com/nette/di.git",
- "reference": "481ca2553e792daffa7fcf0ed43f705d80603fa4"
+ "reference": "1cfb1c167930957d8dffde5e617e8173a6da5e2d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/di/zipball/481ca2553e792daffa7fcf0ed43f705d80603fa4",
- "reference": "481ca2553e792daffa7fcf0ed43f705d80603fa4",
+ "url": "https://api.github.com/repos/nette/di/zipball/1cfb1c167930957d8dffde5e617e8173a6da5e2d",
+ "reference": "1cfb1c167930957d8dffde5e617e8173a6da5e2d",
"shasum": ""
},
"require": {
"ext-ctype": "*",
"ext-tokenizer": "*",
- "nette/neon": "^3.4",
+ "nette/neon": "^3.4 || ^4.0",
"nette/php-generator": "^4.1.6",
"nette/robot-loader": "^4.0",
"nette/schema": "^1.2.5",
- "nette/utils": "^4.0",
- "php": "8.1 - 8.5"
+ "nette/utils": "^4.0.6",
+ "php": "8.1 - 8.6"
},
"require-dev": {
"nette/phpstan-rules": "^1.0",
"nette/tester": "^2.6",
"phpstan/extension-installer": "^1.4@stable",
"phpstan/phpstan": "^2.1@stable",
+ "psr/container": "^1.1 || ^2.0",
"tracy/tracy": "^2.9"
},
"type": "library",
@@ -2727,60 +2732,57 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.",
- "homepage": "https://nette.org",
+ "description": "💎 Nette DI: a dependency injection container with autowiring, configured in NEON and compiled into readable PHP code. Factories and accessors are generated from an interface alone.",
+ "homepage": "https://doc.nette.org/dependency-injection",
"keywords": [
- "compiled",
+ "Autowiring",
+ "container",
+ "dependency injection",
"di",
"dic",
- "factory",
"ioc",
"nette",
- "static"
+ "service container"
],
"support": {
"issues": "https://github.com/nette/di/issues",
- "source": "https://github.com/nette/di/tree/v3.2.6"
+ "source": "https://github.com/nette/di/tree/v3.2.8"
},
- "time": "2026-05-06T02:17:57+00:00"
+ "time": "2026-10-26T00:44:01+00:00"
},
{
"name": "nette/forms",
- "version": "v3.3.0",
+ "version": "v3.3.1",
"source": {
"type": "git",
"url": "https://github.com/nette/forms.git",
- "reference": "90aac9e6a55a71a76aaead65bca1129acb41ec84"
+ "reference": "08eef835ecbd58c43ab31a5d5e62a9619fdc6719"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/forms/zipball/90aac9e6a55a71a76aaead65bca1129acb41ec84",
- "reference": "90aac9e6a55a71a76aaead65bca1129acb41ec84",
+ "url": "https://api.github.com/repos/nette/forms/zipball/08eef835ecbd58c43ab31a5d5e62a9619fdc6719",
+ "reference": "08eef835ecbd58c43ab31a5d5e62a9619fdc6719",
"shasum": ""
},
"require": {
"nette/component-model": "^3.2 || ^4.0",
"nette/http": "^3.4",
"nette/utils": "^4.1",
- "php": "8.3 - 8.5"
+ "php": "8.3 - 8.6"
},
"conflict": {
- "latte/latte": "<3.1.4 || >=3.2"
+ "latte/latte": "<3.1.5 || >=3.2"
},
"require-dev": {
- "latte/latte": "^3.1.4",
+ "latte/latte": "^3.1.5",
"nette/application": "^3.2",
"nette/di": "^3.2",
- "nette/phpstan-rules": "^1.0",
+ "nette/phpstan-rules": "^1.0.7",
"nette/tester": "^2.6",
"phpstan/extension-installer": "^1.4@stable",
- "phpstan/phpstan": "^2.1@stable",
+ "phpstan/phpstan": "^2.3@stable",
"tracy/tracy": "^2.12"
},
"suggest": {
@@ -2810,45 +2812,41 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server & client side validation and mature design.",
- "homepage": "https://nette.org",
+ "description": "📝 Nette Forms: secure forms with one set of validation rules for server and browser, CSRF protection, and rendering done automatically or by hand in Latte.",
+ "homepage": "https://doc.nette.org/forms",
"keywords": [
"Forms",
- "bootstrap",
+ "client-side validation",
"csrf",
- "javascript",
- "nette",
- "validation"
+ "form builder",
+ "form validation",
+ "nette"
],
"support": {
"issues": "https://github.com/nette/forms/issues",
- "source": "https://github.com/nette/forms/tree/v3.3.0"
+ "source": "https://github.com/nette/forms/tree/v3.3.1"
},
- "time": "2026-06-28T12:32:44+00:00"
+ "time": "2026-10-29T03:56:00+00:00"
},
{
"name": "nette/http",
- "version": "v3.4.0",
+ "version": "v3.4.2",
"source": {
"type": "git",
"url": "https://github.com/nette/http.git",
- "reference": "de5988d8802e76d9bda85fe5a871d29c794684f4"
+ "reference": "9dc3e7e8713c54024a612496a45ef06a1a2b0595"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/http/zipball/de5988d8802e76d9bda85fe5a871d29c794684f4",
- "reference": "de5988d8802e76d9bda85fe5a871d29c794684f4",
+ "url": "https://api.github.com/repos/nette/http/zipball/9dc3e7e8713c54024a612496a45ef06a1a2b0595",
+ "reference": "9dc3e7e8713c54024a612496a45ef06a1a2b0595",
"shasum": ""
},
"require": {
"nette/utils": "^4.1",
- "php": "8.3 - 8.5"
+ "php": "8.3 - 8.6"
},
"conflict": {
"nette/di": "<3.0.3",
@@ -2893,49 +2891,45 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.",
- "homepage": "https://nette.org",
+ "description": "🌐 Nette HTTP: the request, response, URL, cookies, sessions and file uploads as objects, with sanitized input and same-origin protection against CSRF.",
+ "homepage": "https://doc.nette.org/http",
"keywords": [
"cookies",
+ "csrf",
+ "file upload",
"http",
"nette",
- "proxy",
"request",
"response",
- "security",
"session",
"url"
],
"support": {
"issues": "https://github.com/nette/http/issues",
- "source": "https://github.com/nette/http/tree/v3.4.0"
+ "source": "https://github.com/nette/http/tree/v3.4.2"
},
- "time": "2026-06-13T01:04:19+00:00"
+ "time": "2026-10-23T13:29:19+00:00"
},
{
"name": "nette/mail",
- "version": "v4.1.2",
+ "version": "v4.2.3",
"source": {
"type": "git",
"url": "https://github.com/nette/mail.git",
- "reference": "c4ffac25187b1212fb9014341ecf96ed2fd8c4fc"
+ "reference": "ad6b20edcc1d79932456c92c7c4bc213570a7674"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/mail/zipball/c4ffac25187b1212fb9014341ecf96ed2fd8c4fc",
- "reference": "c4ffac25187b1212fb9014341ecf96ed2fd8c4fc",
+ "url": "https://api.github.com/repos/nette/mail/zipball/ad6b20edcc1d79932456c92c7c4bc213570a7674",
+ "reference": "ad6b20edcc1d79932456c92c7c4bc213570a7674",
"shasum": ""
},
"require": {
"ext-iconv": "*",
"nette/utils": "^4.1",
- "php": "8.2 - 8.5"
+ "php": "8.2 - 8.6"
},
"require-dev": {
"nette/di": "^3.1 || ^4.0",
@@ -2948,7 +2942,9 @@
"suggest": {
"ext-dom": "to use Nette\\Mail\\CssInliner",
"ext-fileinfo": "to detect type of attached files",
- "ext-openssl": "to use Nette\\Mail\\DkimSigner"
+ "ext-intl": "to send to internationalized (IDN) domains",
+ "ext-openssl": "to use Nette\\Mail\\DkimSigner with an RSA key",
+ "ext-sodium": "to use Nette\\Mail\\DkimSigner with an Ed25519 key"
},
"type": "library",
"extra": {
@@ -2974,48 +2970,51 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "📧 Nette Mail: A handy library for creating and sending emails in PHP.",
- "homepage": "https://nette.org",
+ "description": "📧 Nette Mail: composes and sends emails. HTML with images embedded automatically, attachments, Latte templates, SMTP with OAuth 2.0 and DKIM signing.",
+ "homepage": "https://doc.nette.org/mail",
"keywords": [
+ "attachments",
+ "dkim",
+ "email",
"mail",
"mailer",
- "mime",
"nette",
+ "oauth2",
+ "phpmailer",
"smtp"
],
"support": {
"issues": "https://github.com/nette/mail/issues",
- "source": "https://github.com/nette/mail/tree/v4.1.2"
+ "source": "https://github.com/nette/mail/tree/v4.2.3"
},
- "time": "2026-05-19T18:23:42+00:00"
+ "time": "2026-11-06T01:09:26+00:00"
},
{
"name": "nette/neon",
- "version": "v3.4.8",
+ "version": "v4.0.1",
"source": {
"type": "git",
"url": "https://github.com/nette/neon.git",
- "reference": "9009f99ce1396b366a88ca16c90177148352b7d3"
+ "reference": "8fd6289466739c13f4b196936fa185bd933e1ddb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/neon/zipball/9009f99ce1396b366a88ca16c90177148352b7d3",
- "reference": "9009f99ce1396b366a88ca16c90177148352b7d3",
+ "url": "https://api.github.com/repos/nette/neon/zipball/8fd6289466739c13f4b196936fa185bd933e1ddb",
+ "reference": "8fd6289466739c13f4b196936fa185bd933e1ddb",
"shasum": ""
},
"require": {
"ext-json": "*",
- "php": "8.0 - 8.5"
+ "ext-mbstring": "*",
+ "php": "8.4 - 8.6"
},
"require-dev": {
+ "nette/phpstan-rules": "^1.0",
"nette/tester": "^2.4",
- "phpstan/phpstan-nette": "^2.0@stable",
+ "phpstan/extension-installer": "^1.4@stable",
+ "phpstan/phpstan": "^2.3@stable",
"tracy/tracy": "^2.7"
},
"bin": [
@@ -3024,7 +3023,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.4-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -3045,44 +3044,42 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "🍸 Nette NEON: encodes and decodes NEON file format.",
+ "description": "🍸 Nette NEON: a human-friendly data format, simpler than YAML and with entities for objects. Comes with a fast encoder and decoder.",
"homepage": "https://neon.nette.org",
"keywords": [
- "export",
- "import",
+ "config",
+ "configuration",
+ "data format",
"neon",
"nette",
+ "parser",
"yaml"
],
"support": {
"issues": "https://github.com/nette/neon/issues",
- "source": "https://github.com/nette/neon/tree/v3.4.8"
+ "source": "https://github.com/nette/neon/tree/v4.0.1"
},
- "time": "2026-05-11T21:34:00+00:00"
+ "time": "2026-11-06T01:23:16+00:00"
},
{
"name": "nette/php-generator",
- "version": "v4.2.2",
+ "version": "v4.2.4",
"source": {
"type": "git",
"url": "https://github.com/nette/php-generator.git",
- "reference": "0d7060926f5c3e8c488b9b9ced42d857f12a34b5"
+ "reference": "19818e4924f9620d016b874e5b7518e78dbb3b24"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/php-generator/zipball/0d7060926f5c3e8c488b9b9ced42d857f12a34b5",
- "reference": "0d7060926f5c3e8c488b9b9ced42d857f12a34b5",
+ "url": "https://api.github.com/repos/nette/php-generator/zipball/19818e4924f9620d016b874e5b7518e78dbb3b24",
+ "reference": "19818e4924f9620d016b874e5b7518e78dbb3b24",
"shasum": ""
},
"require": {
"nette/utils": "^4.0.6",
- "php": "8.1 - 8.5"
+ "php": "8.1 - 8.6"
},
"require-dev": {
"jetbrains/phpstorm-attributes": "^1.2",
@@ -3120,44 +3117,41 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.",
- "homepage": "https://nette.org",
+ "description": "🐘 Nette PHP Generator: generates PHP code from objects. Classes, enums, functions and whole files, with namespaces resolved for you, and always up to date with the latest PHP.",
+ "homepage": "https://doc.nette.org/php-generator",
"keywords": [
- "code",
+ "code generation",
+ "code generator",
+ "codegen",
"nette",
- "php",
"scaffolding"
],
"support": {
"issues": "https://github.com/nette/php-generator/issues",
- "source": "https://github.com/nette/php-generator/tree/v4.2.2"
+ "source": "https://github.com/nette/php-generator/tree/v4.2.4"
},
- "time": "2026-02-26T00:58:33+00:00"
+ "time": "2026-10-26T22:16:39+00:00"
},
{
"name": "nette/robot-loader",
- "version": "v4.1.2",
+ "version": "v4.1.4",
"source": {
"type": "git",
"url": "https://github.com/nette/robot-loader.git",
- "reference": "ad3f4be7a9cd8a95ccc7596a1c4982a3b103d91e"
+ "reference": "7198a7e9108b6dedb5929c78c68f68b087cbec7e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/robot-loader/zipball/ad3f4be7a9cd8a95ccc7596a1c4982a3b103d91e",
- "reference": "ad3f4be7a9cd8a95ccc7596a1c4982a3b103d91e",
+ "url": "https://api.github.com/repos/nette/robot-loader/zipball/7198a7e9108b6dedb5929c78c68f68b087cbec7e",
+ "reference": "7198a7e9108b6dedb5929c78c68f68b087cbec7e",
"shasum": ""
},
"require": {
"ext-tokenizer": "*",
- "nette/utils": "^4.0",
- "php": "8.1 - 8.5"
+ "nette/utils": "^4.0.6",
+ "php": "8.1 - 8.6"
},
"require-dev": {
"nette/phpstan-rules": "^1.0",
@@ -3190,45 +3184,41 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.",
- "homepage": "https://nette.org",
+ "description": "🍀 Nette RobotLoader: autoloads every class, interface, trait and enum in your directories, with no PSR-4 and no naming rules, and remembers where it found them.",
+ "homepage": "https://doc.nette.org/robot-loader",
"keywords": [
"autoload",
- "class",
- "interface",
- "nette",
- "trait"
+ "autoloader",
+ "class loader",
+ "classmap",
+ "nette"
],
"support": {
"issues": "https://github.com/nette/robot-loader/issues",
- "source": "https://github.com/nette/robot-loader/tree/v4.1.2"
+ "source": "https://github.com/nette/robot-loader/tree/v4.1.4"
},
- "time": "2026-02-23T04:18:24+00:00"
+ "time": "2026-10-25T16:47:05+00:00"
},
{
"name": "nette/routing",
- "version": "v3.1.3",
+ "version": "v3.1.5",
"source": {
"type": "git",
"url": "https://github.com/nette/routing.git",
- "reference": "92c0f7f89bdc5f93adec24b2ed7bb0c10e2550a6"
+ "reference": "62c63a1c47869dee6081877b65684143f0bbab82"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/routing/zipball/92c0f7f89bdc5f93adec24b2ed7bb0c10e2550a6",
- "reference": "92c0f7f89bdc5f93adec24b2ed7bb0c10e2550a6",
+ "url": "https://api.github.com/repos/nette/routing/zipball/62c63a1c47869dee6081877b65684143f0bbab82",
+ "reference": "62c63a1c47869dee6081877b65684143f0bbab82",
"shasum": ""
},
"require": {
"nette/http": "^3.2 || ~4.0.0",
"nette/utils": "^4.0",
- "php": "8.1 - 8.5"
+ "php": "8.1 - 8.6"
},
"require-dev": {
"nette/phpstan-rules": "^1.0",
@@ -3261,39 +3251,41 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "Nette Routing: two-ways URL conversion",
- "homepage": "https://nette.org",
+ "description": "🧭 Nette Routing: a two-way router. One route both parses an incoming URL and generates links, so pretty, SEO-friendly URLs are defined in one place.",
+ "homepage": "https://doc.nette.org/routing",
"keywords": [
- "nette"
+ "nette",
+ "pretty urls",
+ "router",
+ "routes",
+ "routing",
+ "seo",
+ "url generation"
],
"support": {
"issues": "https://github.com/nette/routing/issues",
- "source": "https://github.com/nette/routing/tree/v3.1.3"
+ "source": "https://github.com/nette/routing/tree/v3.1.5"
},
- "time": "2026-02-23T04:05:29+00:00"
+ "time": "2026-10-26T21:58:30+00:00"
},
{
"name": "nette/safe-stream",
- "version": "v3.0.4",
+ "version": "v3.0.5",
"source": {
"type": "git",
"url": "https://github.com/nette/safe-stream.git",
- "reference": "f37cf82709f78550e752c599169289b9b73fdca1"
+ "reference": "ef9069d93b8db185f1d090159eeb68dd828860e7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/safe-stream/zipball/f37cf82709f78550e752c599169289b9b73fdca1",
- "reference": "f37cf82709f78550e752c599169289b9b73fdca1",
+ "url": "https://api.github.com/repos/nette/safe-stream/zipball/ef9069d93b8db185f1d090159eeb68dd828860e7",
+ "reference": "ef9069d93b8db185f1d090159eeb68dd828860e7",
"shasum": ""
},
"require": {
- "php": "8.0 - 8.5"
+ "php": "8.0 - 8.6"
},
"require-dev": {
"nette/phpstan-rules": "^1.0",
@@ -3344,39 +3336,39 @@
],
"support": {
"issues": "https://github.com/nette/safe-stream/issues",
- "source": "https://github.com/nette/safe-stream/tree/v3.0.4"
+ "source": "https://github.com/nette/safe-stream/tree/v3.0.5"
},
- "time": "2026-02-23T03:33:58+00:00"
+ "time": "2026-10-28T00:36:04+00:00"
},
{
"name": "nette/schema",
- "version": "v1.3.6",
+ "version": "v1.4.0",
"source": {
"type": "git",
"url": "https://github.com/nette/schema.git",
- "reference": "c54350438cd6914616f790a49cb424605f421562"
+ "reference": "af9fa8a86bfca9b02b10346220db26e62ef942ec"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/schema/zipball/c54350438cd6914616f790a49cb424605f421562",
- "reference": "c54350438cd6914616f790a49cb424605f421562",
+ "url": "https://api.github.com/repos/nette/schema/zipball/af9fa8a86bfca9b02b10346220db26e62ef942ec",
+ "reference": "af9fa8a86bfca9b02b10346220db26e62ef942ec",
"shasum": ""
},
"require": {
"nette/utils": "^4.0",
- "php": "8.1 - 8.5"
+ "php": "8.1 - 8.6"
},
"require-dev": {
- "nette/phpstan-rules": "^1.0",
+ "nette/phpstan-rules": "^1.0.7",
"nette/tester": "^2.6",
"phpstan/extension-installer": "^1.4@stable",
- "phpstan/phpstan": "^2.1.39@stable",
+ "phpstan/phpstan": "^2.3@stable",
"tracy/tracy": "^2.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.3-dev"
+ "dev-master": "1.4-dev"
}
},
"autoload": {
@@ -3397,41 +3389,41 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "📐 Nette Schema: validating data structures against a given Schema.",
- "homepage": "https://nette.org",
+ "description": "📐 Nette Schema: validates and normalizes data such as configuration or API input against a schema described in a few readable lines of PHP, with precise error messages.",
+ "homepage": "https://doc.nette.org/schema",
"keywords": [
- "config",
- "nette"
+ "configuration",
+ "data validation",
+ "nette",
+ "normalization",
+ "schema",
+ "validation"
],
"support": {
"issues": "https://github.com/nette/schema/issues",
- "source": "https://github.com/nette/schema/tree/v1.3.6"
+ "source": "https://github.com/nette/schema/tree/v1.4.0"
},
- "time": "2026-08-16T21:58:41+00:00"
+ "time": "2026-10-22T02:12:50+00:00"
},
{
"name": "nette/security",
- "version": "v3.2.5",
+ "version": "v3.2.7",
"source": {
"type": "git",
"url": "https://github.com/nette/security.git",
- "reference": "50ce3c4b8edd27cb134237cac3af514a84331524"
+ "reference": "6e9c4129a3ca7c0dbe9cb3f665d957525e4fc973"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/security/zipball/50ce3c4b8edd27cb134237cac3af514a84331524",
- "reference": "50ce3c4b8edd27cb134237cac3af514a84331524",
+ "url": "https://api.github.com/repos/nette/security/zipball/6e9c4129a3ca7c0dbe9cb3f665d957525e4fc973",
+ "reference": "6e9c4129a3ca7c0dbe9cb3f665d957525e4fc973",
"shasum": ""
},
"require": {
"nette/utils": "^4.0",
- "php": "8.1 - 8.5"
+ "php": "8.1 - 8.6"
},
"conflict": {
"nette/di": "<3.0-stable",
@@ -3471,42 +3463,44 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "🔑 Nette Security: provides authentication, authorization and a role-based access control management via ACL (Access Control List)",
- "homepage": "https://nette.org",
+ "description": "🔑 Nette Security: authentication and authorization. Login and user identity, roles, ACL with resources and assertions, and safe password hashing.",
+ "homepage": "https://doc.nette.org/security",
"keywords": [
"Authentication",
"acl",
"authorization",
- "nette"
+ "login",
+ "nette",
+ "password hashing",
+ "permissions",
+ "rbac",
+ "roles",
+ "security"
],
"support": {
"issues": "https://github.com/nette/security/issues",
- "source": "https://github.com/nette/security/tree/v3.2.5"
+ "source": "https://github.com/nette/security/tree/v3.2.7"
},
- "time": "2026-06-15T05:40:46+00:00"
+ "time": "2026-10-22T02:31:38+00:00"
},
{
"name": "nette/utils",
- "version": "v4.1.5",
+ "version": "v4.1.6",
"source": {
"type": "git",
"url": "https://github.com/nette/utils.git",
- "reference": "b043439dbdf954e6c28b5ea7e34b0100f83165e0"
+ "reference": "6bf24518accf32cf845bca305e0b92078700fd01"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/utils/zipball/b043439dbdf954e6c28b5ea7e34b0100f83165e0",
- "reference": "b043439dbdf954e6c28b5ea7e34b0100f83165e0",
+ "url": "https://api.github.com/repos/nette/utils/zipball/6bf24518accf32cf845bca305e0b92078700fd01",
+ "reference": "6bf24518accf32cf845bca305e0b92078700fd01",
"shasum": ""
},
"require": {
- "php": "8.2 - 8.5"
+ "php": "8.2 - 8.6"
},
"conflict": {
"nette/finder": "<3",
@@ -3578,9 +3572,9 @@
],
"support": {
"issues": "https://github.com/nette/utils/issues",
- "source": "https://github.com/nette/utils/tree/v4.1.5"
+ "source": "https://github.com/nette/utils/tree/v4.1.6"
},
- "time": "2026-07-17T23:02:45+00:00"
+ "time": "2026-10-20T17:07:56+00:00"
},
{
"name": "nettrine/dbal",
@@ -3893,16 +3887,16 @@
},
{
"name": "nikic/php-parser",
- "version": "v5.8.0",
+ "version": "v5.9.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "044a6a392ff8ad0d61f14370a5fbbd0a0107152f"
+ "reference": "9e33da9553fe7786f0962b35f4e4ecf01be89def"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/044a6a392ff8ad0d61f14370a5fbbd0a0107152f",
- "reference": "044a6a392ff8ad0d61f14370a5fbbd0a0107152f",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/9e33da9553fe7786f0962b35f4e4ecf01be89def",
+ "reference": "9e33da9553fe7786f0962b35f4e4ecf01be89def",
"shasum": ""
},
"require": {
@@ -3944,22 +3938,22 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v5.8.0"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v5.9.0"
},
- "time": "2026-07-04T14:30:18+00:00"
+ "time": "2026-09-13T18:51:52+00:00"
},
{
"name": "phpstan/phpdoc-parser",
- "version": "2.3.3",
+ "version": "2.4.1",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
- "reference": "fb19eedd2bb67ff8cf7a5502ad329e701d6398a3"
+ "reference": "af8e840551031d254cfdb3a18a62c3470a309c10"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fb19eedd2bb67ff8cf7a5502ad329e701d6398a3",
- "reference": "fb19eedd2bb67ff8cf7a5502ad329e701d6398a3",
+ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/af8e840551031d254cfdb3a18a62c3470a309c10",
+ "reference": "af8e840551031d254cfdb3a18a62c3470a309c10",
"shasum": ""
},
"require": {
@@ -3991,9 +3985,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
- "source": "https://github.com/phpstan/phpdoc-parser/tree/2.3.3"
+ "source": "https://github.com/phpstan/phpdoc-parser/tree/2.4.1"
},
- "time": "2026-07-08T07:01:06+00:00"
+ "time": "2026-10-30T19:36:28+00:00"
},
{
"name": "psr/cache",
@@ -4407,32 +4401,33 @@
},
{
"name": "radebatz/type-info-extras",
- "version": "1.0.7",
+ "version": "1.0.15",
"source": {
"type": "git",
"url": "https://github.com/DerManoMann/type-info-extras.git",
- "reference": "95a524a74a61648b44e355cb33d38db4b17ef5ce"
+ "reference": "adb5082eae14dde073293f6674ce203f81dbb7ec"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/DerManoMann/type-info-extras/zipball/95a524a74a61648b44e355cb33d38db4b17ef5ce",
- "reference": "95a524a74a61648b44e355cb33d38db4b17ef5ce",
+ "url": "https://api.github.com/repos/DerManoMann/type-info-extras/zipball/adb5082eae14dde073293f6674ce203f81dbb7ec",
+ "reference": "adb5082eae14dde073293f6674ce203f81dbb7ec",
"shasum": ""
},
"require": {
"php": ">=8.2",
"phpstan/phpdoc-parser": "^2.0",
- "symfony/type-info": "^7.3.8 || ^7.4.1 || ^8.0 || ^8.1-@dev"
+ "symfony/type-info": "^7.3.8 || ^7.4.1 || >=8.0 <8.3@dev"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.70",
"phpstan/phpstan": "^2.1",
- "phpunit/phpunit": "^11.0"
+ "phpunit/phpunit": "^11.0",
+ "rector/rector": "^2.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.x-dev"
+ "dev-main": "1.x-dev"
}
},
"autoload": {
@@ -4463,53 +4458,9 @@
],
"support": {
"issues": "https://github.com/DerManoMann/type-info-extras/issues",
- "source": "https://github.com/DerManoMann/type-info-extras/tree/1.0.7"
+ "source": "https://github.com/DerManoMann/type-info-extras/tree/1.0.15"
},
- "time": "2026-03-06T22:40:29+00:00"
- },
- {
- "name": "ralouphie/getallheaders",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "120b605dfeb996808c31b6477290a714d356e822"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
- "reference": "120b605dfeb996808c31b6477290a714d356e822",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "require-dev": {
- "php-coveralls/php-coveralls": "^2.1",
- "phpunit/phpunit": "^5 || ^6.5"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/getallheaders.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ralph Khattar",
- "email": "ralph.khattar@gmail.com"
- }
- ],
- "description": "A polyfill for getallheaders.",
- "support": {
- "issues": "https://github.com/ralouphie/getallheaders/issues",
- "source": "https://github.com/ralouphie/getallheaders/tree/develop"
- },
- "time": "2019-03-08T08:55:37+00:00"
+ "time": "2026-11-16T22:02:45+00:00"
},
{
"name": "ramsey/collection",
@@ -4589,20 +4540,20 @@
},
{
"name": "ramsey/uuid",
- "version": "4.9.3",
+ "version": "4.10.0",
"source": {
"type": "git",
"url": "https://github.com/ramsey/uuid.git",
- "reference": "1df15849d00943a67d677dc9cfd80795f038c9f8"
+ "reference": "f9aa3efc8015fcbc013d84d699583b268ccb593a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ramsey/uuid/zipball/1df15849d00943a67d677dc9cfd80795f038c9f8",
- "reference": "1df15849d00943a67d677dc9cfd80795f038c9f8",
+ "url": "https://api.github.com/repos/ramsey/uuid/zipball/f9aa3efc8015fcbc013d84d699583b268ccb593a",
+ "reference": "f9aa3efc8015fcbc013d84d699583b268ccb593a",
"shasum": ""
},
"require": {
- "brick/math": ">=0.8.16 <=0.18",
+ "brick/math": "^0.8.16 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13 || ^0.14 || ^0.15 || ^0.16 || ^0.17 || ^0.18 || ^0.19 || ^0.20 || ^1.0",
"php": "^8.0",
"ramsey/collection": "^1.2 || ^2.0"
},
@@ -4610,23 +4561,22 @@
"rhumsaa/uuid": "self.version"
},
"require-dev": {
- "captainhook/captainhook": "^5.25",
- "captainhook/plugin-composer": "^5.3",
- "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
- "ergebnis/composer-normalize": "^2.47",
- "mockery/mockery": "^1.6",
- "paragonie/random-lib": "^2",
- "php-mock/php-mock": "^2.6",
- "php-mock/php-mock-mockery": "^1.5",
+ "captainhook/captainhook": "^5.29.3",
+ "captainhook/plugin-composer": "^5.3.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.2.1",
+ "mockery/mockery": "^1.6.15",
+ "paragonie/random-lib": "^2.0.3",
+ "php-mock/php-mock": "^2.7.0",
+ "php-mock/php-mock-mockery": "^1.5.0",
"php-parallel-lint/php-parallel-lint": "^1.4.0",
"phpbench/phpbench": "^1.2.14",
- "phpstan/extension-installer": "^1.4",
- "phpstan/phpstan": "^2.1",
- "phpstan/phpstan-mockery": "^2.0",
- "phpstan/phpstan-phpunit": "^2.0",
- "phpunit/phpunit": "^9.6",
- "slevomat/coding-standard": "^8.18",
- "squizlabs/php_codesniffer": "^3.13"
+ "phpstan/extension-installer": "^1.4.3",
+ "phpstan/phpstan": "^2.3.5",
+ "phpstan/phpstan-mockery": "^2.0.0",
+ "phpstan/phpstan-phpunit": "^2.1.2",
+ "phpunit/phpunit": "^9.6.39",
+ "slevomat/coding-standard": "^8.31.3",
+ "squizlabs/php_codesniffer": "^4.0.4"
},
"suggest": {
"ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
@@ -4661,9 +4611,9 @@
],
"support": {
"issues": "https://github.com/ramsey/uuid/issues",
- "source": "https://github.com/ramsey/uuid/tree/4.9.3"
+ "source": "https://github.com/ramsey/uuid/tree/4.10.0"
},
- "time": "2026-06-18T03:57:49+00:00"
+ "time": "2026-11-14T23:23:20+00:00"
},
{
"name": "ramsey/uuid-doctrine",
@@ -4751,16 +4701,16 @@
},
{
"name": "sebastian/comparator",
- "version": "8.3.0",
+ "version": "8.4.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "c025fc7604afab3f195fab7cdaf72327331af241"
+ "reference": "3b070e608146cba00fd6fd1f0ffba89e5a8897fb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/c025fc7604afab3f195fab7cdaf72327331af241",
- "reference": "c025fc7604afab3f195fab7cdaf72327331af241",
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/3b070e608146cba00fd6fd1f0ffba89e5a8897fb",
+ "reference": "3b070e608146cba00fd6fd1f0ffba89e5a8897fb",
"shasum": ""
},
"require": {
@@ -4768,10 +4718,10 @@
"ext-mbstring": "*",
"php": ">=8.4",
"sebastian/diff": "^9.0",
- "sebastian/exporter": "^8.1.0"
+ "sebastian/exporter": "^8.2"
},
"require-dev": {
- "phpunit/phpunit": "^13.2"
+ "phpunit/phpunit": "^13.3"
},
"suggest": {
"ext-bcmath": "For comparing BcMath\\Number objects"
@@ -4779,7 +4729,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "8.3-dev"
+ "dev-main": "8.4-dev"
}
},
"autoload": {
@@ -4819,7 +4769,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/comparator/issues",
"security": "https://github.com/sebastianbergmann/comparator/security/policy",
- "source": "https://github.com/sebastianbergmann/comparator/tree/8.3.0"
+ "source": "https://github.com/sebastianbergmann/comparator/tree/8.4.0"
},
"funding": [
{
@@ -4839,28 +4789,28 @@
"type": "tidelift"
}
],
- "time": "2026-06-05T03:06:45+00:00"
+ "time": "2026-08-07T07:23:13+00:00"
},
{
"name": "sebastian/diff",
- "version": "9.0.0",
+ "version": "9.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "a3fb6a298a265ff487a91bbea46e03cd01dbb226"
+ "reference": "a2df6626c1baf31d5a88674882a3072f151b5a26"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/a3fb6a298a265ff487a91bbea46e03cd01dbb226",
- "reference": "a3fb6a298a265ff487a91bbea46e03cd01dbb226",
+ "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/a2df6626c1baf31d5a88674882a3072f151b5a26",
+ "reference": "a2df6626c1baf31d5a88674882a3072f151b5a26",
"shasum": ""
},
"require": {
"php": ">=8.4"
},
"require-dev": {
- "phpunit/phpunit": "^13.2",
- "symfony/process": "^7.4.13"
+ "phpunit/phpunit": "^13.3.1",
+ "symfony/process": "^7.4.17"
},
"type": "library",
"extra": {
@@ -4898,7 +4848,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/diff/issues",
"security": "https://github.com/sebastianbergmann/diff/security/policy",
- "source": "https://github.com/sebastianbergmann/diff/tree/9.0.0"
+ "source": "https://github.com/sebastianbergmann/diff/tree/9.0.1"
},
"funding": [
{
@@ -4918,34 +4868,34 @@
"type": "tidelift"
}
],
- "time": "2026-06-05T03:04:51+00:00"
+ "time": "2026-08-25T15:38:55+00:00"
},
{
"name": "sebastian/exporter",
- "version": "8.1.1",
+ "version": "8.2.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "cfaa77c750dcad6f44c9bac8f62ac486e1c82c26"
+ "reference": "24a3b69bba4a12ab615fca9d34680c5598d9ab7a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/cfaa77c750dcad6f44c9bac8f62ac486e1c82c26",
- "reference": "cfaa77c750dcad6f44c9bac8f62ac486e1c82c26",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/24a3b69bba4a12ab615fca9d34680c5598d9ab7a",
+ "reference": "24a3b69bba4a12ab615fca9d34680c5598d9ab7a",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": ">=8.4",
- "sebastian/recursion-context": "^8.0"
+ "sebastian/recursion-context": "^8.0.1"
},
"require-dev": {
- "phpunit/phpunit": "^13.2.4"
+ "phpunit/phpunit": "^13.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "8.1-dev"
+ "dev-main": "8.2-dev"
}
},
"autoload": {
@@ -4988,7 +4938,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/exporter/issues",
"security": "https://github.com/sebastianbergmann/exporter/security/policy",
- "source": "https://github.com/sebastianbergmann/exporter/tree/8.1.1"
+ "source": "https://github.com/sebastianbergmann/exporter/tree/8.2.1"
},
"funding": [
{
@@ -5008,27 +4958,27 @@
"type": "tidelift"
}
],
- "time": "2026-07-13T11:35:11+00:00"
+ "time": "2026-08-07T07:22:06+00:00"
},
{
"name": "sebastian/recursion-context",
- "version": "8.0.0",
+ "version": "8.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "74c5af21f6a5833e91767ca068c4d3dfec15317e"
+ "reference": "32dba72f2b4642d6a93db22d6c0a9280ff2e3ca0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/74c5af21f6a5833e91767ca068c4d3dfec15317e",
- "reference": "74c5af21f6a5833e91767ca068c4d3dfec15317e",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/32dba72f2b4642d6a93db22d6c0a9280ff2e3ca0",
+ "reference": "32dba72f2b4642d6a93db22d6c0a9280ff2e3ca0",
"shasum": ""
},
"require": {
"php": ">=8.4"
},
"require-dev": {
- "phpunit/phpunit": "^13.0"
+ "phpunit/phpunit": "^13.2.6"
},
"type": "library",
"extra": {
@@ -5064,7 +5014,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/recursion-context/issues",
"security": "https://github.com/sebastianbergmann/recursion-context/security/policy",
- "source": "https://github.com/sebastianbergmann/recursion-context/tree/8.0.0"
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/8.0.1"
},
"funding": [
{
@@ -5084,20 +5034,20 @@
"type": "tidelift"
}
],
- "time": "2026-02-06T04:51:28+00:00"
+ "time": "2026-08-03T05:58:12+00:00"
},
{
"name": "symfony/cache",
- "version": "v8.1.1",
+ "version": "v8.1.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
- "reference": "c14decc1b0755b1e8ab6babeef56e1880348e817"
+ "reference": "60b6bfd51e671219b1ab9066b94c617d1760d7cf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/cache/zipball/c14decc1b0755b1e8ab6babeef56e1880348e817",
- "reference": "c14decc1b0755b1e8ab6babeef56e1880348e817",
+ "url": "https://api.github.com/repos/symfony/cache/zipball/60b6bfd51e671219b1ab9066b94c617d1760d7cf",
+ "reference": "60b6bfd51e671219b1ab9066b94c617d1760d7cf",
"shasum": ""
},
"require": {
@@ -5106,7 +5056,7 @@
"psr/log": "^1.1|^2|^3",
"symfony/cache-contracts": "^3.6",
"symfony/service-contracts": "^2.5|^3",
- "symfony/var-exporter": "^8.1"
+ "symfony/var-exporter": "^8.1.1"
},
"conflict": {
"ext-redis": "<6.1",
@@ -5118,7 +5068,7 @@
"symfony/cache-implementation": "1.1|2.0|3.0"
},
"require-dev": {
- "cache/integration-tests": "dev-master",
+ "cache/integration-tests": "^1.0.3",
"doctrine/dbal": "^4.3",
"predis/predis": "^1.1|^2.0",
"psr/simple-cache": "^1.0|^2.0|^3.0",
@@ -5163,7 +5113,7 @@
"psr6"
],
"support": {
- "source": "https://github.com/symfony/cache/tree/v8.1.1"
+ "source": "https://github.com/symfony/cache/tree/v8.1.11"
},
"funding": [
{
@@ -5183,20 +5133,20 @@
"type": "tidelift"
}
],
- "time": "2026-06-17T15:04:37+00:00"
+ "time": "2026-11-01T22:27:46+00:00"
},
{
"name": "symfony/cache-contracts",
- "version": "v3.7.1",
+ "version": "v3.8.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache-contracts.git",
- "reference": "9789738bc19af1106dc54d6afba9a0b467516cf2"
+ "reference": "af26a91232085b7edd4e04be62f75e7c25159ece"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/9789738bc19af1106dc54d6afba9a0b467516cf2",
- "reference": "9789738bc19af1106dc54d6afba9a0b467516cf2",
+ "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/af26a91232085b7edd4e04be62f75e7c25159ece",
+ "reference": "af26a91232085b7edd4e04be62f75e7c25159ece",
"shasum": ""
},
"require": {
@@ -5210,7 +5160,7 @@
"name": "symfony/contracts"
},
"branch-alias": {
- "dev-main": "3.7-dev"
+ "dev-main": "3.8-dev"
}
},
"autoload": {
@@ -5243,7 +5193,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/cache-contracts/tree/v3.7.1"
+ "source": "https://github.com/symfony/cache-contracts/tree/v3.8.1"
},
"funding": [
{
@@ -5263,20 +5213,20 @@
"type": "tidelift"
}
],
- "time": "2026-06-05T06:23:12+00:00"
+ "time": "2026-09-26T07:05:14+00:00"
},
{
"name": "symfony/console",
- "version": "v8.1.1",
+ "version": "v8.1.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "b711a8ab808b6c074c6b8caef70d0fd8d6b6d07d"
+ "reference": "5a315b092b81f3e920e9daea1a2ae4c66ed298b9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/b711a8ab808b6c074c6b8caef70d0fd8d6b6d07d",
- "reference": "b711a8ab808b6c074c6b8caef70d0fd8d6b6d07d",
+ "url": "https://api.github.com/repos/symfony/console/zipball/5a315b092b81f3e920e9daea1a2ae4c66ed298b9",
+ "reference": "5a315b092b81f3e920e9daea1a2ae4c66ed298b9",
"shasum": ""
},
"require": {
@@ -5343,7 +5293,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v8.1.1"
+ "source": "https://github.com/symfony/console/tree/v8.1.11"
},
"funding": [
{
@@ -5363,20 +5313,20 @@
"type": "tidelift"
}
],
- "time": "2026-06-16T12:55:20+00:00"
+ "time": "2026-11-04T07:07:11+00:00"
},
{
"name": "symfony/deprecation-contracts",
- "version": "v3.7.1",
+ "version": "v3.8.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d"
+ "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/f3202fa1b5097b0af062dc978b32ecf63404e31d",
- "reference": "f3202fa1b5097b0af062dc978b32ecf63404e31d",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/feb1edf4e546af3b85c5caebe8359a20db230ca3",
+ "reference": "feb1edf4e546af3b85c5caebe8359a20db230ca3",
"shasum": ""
},
"require": {
@@ -5389,7 +5339,7 @@
"name": "symfony/contracts"
},
"branch-alias": {
- "dev-main": "3.7-dev"
+ "dev-main": "3.8-dev"
}
},
"autoload": {
@@ -5414,7 +5364,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/v3.7.1"
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v3.8.1"
},
"funding": [
{
@@ -5434,20 +5384,20 @@
"type": "tidelift"
}
],
- "time": "2026-06-05T06:23:12+00:00"
+ "time": "2026-09-16T14:15:10+00:00"
},
{
"name": "symfony/finder",
- "version": "v8.1.1",
+ "version": "v8.1.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "e2989e762c70f9490fa3a00a0ac0fae5aa97a531"
+ "reference": "a2902e479ba5691d20d51d100a715ea19ad2c837"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/e2989e762c70f9490fa3a00a0ac0fae5aa97a531",
- "reference": "e2989e762c70f9490fa3a00a0ac0fae5aa97a531",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/a2902e479ba5691d20d51d100a715ea19ad2c837",
+ "reference": "a2902e479ba5691d20d51d100a715ea19ad2c837",
"shasum": ""
},
"require": {
@@ -5482,7 +5432,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/finder/tree/v8.1.1"
+ "source": "https://github.com/symfony/finder/tree/v8.1.11"
},
"funding": [
{
@@ -5502,7 +5452,7 @@
"type": "tidelift"
}
],
- "time": "2026-06-27T09:05:56+00:00"
+ "time": "2026-11-02T10:58:30+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -5589,16 +5539,16 @@
},
{
"name": "symfony/polyfill-deepclone",
- "version": "v1.40.0",
+ "version": "v1.43.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-deepclone.git",
- "reference": "dca4ccba5f360070b574414dce4c1e7a559844fa"
+ "reference": "82274308b59f6e96f53a3fb37fc40877d843e5a5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-deepclone/zipball/dca4ccba5f360070b574414dce4c1e7a559844fa",
- "reference": "dca4ccba5f360070b574414dce4c1e7a559844fa",
+ "url": "https://api.github.com/repos/symfony/polyfill-deepclone/zipball/82274308b59f6e96f53a3fb37fc40877d843e5a5",
+ "reference": "82274308b59f6e96f53a3fb37fc40877d843e5a5",
"shasum": ""
},
"require": {
@@ -5652,7 +5602,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-deepclone/tree/v1.40.0"
+ "source": "https://github.com/symfony/polyfill-deepclone/tree/v1.43.2"
},
"funding": [
{
@@ -5672,20 +5622,20 @@
"type": "tidelift"
}
],
- "time": "2026-06-12T07:27:17+00:00"
+ "time": "2026-10-14T07:17:09+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
- "version": "v1.38.1",
+ "version": "v1.43.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
- "reference": "e9247d281d694a5120554d9afaf54e070e88a603"
+ "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e9247d281d694a5120554d9afaf54e070e88a603",
- "reference": "e9247d281d694a5120554d9afaf54e070e88a603",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5a8f33c87aeecffce24e721b5064fab05f4becf8",
+ "reference": "5a8f33c87aeecffce24e721b5064fab05f4becf8",
"shasum": ""
},
"require": {
@@ -5734,7 +5684,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.38.1"
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.43.3"
},
"funding": [
{
@@ -5754,20 +5704,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-26T05:58:03+00:00"
+ "time": "2026-10-15T09:18:53+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
- "version": "v1.38.0",
+ "version": "v1.43.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "2d446c214bdbe5b71bde5011b060a05fece3ae6b"
+ "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/2d446c214bdbe5b71bde5011b060a05fece3ae6b",
- "reference": "2d446c214bdbe5b71bde5011b060a05fece3ae6b",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/ebd57ccc7edb93d632e184efbe7693d2517bab3b",
+ "reference": "ebd57ccc7edb93d632e184efbe7693d2517bab3b",
"shasum": ""
},
"require": {
@@ -5819,7 +5769,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.38.0"
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.43.0"
},
"funding": [
{
@@ -5839,20 +5789,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-25T13:48:31+00:00"
+ "time": "2026-09-23T22:02:09+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.38.2",
+ "version": "v1.43.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6"
+ "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6",
- "reference": "d3d318bad5e7a1bfbd026009c8bfb8d8f99ae6b6",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/122889ed24dc000165bcbfd77ec412f15cbdfc6a",
+ "reference": "122889ed24dc000165bcbfd77ec412f15cbdfc6a",
"shasum": ""
},
"require": {
@@ -5904,7 +5854,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.38.2"
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.43.3"
},
"funding": [
{
@@ -5924,20 +5874,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-27T06:59:30+00:00"
+ "time": "2026-10-28T09:35:49+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.37.0",
+ "version": "v1.43.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411"
+ "reference": "9c6a5d6b01ca51d486c813e9a9c0ed55f208bb74"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dfb55726c3a76ea3b6459fcfda1ec2d80a682411",
- "reference": "dfb55726c3a76ea3b6459fcfda1ec2d80a682411",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/9c6a5d6b01ca51d486c813e9a9c0ed55f208bb74",
+ "reference": "9c6a5d6b01ca51d486c813e9a9c0ed55f208bb74",
"shasum": ""
},
"require": {
@@ -5988,7 +5938,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php80/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.43.0"
},
"funding": [
{
@@ -6008,20 +5958,100 @@
"type": "tidelift"
}
],
- "time": "2026-04-10T16:19:22+00:00"
+ "time": "2026-09-25T15:50:05+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php82",
+ "version": "v1.43.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php82.git",
+ "reference": "843bbe8b2a7934307b749751eede0f111f5d1cfc"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/843bbe8b2a7934307b749751eede0f111f5d1cfc",
+ "reference": "843bbe8b2a7934307b749751eede0f111f5d1cfc",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php82\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php82/tree/v1.43.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/nicolas-grekas",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2026-09-25T15:50:05+00:00"
},
{
"name": "symfony/polyfill-php84",
- "version": "v1.38.1",
+ "version": "v1.43.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php84.git",
- "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa"
+ "reference": "22c6548499cbe5c5bb072fc0c42312dff062a015"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa",
- "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa",
+ "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/22c6548499cbe5c5bb072fc0c42312dff062a015",
+ "reference": "22c6548499cbe5c5bb072fc0c42312dff062a015",
"shasum": ""
},
"require": {
@@ -6068,7 +6098,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php84/tree/v1.38.1"
+ "source": "https://github.com/symfony/polyfill-php84/tree/v1.43.0"
},
"funding": [
{
@@ -6088,20 +6118,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-26T12:51:13+00:00"
+ "time": "2026-09-23T22:01:09+00:00"
},
{
"name": "symfony/polyfill-php85",
- "version": "v1.38.1",
+ "version": "v1.44.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php85.git",
- "reference": "ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1"
+ "reference": "94c794cb5ba51784bc259f11e9f128593297d8dc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1",
- "reference": "ba2ba04f3352cfa2dcbbcb90aee13ed967f505b1",
+ "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/94c794cb5ba51784bc259f11e9f128593297d8dc",
+ "reference": "94c794cb5ba51784bc259f11e9f128593297d8dc",
"shasum": ""
},
"require": {
@@ -6148,7 +6178,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php85/tree/v1.38.1"
+ "source": "https://github.com/symfony/polyfill-php85/tree/v1.44.0"
},
"funding": [
{
@@ -6168,20 +6198,100 @@
"type": "tidelift"
}
],
- "time": "2026-05-26T02:25:22+00:00"
+ "time": "2026-10-30T15:20:09+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php86",
+ "version": "v1.43.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php86.git",
+ "reference": "8840df45b24f33a49dc419fa18dc0057231ae1d8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php86/zipball/8840df45b24f33a49dc419fa18dc0057231ae1d8",
+ "reference": "8840df45b24f33a49dc419fa18dc0057231ae1d8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "url": "https://github.com/symfony/polyfill",
+ "name": "symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php86\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.6+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php86/tree/v1.43.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/nicolas-grekas",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2026-09-25T15:46:47+00:00"
},
{
"name": "symfony/process",
- "version": "v8.1.0",
+ "version": "v8.1.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "c4a9e58f235a6bf7f97ffbfedae2687353ac79e5"
+ "reference": "08aa69fa0998bb65a089f9e148a2c0f8b391398e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/c4a9e58f235a6bf7f97ffbfedae2687353ac79e5",
- "reference": "c4a9e58f235a6bf7f97ffbfedae2687353ac79e5",
+ "url": "https://api.github.com/repos/symfony/process/zipball/08aa69fa0998bb65a089f9e148a2c0f8b391398e",
+ "reference": "08aa69fa0998bb65a089f9e148a2c0f8b391398e",
"shasum": ""
},
"require": {
@@ -6213,7 +6323,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/process/tree/v8.1.0"
+ "source": "https://github.com/symfony/process/tree/v8.1.10"
},
"funding": [
{
@@ -6233,20 +6343,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-29T05:06:50+00:00"
+ "time": "2026-10-25T14:40:25+00:00"
},
{
"name": "symfony/property-access",
- "version": "v8.1.0",
+ "version": "v8.1.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/property-access.git",
- "reference": "9261ef060f26cc7b728f67f141ba19b98a6209a9"
+ "reference": "d080c2afa37114d46e4f950ed8593667f01f7cab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/property-access/zipball/9261ef060f26cc7b728f67f141ba19b98a6209a9",
- "reference": "9261ef060f26cc7b728f67f141ba19b98a6209a9",
+ "url": "https://api.github.com/repos/symfony/property-access/zipball/d080c2afa37114d46e4f950ed8593667f01f7cab",
+ "reference": "d080c2afa37114d46e4f950ed8593667f01f7cab",
"shasum": ""
},
"require": {
@@ -6294,7 +6404,7 @@
"reflection"
],
"support": {
- "source": "https://github.com/symfony/property-access/tree/v8.1.0"
+ "source": "https://github.com/symfony/property-access/tree/v8.1.11"
},
"funding": [
{
@@ -6314,20 +6424,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-29T05:06:50+00:00"
+ "time": "2026-11-01T19:30:44+00:00"
},
{
"name": "symfony/property-info",
- "version": "v8.1.0",
+ "version": "v8.1.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/property-info.git",
- "reference": "4721e8c56d0cd2378e0ef9a9899f810008b859f7"
+ "reference": "b5afa379a5b54f15a594c1d45ceaa19969d38a16"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/property-info/zipball/4721e8c56d0cd2378e0ef9a9899f810008b859f7",
- "reference": "4721e8c56d0cd2378e0ef9a9899f810008b859f7",
+ "url": "https://api.github.com/repos/symfony/property-info/zipball/b5afa379a5b54f15a594c1d45ceaa19969d38a16",
+ "reference": "b5afa379a5b54f15a594c1d45ceaa19969d38a16",
"shasum": ""
},
"require": {
@@ -6380,7 +6490,7 @@
"validator"
],
"support": {
- "source": "https://github.com/symfony/property-info/tree/v8.1.0"
+ "source": "https://github.com/symfony/property-info/tree/v8.1.11"
},
"funding": [
{
@@ -6400,20 +6510,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-29T05:06:50+00:00"
+ "time": "2026-11-02T10:58:30+00:00"
},
{
"name": "symfony/service-contracts",
- "version": "v3.7.1",
+ "version": "v3.8.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0"
+ "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/c0a284bab1ed8aa0417e3d69250ab437739563a0",
- "reference": "c0a284bab1ed8aa0417e3d69250ab437739563a0",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/052852a96fd5e5ebdb617dba22031e41a3300fb5",
+ "reference": "052852a96fd5e5ebdb617dba22031e41a3300fb5",
"shasum": ""
},
"require": {
@@ -6431,7 +6541,7 @@
"name": "symfony/contracts"
},
"branch-alias": {
- "dev-main": "3.7-dev"
+ "dev-main": "3.8-dev"
}
},
"autoload": {
@@ -6467,7 +6577,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/service-contracts/tree/v3.7.1"
+ "source": "https://github.com/symfony/service-contracts/tree/v3.8.1"
},
"funding": [
{
@@ -6487,7 +6597,7 @@
"type": "tidelift"
}
],
- "time": "2026-06-16T09:55:08+00:00"
+ "time": "2026-10-20T17:38:25+00:00"
},
{
"name": "symfony/stopwatch",
@@ -6557,16 +6667,16 @@
},
{
"name": "symfony/string",
- "version": "v8.1.0",
+ "version": "v8.1.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "afd5944f4005862d961efb85c8bbd5c523c4e3c9"
+ "reference": "6c6110979c0150393bbb336170e286d51ab4d76c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/afd5944f4005862d961efb85c8bbd5c523c4e3c9",
- "reference": "afd5944f4005862d961efb85c8bbd5c523c4e3c9",
+ "url": "https://api.github.com/repos/symfony/string/zipball/6c6110979c0150393bbb336170e286d51ab4d76c",
+ "reference": "6c6110979c0150393bbb336170e286d51ab4d76c",
"shasum": ""
},
"require": {
@@ -6623,7 +6733,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v8.1.0"
+ "source": "https://github.com/symfony/string/tree/v8.1.10"
},
"funding": [
{
@@ -6643,20 +6753,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-29T05:06:50+00:00"
+ "time": "2026-10-23T17:06:53+00:00"
},
{
"name": "symfony/type-info",
- "version": "v8.1.0",
+ "version": "v8.1.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/type-info.git",
- "reference": "9f24df8a79781b9b9f030fea7dfd2f3bd1e7e7e7"
+ "reference": "9fd1414061c4bbf953bcfc183b133cbfa0a73c73"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/type-info/zipball/9f24df8a79781b9b9f030fea7dfd2f3bd1e7e7e7",
- "reference": "9f24df8a79781b9b9f030fea7dfd2f3bd1e7e7e7",
+ "url": "https://api.github.com/repos/symfony/type-info/zipball/9fd1414061c4bbf953bcfc183b133cbfa0a73c73",
+ "reference": "9fd1414061c4bbf953bcfc183b133cbfa0a73c73",
"shasum": ""
},
"require": {
@@ -6705,7 +6815,7 @@
"type"
],
"support": {
- "source": "https://github.com/symfony/type-info/tree/v8.1.0"
+ "source": "https://github.com/symfony/type-info/tree/v8.1.11"
},
"funding": [
{
@@ -6725,26 +6835,26 @@
"type": "tidelift"
}
],
- "time": "2026-05-29T05:06:50+00:00"
+ "time": "2026-11-02T10:58:30+00:00"
},
{
"name": "symfony/var-exporter",
- "version": "v8.1.1",
+ "version": "v8.1.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-exporter.git",
- "reference": "75b74315b4e4be40e5534cf9c5cc30dd0907ed71"
+ "reference": "e94442cdefc1df995528d26acb40d25c2d50504d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-exporter/zipball/75b74315b4e4be40e5534cf9c5cc30dd0907ed71",
- "reference": "75b74315b4e4be40e5534cf9c5cc30dd0907ed71",
+ "url": "https://api.github.com/repos/symfony/var-exporter/zipball/e94442cdefc1df995528d26acb40d25c2d50504d",
+ "reference": "e94442cdefc1df995528d26acb40d25c2d50504d",
"shasum": ""
},
"require": {
"php": ">=8.4.1",
"symfony/deprecation-contracts": "^2.5|^3",
- "symfony/polyfill-deepclone": "^1.40"
+ "symfony/polyfill-deepclone": "^1.43.1"
},
"require-dev": {
"symfony/property-access": "^7.4|^8.0",
@@ -6788,7 +6898,7 @@
"serialize"
],
"support": {
- "source": "https://github.com/symfony/var-exporter/tree/v8.1.1"
+ "source": "https://github.com/symfony/var-exporter/tree/v8.1.10"
},
"funding": [
{
@@ -6808,20 +6918,20 @@
"type": "tidelift"
}
],
- "time": "2026-06-27T09:05:56+00:00"
+ "time": "2026-10-22T14:30:01+00:00"
},
{
"name": "symfony/yaml",
- "version": "v8.1.1",
+ "version": "v8.1.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "8e4cdd4311683516be06944f4b85244063cdb886"
+ "reference": "e8266f55160f674f290a5f567cb55e11e21f921b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/8e4cdd4311683516be06944f4b85244063cdb886",
- "reference": "8e4cdd4311683516be06944f4b85244063cdb886",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/e8266f55160f674f290a5f567cb55e11e21f921b",
+ "reference": "e8266f55160f674f290a5f567cb55e11e21f921b",
"shasum": ""
},
"require": {
@@ -6864,7 +6974,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v8.1.1"
+ "source": "https://github.com/symfony/yaml/tree/v8.1.11"
},
"funding": [
{
@@ -6884,26 +6994,26 @@
"type": "tidelift"
}
],
- "time": "2026-06-09T11:06:24+00:00"
+ "time": "2026-11-04T08:39:20+00:00"
},
{
"name": "tracy/tracy",
- "version": "v2.12.0",
+ "version": "v2.12.2",
"source": {
"type": "git",
"url": "https://github.com/nette/tracy.git",
- "reference": "535eda4871fd04f2756c8d95f6bdfa43706d79be"
+ "reference": "2664bd9456cb745ff1fb0b31efa79fe2f411bef3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/tracy/zipball/535eda4871fd04f2756c8d95f6bdfa43706d79be",
- "reference": "535eda4871fd04f2756c8d95f6bdfa43706d79be",
+ "url": "https://api.github.com/repos/nette/tracy/zipball/2664bd9456cb745ff1fb0b31efa79fe2f411bef3",
+ "reference": "2664bd9456cb745ff1fb0b31efa79fe2f411bef3",
"shasum": ""
},
"require": {
"ext-json": "*",
"ext-session": "*",
- "php": "8.2 - 8.5"
+ "php": "8.2 - 8.6"
},
"conflict": {
"nette/di": "<3.0"
@@ -6917,7 +7027,7 @@
"nette/tester": "^2.6",
"nette/utils": "^3.0 || ^4.0",
"phpstan/extension-installer": "^1.4@stable",
- "phpstan/phpstan": "^2.1@stable",
+ "phpstan/phpstan": "^2.3@stable",
"psr/log": "^1.0 || ^2.0 || ^3.0"
},
"type": "library",
@@ -6945,61 +7055,64 @@
{
"name": "David Grudl",
"homepage": "https://davidgrudl.com"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.",
+ "description": "😎 Tracy: the addictive PHP debugger. Clear error pages with full context, a debug bar, readable dumps, AJAX and CLI support, and logging with e-mail alerts in production.",
"homepage": "https://tracy.nette.org",
"keywords": [
- "Xdebug",
- "debug",
+ "debug bar",
"debugger",
+ "debugging",
+ "dump",
+ "error handler",
+ "logging",
"nette",
- "profiler"
+ "tracy",
+ "var_dump",
+ "whoops"
],
"support": {
"issues": "https://github.com/nette/tracy/issues",
- "source": "https://github.com/nette/tracy/tree/v2.12.0"
+ "source": "https://github.com/nette/tracy/tree/v2.12.2"
},
- "time": "2026-05-04T00:23:53+00:00"
+ "time": "2026-10-21T05:14:18+00:00"
},
{
"name": "zircote/swagger-php",
- "version": "6.4.0",
+ "version": "7.8.0",
"source": {
"type": "git",
"url": "https://github.com/zircote/swagger-php.git",
- "reference": "d2006242dae81ae8833ad9a0ffb74e3254654cff"
+ "reference": "503f9d14b5cdd9055ef5361c5a3de3a1dba243ed"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/zircote/swagger-php/zipball/d2006242dae81ae8833ad9a0ffb74e3254654cff",
- "reference": "d2006242dae81ae8833ad9a0ffb74e3254654cff",
+ "url": "https://api.github.com/repos/zircote/swagger-php/zipball/503f9d14b5cdd9055ef5361c5a3de3a1dba243ed",
+ "reference": "503f9d14b5cdd9055ef5361c5a3de3a1dba243ed",
"shasum": ""
},
"require": {
- "nikic/php-parser": "^4.19 || ^5.0",
+ "nikic/php-parser": "^5.0",
"php": ">=8.2",
"phpstan/phpdoc-parser": "^2.0",
"psr/log": "^1.1 || ^2.0 || ^3.0",
- "radebatz/type-info-extras": "^1.0.2",
- "symfony/console": "^7.4 || ^8.0",
+ "radebatz/type-info-extras": "^1.0.11",
+ "symfony/console": "^5.4 || ^6.4 || ^7.0 || ^8.0",
"symfony/deprecation-contracts": "^2 || ^3",
- "symfony/finder": "^5.0 || ^6.0 || ^7.0 || ^8.0",
- "symfony/yaml": "^5.4 || ^6.0 || ^7.0 || ^8.0"
+ "symfony/finder": "^5.4 || ^6.4 || ^7.0 || ^8.0",
+ "symfony/yaml": "^5.4 || ^6.4 || ^7.0 || ^8.0"
},
"conflict": {
- "symfony/process": ">=6, <6.4.14"
+ "symfony/console": "<5.4.35",
+ "symfony/string": "<5.4.41"
},
"require-dev": {
"doctrine/annotations": "^2.0",
- "friendsofphp/php-cs-fixer": "^3.62.0",
- "phpstan/phpstan": "^2.0",
+ "friendsofphp/php-cs-fixer": "3.95.30",
+ "phpbench/phpbench": "^1.7",
+ "phpstan/phpstan": "2.3.5",
"phpunit/phpunit": "^11.5 || >=12.5.22",
- "rector/rector": "^2.3.1"
+ "rector/rector": "2.8.4"
},
"bin": [
"bin/openapi"
@@ -7007,12 +7120,13 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "6.x-dev"
+ "dev-master": "7.x-dev"
}
},
"autoload": {
"psr-4": {
- "OpenApi\\": "src"
+ "OpenApi\\": "src",
+ "OpenApi\\Rector\\": "rector/src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -7045,7 +7159,7 @@
],
"support": {
"issues": "https://github.com/zircote/swagger-php/issues",
- "source": "https://github.com/zircote/swagger-php/tree/6.4.0"
+ "source": "https://github.com/zircote/swagger-php/tree/7.8.0"
},
"funding": [
{
@@ -7053,25 +7167,27 @@
"type": "github"
}
],
- "time": "2026-07-12T03:44:54+00:00"
+ "time": "2026-11-18T02:22:37+00:00"
}
],
"packages-dev": [
{
"name": "hamcrest/hamcrest-php",
- "version": "v2.1.1",
+ "version": "v3.0.0",
"source": {
"type": "git",
"url": "https://github.com/hamcrest/hamcrest-php.git",
- "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487"
+ "reference": "b61cd040da1a4925bc90a51c074f5297e7c0fa52"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487",
- "reference": "f8b1c0173b22fa6ec77a81fe63e5b01eba7e6487",
+ "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/b61cd040da1a4925bc90a51c074f5297e7c0fa52",
+ "reference": "b61cd040da1a4925bc90a51c074f5297e7c0fa52",
"shasum": ""
},
"require": {
+ "ext-ctype": "*",
+ "ext-dom": "*",
"php": "^7.4|^8.0"
},
"replace": {
@@ -7080,13 +7196,15 @@
"kodova/hamcrest-php": "*"
},
"require-dev": {
+ "phpstan/phpstan": "^2.1",
+ "phpstan/phpstan-phpunit": "^2.0",
"phpunit/php-file-iterator": "^1.4 || ^2.0 || ^3.0",
"phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0 || ^8.0 || ^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.1-dev"
+ "dev-master": "3.0-dev"
}
},
"autoload": {
@@ -7104,9 +7222,9 @@
],
"support": {
"issues": "https://github.com/hamcrest/hamcrest-php/issues",
- "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.1.1"
+ "source": "https://github.com/hamcrest/hamcrest-php/tree/v3.0.0"
},
- "time": "2025-04-30T06:54:44+00:00"
+ "time": "2026-03-17T11:56:53+00:00"
},
{
"name": "mikey179/vfsstream",
@@ -7162,29 +7280,28 @@
},
{
"name": "mockery/mockery",
- "version": "1.6.12",
+ "version": "1.6.15",
"source": {
"type": "git",
"url": "https://github.com/mockery/mockery.git",
- "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699"
+ "reference": "967a801bd188989a5669bd280f252d51c0fdc9ee"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699",
- "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699",
+ "url": "https://api.github.com/repos/mockery/mockery/zipball/967a801bd188989a5669bd280f252d51c0fdc9ee",
+ "reference": "967a801bd188989a5669bd280f252d51c0fdc9ee",
"shasum": ""
},
"require": {
- "hamcrest/hamcrest-php": "^2.0.1",
- "lib-pcre": ">=7.0",
+ "hamcrest/hamcrest-php": "^2.0 || ^3.0",
"php": ">=7.3"
},
"conflict": {
"phpunit/phpunit": "<8.0"
},
"require-dev": {
- "phpunit/phpunit": "^8.5 || ^9.6.17",
- "symplify/easy-coding-standard": "^12.1.14"
+ "phpunit/phpunit": "^9.6.36",
+ "symplify/easy-coding-standard": "^13.2.17"
},
"type": "library",
"autoload": {
@@ -7241,28 +7358,30 @@
"security": "https://github.com/mockery/mockery/security/advisories",
"source": "https://github.com/mockery/mockery"
},
- "time": "2024-05-16T03:13:13+00:00"
+ "time": "2026-08-19T19:37:52+00:00"
},
{
"name": "nette/tester",
- "version": "v2.6.1",
+ "version": "v2.7.0",
"source": {
"type": "git",
"url": "https://github.com/nette/tester.git",
- "reference": "86e4d80d0953256c3b2930b9d47a07d2a9528770"
+ "reference": "66327711830b5696b091dc019ee2540dbd1cc2fd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/tester/zipball/86e4d80d0953256c3b2930b9d47a07d2a9528770",
- "reference": "86e4d80d0953256c3b2930b9d47a07d2a9528770",
+ "url": "https://api.github.com/repos/nette/tester/zipball/66327711830b5696b091dc019ee2540dbd1cc2fd",
+ "reference": "66327711830b5696b091dc019ee2540dbd1cc2fd",
"shasum": ""
},
"require": {
- "php": "8.0 - 8.5"
+ "php": "8.1 - 8.6"
},
"require-dev": {
"ext-simplexml": "*",
- "phpstan/phpstan": "^2.0@stable"
+ "nette/phpstan-rules": "^1.0",
+ "phpstan/extension-installer": "^1.4@stable",
+ "phpstan/phpstan": "^2.3@stable"
},
"bin": [
"src/tester"
@@ -7270,7 +7389,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.6-dev"
+ "dev-master": "2.7-dev"
}
},
"autoload": {
@@ -7295,39 +7414,33 @@
{
"name": "Miloslav Hůla",
"homepage": "https://github.com/milo"
- },
- {
- "name": "Nette Community",
- "homepage": "https://nette.org/contributors"
}
],
- "description": "Nette Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏",
+ "description": "🍏 Nette Tester: enjoyable unit testing in PHP. Tests are plain PHP scripts that run in parallel, with readable assertions and code coverage.",
"homepage": "https://tester.nette.org",
"keywords": [
- "Xdebug",
"assertions",
- "clover",
"code coverage",
"nette",
- "pcov",
- "phpdbg",
+ "parallel",
"phpunit",
+ "test framework",
"testing",
- "unit"
+ "unit testing"
],
"support": {
"issues": "https://github.com/nette/tester/issues",
- "source": "https://github.com/nette/tester/tree/v2.6.1"
+ "source": "https://github.com/nette/tester/tree/v2.7.0"
},
- "time": "2026-05-11T18:11:12+00:00"
+ "time": "2026-10-26T22:11:38+00:00"
},
{
"name": "phpstan/phpstan",
- "version": "2.2.5",
+ "version": "2.3.6",
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/909c1e5fef7989ac0d0c1c5c42e32a5c4f6198a0",
- "reference": "909c1e5fef7989ac0d0c1c5c42e32a5c4f6198a0",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/00cedebb76cc82c1592414fa4f616cefdccda16f",
+ "reference": "00cedebb76cc82c1592414fa4f616cefdccda16f",
"shasum": ""
},
"require": {
@@ -7383,20 +7496,20 @@
"type": "github"
}
],
- "time": "2026-07-05T06:31:06+00:00"
+ "time": "2026-11-15T19:58:26+00:00"
},
{
"name": "phpstan/phpstan-nette",
- "version": "2.0.12",
+ "version": "2.0.15",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-nette.git",
- "reference": "2c104f121b9db65407112069ef4fd43799c9ba0c"
+ "reference": "b108419a50b08b35ae7a2bf06a4570f29963179b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/2c104f121b9db65407112069ef4fd43799c9ba0c",
- "reference": "2c104f121b9db65407112069ef4fd43799c9ba0c",
+ "url": "https://api.github.com/repos/phpstan/phpstan-nette/zipball/b108419a50b08b35ae7a2bf06a4570f29963179b",
+ "reference": "b108419a50b08b35ae7a2bf06a4570f29963179b",
"shasum": ""
},
"require": {
@@ -7444,27 +7557,27 @@
"description": "Nette Framework class reflection extension for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-nette/issues",
- "source": "https://github.com/phpstan/phpstan-nette/tree/2.0.12"
+ "source": "https://github.com/phpstan/phpstan-nette/tree/2.0.15"
},
- "time": "2026-07-02T10:28:46+00:00"
+ "time": "2026-10-12T07:46:34+00:00"
},
{
"name": "rector/rector",
- "version": "2.5.7",
+ "version": "2.8.5",
"source": {
"type": "git",
"url": "https://github.com/rectorphp/rector.git",
- "reference": "ba22f8c087848278fed6b4910d4cf1108096d8d3"
+ "reference": "bf2982e3e2b8dfbcb43e5589fa301431cb1e479e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/rectorphp/rector/zipball/ba22f8c087848278fed6b4910d4cf1108096d8d3",
- "reference": "ba22f8c087848278fed6b4910d4cf1108096d8d3",
+ "url": "https://api.github.com/repos/rectorphp/rector/zipball/bf2982e3e2b8dfbcb43e5589fa301431cb1e479e",
+ "reference": "bf2982e3e2b8dfbcb43e5589fa301431cb1e479e",
"shasum": ""
},
"require": {
"php": "^7.4|^8.0",
- "phpstan/phpstan": "^2.2.2"
+ "phpstan/phpstan": "^2.3.5"
},
"conflict": {
"rector/rector-doctrine": "*",
@@ -7472,9 +7585,6 @@
"rector/rector-phpunit": "*",
"rector/rector-symfony": "*"
},
- "suggest": {
- "ext-dom": "To manipulate phpunit.xml via the custom-rule command"
- },
"bin": [
"bin/rector"
],
@@ -7498,7 +7608,7 @@
],
"support": {
"issues": "https://github.com/rectorphp/rector/issues",
- "source": "https://github.com/rectorphp/rector/tree/2.5.7"
+ "source": "https://github.com/rectorphp/rector/tree/2.8.5"
},
"funding": [
{
@@ -7506,25 +7616,34 @@
"type": "github"
}
],
- "time": "2026-07-13T15:24:18+00:00"
+ "time": "2026-11-14T23:24:35+00:00"
},
{
"name": "vrana/adminer",
- "version": "v5.5.0",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/vrana/adminer.git",
- "reference": "94dc72bba68fdb6e981abca35bafd315a7e776eb"
+ "reference": "6f95564e80f24a2a024a9cb9aee40cfd0aca8eb1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vrana/adminer/zipball/94dc72bba68fdb6e981abca35bafd315a7e776eb",
- "reference": "94dc72bba68fdb6e981abca35bafd315a7e776eb",
+ "url": "https://api.github.com/repos/vrana/adminer/zipball/6f95564e80f24a2a024a9cb9aee40cfd0aca8eb1",
+ "reference": "6f95564e80f24a2a024a9cb9aee40cfd0aca8eb1",
"shasum": ""
},
"require": {
+ "ext-json": "*",
+ "ext-session": "*",
"php": ">=7.4"
},
+ "require-dev": {
+ "phpcompatibility/php-compatibility": "dev-develop#a0fd248",
+ "phpstan/phpstan": "2.3.5",
+ "phpstan/phpstan-strict-rules": "2.1.1",
+ "slevomat/coding-standard": "8.31.3",
+ "squizlabs/php_codesniffer": "4.0.4"
+ },
"type": "library",
"autoload": {
"classmap": [
@@ -7570,7 +7689,7 @@
"type": "patreon"
}
],
- "time": "2026-07-17T13:02:10+00:00"
+ "time": "2026-11-03T14:40:36+00:00"
}
],
"aliases": [],
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index f5f5eaf2c..28882a340 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -1,7 +1,6 @@
-openapi: 3.0.0
+openapi: 3.1.0
info:
title: 'ReCodEx API'
- description: '* @OA\Info(version="1.0", title="ReCodEx API")'
version: '1.0'
paths:
/v1/security/check:
@@ -13,19 +12,17 @@ paths:
content:
application/json:
schema:
- required:
- - url
- - method
+ type: object
properties:
url:
+ type: [string, 'null']
description: 'URL of the resource that we are checking'
- type: string
- nullable: true
method:
+ type: [string, 'null']
description: 'The HTTP method'
- type: string
- nullable: true
- type: object
+ required:
+ - url
+ - method
responses:
'200':
description: 'Placeholder response'
@@ -38,28 +35,25 @@ paths:
content:
application/json:
schema:
- required:
- - username
- - password
+ type: object
properties:
username:
- description: "User's E-mail"
type: string
- example: name@domain.tld
- nullable: false
+ description: "User's E-mail"
minLength: 1
+ example: name@domain.tld
password:
- description: Password
type: string
- example: text
- nullable: false
+ description: Password
minLength: 1
+ example: text
expiration:
- description: 'Token expiration in seconds (not greater than the default)'
type: integer
+ description: 'Token expiration in seconds (not greater than the default)'
example: '0'
- nullable: false
- type: object
+ required:
+ - username
+ - password
responses:
'200':
description: 'Placeholder response'
@@ -80,25 +74,22 @@ paths:
content:
application/json:
schema:
- required:
- - scopes
+ type: object
properties:
effectiveRole:
- description: 'Effective user role contained within issued token'
type: string
+ description: 'Effective user role contained within issued token'
example: text
- nullable: false
scopes:
- description: 'A list of requested scopes'
type: array
- items: { }
- nullable: false
+ description: 'A list of requested scopes'
+ items: {}
expiration:
- description: 'How long should the token be valid (in seconds)'
type: integer
+ description: 'How long should the token be valid (in seconds)'
example: '0'
- nullable: false
- type: object
+ required:
+ - scopes
responses:
'200':
description: 'Placeholder response'
@@ -116,7 +107,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -133,26 +123,23 @@ paths:
required: true
schema:
type: string
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - token
+ type: object
properties:
token:
- description: 'JWT external authentication token'
type: string
- example: text
- nullable: false
+ description: 'JWT external authentication token'
minLength: 1
+ example: text
expiration:
- description: 'Token expiration in seconds (not greater than the default)'
type: integer
+ description: 'Token expiration in seconds (not greater than the default)'
example: '0'
- nullable: false
- type: object
+ required:
+ - token
responses:
'200':
description: 'Placeholder response'
@@ -189,14 +176,13 @@ paths:
content:
application/json:
schema:
- required:
- - message
+ type: object
properties:
message:
+ type: [string, 'null']
description: 'A textual description of the error'
- type: string
- nullable: true
- type: object
+ required:
+ - message
responses:
'200':
description: 'Placeholder response'
@@ -213,23 +199,20 @@ paths:
required: true
schema:
type: string
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - status
+ type: object
properties:
status:
+ type: [string, 'null']
description: 'The new status of the job'
- type: string
- nullable: true
message:
+ type: [string, 'null']
description: 'A textual explanation of the status change'
- type: string
- nullable: true
- type: object
+ required:
+ - status
responses:
'200':
description: 'Placeholder response'
@@ -247,7 +230,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -264,27 +246,24 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - text
+ type: object
properties:
text:
- description: 'Text of the comment'
type: string
- example: text
- nullable: false
- maxLength: 65535
+ description: 'Text of the comment'
minLength: 1
+ maxLength: 65535
+ example: text
isPrivate:
- description: 'True if the comment is private'
type: boolean
+ description: 'True if the comment is private'
example: 'true'
- nullable: false
- type: object
+ required:
+ - text
responses:
'200':
description: 'Placeholder response'
@@ -302,7 +281,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: commentId
in: path
@@ -311,7 +289,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -329,7 +306,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: commentId
in: path
@@ -338,20 +314,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - isPrivate
+ type: object
properties:
isPrivate:
- description: 'True if the comment is private'
type: boolean
+ description: 'True if the comment is private'
example: 'true'
- nullable: false
- type: object
+ required:
+ - isPrivate
responses:
'200':
description: 'Placeholder response'
@@ -369,7 +343,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: commentId
in: path
@@ -378,7 +351,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -395,40 +367,43 @@ paths:
required: false
schema:
type: integer
- nullable: false
-
name: limit
in: query
description: 'Maximal number of results returned.'
required: false
schema:
- type: integer
- nullable: true
+ type:
+ - integer
+ - 'null'
-
name: orderBy
in: query
description: "Name of the column (column concept). The '!' prefix indicate descending order."
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
-
name: filters
in: query
description: 'Named filters that prune the result.'
required: false
schema:
- type: array
- items: { }
- nullable: true
+ type:
+ - array
+ - 'null'
+ items: {}
-
name: locale
in: query
description: 'Currently set locale (used to augment order by clause if necessary),'
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
responses:
'200':
description: 'Placeholder response'
@@ -440,16 +415,15 @@ paths:
content:
application/json:
schema:
- required:
- - groupId
+ type: object
properties:
groupId:
+ type: [string, 'null']
description: 'Identifier of the group to which exercise belongs to'
- type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: true
- type: object
+ required:
+ - groupId
responses:
'200':
description: 'Placeholder response'
@@ -462,15 +436,14 @@ paths:
content:
application/json:
schema:
- required:
- - ids
+ type: object
properties:
ids:
- description: 'Identifications of exercises'
type: array
+ description: 'Identifications of exercises'
items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }
- nullable: false
- type: object
+ required:
+ - ids
responses:
'200':
description: 'Placeholder response'
@@ -488,16 +461,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: groupId
in: query
description: 'A group where the relevant exercises can be seen (assigned).'
required: false
schema:
- type: string
+ type:
+ - string
+ - 'null'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: true
responses:
'200':
description: 'Placeholder response'
@@ -519,36 +492,17 @@ paths:
description: 'Placeholder response'
'/v1/exercises/tags/{tag}':
post:
- summary: "Update the tag globally. At the moment, the only 'update' function is 'rename'. Other types of updates may be implemented in the future."
- description: "Update the tag globally. At the moment, the only 'update' function is 'rename'. Other types of updates may be implemented in the future."
- operationId: exercisesPresenterActionTagsUpdateGlobal
+ summary: 'Remove a tag from all exercises.'
+ description: 'Remove a tag from all exercises.'
+ operationId: exercisesPresenterActionTagsRemoveGlobal
parameters:
-
name: tag
in: path
- description: 'Tag to be updated'
+ description: 'Tag to be removed'
required: true
schema:
type: string
- nullable: false
- -
- name: renameTo
- in: query
- description: 'New name of the tag'
- required: false
- schema:
- type: string
- nullable: false
- maxLength: 32
- minLength: 1
- -
- name: force
- in: query
- description: 'If true, the rename will be allowed even if the new tag name exists (tags will be merged). Otherwise, name collisions will result in error.'
- required: false
- schema:
- type: boolean
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -566,7 +520,22 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
+ responses:
+ '200':
+ description: 'Placeholder response'
+ delete:
+ summary: 'Delete an exercise'
+ description: 'Delete an exercise'
+ operationId: exercisesPresenterActionRemove
+ parameters:
+ -
+ name: id
+ in: path
+ description: 'Identifier of the exercise'
+ required: true
+ schema:
+ type: string
+ pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
responses:
'200':
description: 'Placeholder response'
@@ -583,81 +552,54 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
- - difficulty
- - localizedTexts
- - solutionFilesLimit
- - solutionSizeLimit
- - mergeJudgeLogs
+ type: object
properties:
version:
- description: 'Version of the edited exercise'
type: integer
+ description: 'Version of the edited exercise'
example: '0'
- nullable: false
difficulty:
+ type: [string, 'null']
description: "Difficulty of an exercise, should be one of 'easy', 'medium' or 'hard'"
- type: string
- nullable: true
localizedTexts:
- description: 'A description of the exercise'
type: array
- items: { }
- nullable: false
+ description: 'A description of the exercise'
+ items: {}
isPublic:
- description: 'Exercise can be public or private'
type: boolean
+ description: 'Exercise can be public or private'
example: 'true'
- nullable: false
isLocked:
- description: 'If true, the exercise cannot be assigned'
type: boolean
+ description: 'If true, the exercise cannot be assigned'
example: 'true'
- nullable: false
configurationType:
- description: 'Identifies the way the evaluation of the exercise is configured'
type: string
+ description: 'Identifies the way the evaluation of the exercise is configured'
example: text
- nullable: false
solutionFilesLimit:
+ type: [integer, 'null']
description: 'Maximal number of files in a solution being submitted (default for assignments)'
- type: integer
example: '0'
- nullable: true
solutionSizeLimit:
+ type: [integer, 'null']
description: 'Maximal size (bytes) of all files in a solution being submitted (default for assignments)'
- type: integer
example: '0'
- nullable: true
mergeJudgeLogs:
- description: 'If true, judge stderr will be merged into stdout (default for assignments)'
type: boolean
+ description: 'If true, judge stderr will be merged into stdout (default for assignments)'
example: 'true'
- nullable: false
- type: object
- responses:
- '200':
- description: 'Placeholder response'
- delete:
- summary: 'Delete an exercise'
- description: 'Delete an exercise'
- operationId: exercisesPresenterActionRemove
- parameters:
- -
- name: id
- in: path
- description: 'Identifier of the exercise'
- required: true
- schema:
- type: string
- pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
+ required:
+ - version
+ - difficulty
+ - localizedTexts
+ - solutionFilesLimit
+ - solutionSizeLimit
+ - mergeJudgeLogs
responses:
'200':
description: 'Placeholder response'
@@ -675,20 +617,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
+ type: object
properties:
version:
- description: 'Version of the exercise.'
type: integer
+ description: 'Version of the exercise.'
example: '0'
- nullable: false
- type: object
+ required:
+ - version
responses:
'200':
description: 'Placeholder response'
@@ -706,21 +646,19 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - groupId
+ type: object
properties:
groupId:
+ type: [string, 'null']
description: 'Identifier of the group to which exercise will be forked'
- type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: true
- type: object
+ required:
+ - groupId
responses:
'200':
description: 'Placeholder response'
@@ -738,7 +676,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: archived
in: query
@@ -746,7 +683,6 @@ paths:
required: false
schema:
type: boolean
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -764,20 +700,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - hwGroups
+ type: object
properties:
hwGroups:
- description: 'List of hardware groups identifications to which exercise belongs to'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'List of hardware groups identifications to which exercise belongs to'
+ items: {}
+ required:
+ - hwGroups
responses:
'200':
description: 'Placeholder response'
@@ -795,7 +729,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: groupId
in: path
@@ -804,7 +737,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -821,7 +753,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: groupId
in: path
@@ -830,7 +761,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -848,7 +778,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: name
in: path
@@ -856,9 +785,8 @@ paths:
required: true
schema:
type: string
- nullable: false
- maxLength: 32
minLength: 1
+ maxLength: 32
responses:
'200':
description: 'Placeholder response'
@@ -875,7 +803,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: name
in: path
@@ -883,7 +810,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -901,20 +827,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - archived
+ type: object
properties:
archived:
- description: 'Whether the exercise should be marked or unmarked'
type: boolean
+ description: 'Whether the exercise should be marked or unmarked'
example: 'true'
- nullable: false
- type: object
+ required:
+ - archived
responses:
'200':
description: 'Placeholder response'
@@ -932,21 +856,19 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - author
+ type: object
properties:
author:
- description: 'Id of the new author of the exercise.'
type: string
+ description: 'Id of the new author of the exercise.'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
- type: object
+ required:
+ - author
responses:
'200':
description: 'Placeholder response'
@@ -964,20 +886,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - admins
+ type: object
properties:
admins:
- description: 'List of user IDs.'
type: array
+ description: 'List of user IDs.'
items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }
- nullable: false
- type: object
+ required:
+ - admins
responses:
'200':
description: 'Placeholder response'
@@ -995,20 +915,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - message
+ type: object
properties:
message:
- description: 'Message sent to notified users.'
type: string
+ description: 'Message sent to notified users.'
example: text
- nullable: false
- type: object
+ required:
+ - message
responses:
'200':
description: 'Placeholder response'
@@ -1026,7 +944,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1043,19 +960,17 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - files
+ type: object
properties:
files:
+ type: [string, 'null']
description: 'Identifiers of exercise files'
- type: string
- nullable: true
- type: object
+ required:
+ - files
responses:
'200':
description: 'Placeholder response'
@@ -1073,7 +988,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: fileId
in: path
@@ -1082,7 +996,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1100,7 +1013,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1118,7 +1030,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1135,44 +1046,39 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - exerciseFileId
- - key
+ type: object
properties:
exerciseFileId:
- description: 'Target file the link will point to'
type: string
+ description: 'Target file the link will point to'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
key:
- description: 'Internal user-selected identifier of the exercise file link within the exercise'
type: string
- pattern: '^[-a-zA-Z0-9_]+$'
- example: text
- nullable: false
- maxLength: 16
+ description: 'Internal user-selected identifier of the exercise file link within the exercise'
minLength: 1
+ maxLength: 16
+ pattern: '^[-a-zA-Z0-9_]+$'
+ example: text
requiredRole:
+ type: [string, 'null']
description: 'Minimal required user role to access the file (null = non-logged-in users)'
- type: string
- example: text
- nullable: true
- maxLength: 255
minLength: 1
+ maxLength: 255
+ example: text
saveName:
+ type: [string, 'null']
description: 'File name override (the file will be downloaded under this name instead of the original name)'
- type: string
- example: text
- nullable: true
- maxLength: 255
minLength: 1
- type: object
+ maxLength: 255
+ example: text
+ required:
+ - exerciseFileId
+ - key
responses:
'200':
description: 'Placeholder response'
@@ -1190,7 +1096,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: linkId
in: path
@@ -1199,35 +1104,31 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
key:
- description: 'Internal user-selected identifier of the exercise file link within the exercise'
type: string
+ description: 'Internal user-selected identifier of the exercise file link within the exercise'
+ minLength: 1
+ maxLength: 16
pattern: '^[-a-zA-Z0-9_]+$'
example: text
- nullable: false
- maxLength: 16
- minLength: 1
requiredRole:
+ type: [string, 'null']
description: 'Minimal required user role to access the file (null = non-logged-in users)'
- type: string
- example: text
- nullable: true
- maxLength: 255
minLength: 1
+ maxLength: 255
+ example: text
saveName:
+ type: [string, 'null']
description: 'File name override (the file will be downloaded under this name instead of the original name)'
- type: string
- example: text
- nullable: true
- maxLength: 255
minLength: 1
- type: object
+ maxLength: 255
+ example: text
responses:
'200':
description: 'Placeholder response'
@@ -1244,7 +1145,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: linkId
in: path
@@ -1253,7 +1153,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1271,7 +1170,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: linkKey
in: path
@@ -1279,9 +1177,8 @@ paths:
required: true
schema:
type: string
- nullable: false
- maxLength: 16
minLength: 1
+ maxLength: 16
responses:
'200':
description: 'Placeholder response'
@@ -1299,7 +1196,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1316,20 +1212,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - tests
+ type: object
properties:
tests:
- description: 'An array of tests which will belong to exercise'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'An array of tests which will belong to exercise'
+ items: {}
+ required:
+ - tests
responses:
'200':
description: 'Placeholder response'
@@ -1347,7 +1241,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1364,20 +1257,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - environmentConfigs
+ type: object
properties:
environmentConfigs:
- description: 'Environment configurations for the exercise'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'Environment configurations for the exercise'
+ items: {}
+ required:
+ - environmentConfigs
responses:
'200':
description: 'Placeholder response'
@@ -1395,7 +1286,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1412,20 +1302,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - config
+ type: object
properties:
config:
- description: 'A list of basic high level exercise configuration'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'A list of basic high level exercise configuration'
+ items: {}
+ required:
+ - config
responses:
'200':
description: 'Placeholder response'
@@ -1443,26 +1331,23 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - pipelinesIds
+ type: object
properties:
runtimeEnvironmentId:
- description: 'Environment identifier'
type: string
- example: text
- nullable: false
+ description: 'Environment identifier'
minLength: 1
+ example: text
pipelinesIds:
- description: 'Identifiers of selected pipelines for one test'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'Identifiers of selected pipelines for one test'
+ items: {}
+ required:
+ - pipelinesIds
responses:
'200':
description: 'Placeholder response'
@@ -1480,7 +1365,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: runtimeEnvironmentId
in: path
@@ -1488,7 +1372,6 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
-
name: hwGroupId
@@ -1497,7 +1380,6 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
responses:
'200':
@@ -1515,7 +1397,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: runtimeEnvironmentId
in: path
@@ -1523,7 +1404,6 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
-
name: hwGroupId
@@ -1532,21 +1412,19 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
requestBody:
content:
application/json:
schema:
- required:
- - limits
+ type: object
properties:
limits:
- description: 'A list of resource limits for the given environment and hardware group'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'A list of resource limits for the given environment and hardware group'
+ items: {}
+ required:
+ - limits
responses:
'200':
description: 'Placeholder response'
@@ -1563,7 +1441,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: runtimeEnvironmentId
in: path
@@ -1571,7 +1448,6 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
-
name: hwGroupId
@@ -1580,7 +1456,6 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
responses:
'200':
@@ -1599,7 +1474,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1616,20 +1490,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - limits
+ type: object
properties:
limits:
- description: 'A list of resource limits in the same format as getLimits endpoint yields.'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'A list of resource limits in the same format as getLimits endpoint yields.'
+ items: {}
+ required:
+ - limits
responses:
'200':
description: 'Placeholder response'
@@ -1647,7 +1519,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1664,25 +1535,22 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - scoreCalculator
- - scoreConfig
+ type: object
properties:
scoreCalculator:
- description: 'ID of the score calculator'
type: string
+ description: 'ID of the score calculator'
example: text
- nullable: false
scoreConfig:
+ type: [string, 'null']
description: 'A configuration of the score calculator (the format depends on the calculator type)'
- type: string
- nullable: true
- type: object
+ required:
+ - scoreCalculator
+ - scoreConfig
responses:
'200':
description: 'Placeholder response'
@@ -1695,23 +1563,21 @@ paths:
content:
application/json:
schema:
- required:
- - exerciseId
- - groupId
+ type: object
properties:
exerciseId:
+ type: [string, 'null']
description: 'Identifier of the exercise'
- type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: true
groupId:
+ type: [string, 'null']
description: 'Identifier of the group'
- type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: true
- type: object
+ required:
+ - exerciseId
+ - groupId
responses:
'200':
description: 'Placeholder response'
@@ -1729,7 +1595,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1746,139 +1611,116 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
- - isPublic
- - localizedStudentHints
- - firstDeadline
- - maxPointsBeforeFirstDeadline
- - submissionsCountLimit
- - solutionFilesLimit
- - solutionSizeLimit
- - allowSecondDeadline
- - canViewLimitRatios
- - canViewMeasuredValues
- - canViewJudgeStdout
- - canViewJudgeStderr
- - maxPointsDeadlineInterpolation
- - isBonus
+ type: object
properties:
version:
- description: 'Version of the edited assignment'
type: integer
+ description: 'Version of the edited assignment'
example: '0'
- nullable: false
isPublic:
- description: 'Is the assignment ready to be displayed to students?'
type: boolean
+ description: 'Is the assignment ready to be displayed to students?'
example: 'true'
- nullable: false
localizedStudentHints:
- description: 'Additional localized hint texts for students (locale => hint text)'
type: array
- items: { }
- nullable: false
+ description: 'Additional localized hint texts for students (locale => hint text)'
+ items: {}
firstDeadline:
- description: 'First deadline for submission of the assignment'
type: integer
+ description: 'First deadline for submission of the assignment'
example: '1740135333'
- nullable: false
maxPointsBeforeFirstDeadline:
- description: 'A maximum of points that can be awarded for a submission before first deadline'
type: integer
+ description: 'A maximum of points that can be awarded for a submission before first deadline'
example: '0'
- nullable: false
submissionsCountLimit:
- description: 'A maximum amount of submissions by a student for the assignment'
type: integer
+ description: 'A maximum amount of submissions by a student for the assignment'
example: '0'
- nullable: false
solutionFilesLimit:
+ type: [integer, 'null']
description: 'Maximal number of files in a solution being submitted'
- type: integer
example: '0'
- nullable: true
solutionSizeLimit:
+ type: [integer, 'null']
description: 'Maximal size (bytes) of all files in a solution being submitted'
- type: integer
example: '0'
- nullable: true
allowSecondDeadline:
- description: "Should there be a second deadline for students who didn't make the first one?"
type: boolean
+ description: "Should there be a second deadline for students who didn't make the first one?"
example: 'true'
- nullable: false
visibleFrom:
- description: 'Date from which this assignment will be visible to students'
type: integer
+ description: 'Date from which this assignment will be visible to students'
example: '1740135333'
- nullable: false
canViewLimitRatios:
- description: 'Can all users view ratio of theirs solution memory and time usages and assignment limits?'
type: boolean
+ description: 'Can all users view ratio of theirs solution memory and time usages and assignment limits?'
example: 'true'
- nullable: false
canViewMeasuredValues:
- description: 'Can all users view absolute memory and time values?'
type: boolean
+ description: 'Can all users view absolute memory and time values?'
example: 'true'
- nullable: false
canViewJudgeStdout:
- description: 'Can all users view judge primary log (stdout) of theirs solution?'
type: boolean
+ description: 'Can all users view judge primary log (stdout) of theirs solution?'
example: 'true'
- nullable: false
canViewJudgeStderr:
- description: 'Can all users view judge secondary log (stderr) of theirs solution?'
type: boolean
+ description: 'Can all users view judge secondary log (stderr) of theirs solution?'
example: 'true'
- nullable: false
secondDeadline:
- description: 'A second deadline for submission of the assignment (with different point award)'
type: integer
+ description: 'A second deadline for submission of the assignment (with different point award)'
example: '1740135333'
- nullable: false
maxPointsBeforeSecondDeadline:
- description: 'A maximum of points that can be awarded for a late submission'
type: integer
+ description: 'A maximum of points that can be awarded for a late submission'
example: '0'
- nullable: false
maxPointsDeadlineInterpolation:
- description: 'Use linear interpolation for max. points between 1st and 2nd deadline'
type: boolean
+ description: 'Use linear interpolation for max. points between 1st and 2nd deadline'
example: 'true'
- nullable: false
isBonus:
- description: 'If true, points from this exercise will not be included in overall score of group'
type: boolean
+ description: 'If true, points from this exercise will not be included in overall score of group'
example: 'true'
- nullable: false
pointsPercentualThreshold:
- description: 'A minimum percentage of points needed to gain point from assignment'
type: number
+ description: 'A minimum percentage of points needed to gain point from assignment'
example: '0.1'
- nullable: false
disabledRuntimeEnvironmentIds:
- description: 'Identifiers of runtime environments that should not be used for student submissions'
type: array
- items: { }
- nullable: false
+ description: 'Identifiers of runtime environments that should not be used for student submissions'
+ items: {}
sendNotification:
- description: 'If email notification (when assignment becomes public) should be sent'
type: boolean
+ description: 'If email notification (when assignment becomes public) should be sent'
example: 'true'
- nullable: false
isExam:
- description: 'This assignment is dedicated for an exam (should be solved in exam mode)'
type: boolean
+ description: 'This assignment is dedicated for an exam (should be solved in exam mode)'
example: 'true'
- nullable: false
- type: object
+ required:
+ - version
+ - isPublic
+ - localizedStudentHints
+ - firstDeadline
+ - maxPointsBeforeFirstDeadline
+ - submissionsCountLimit
+ - solutionFilesLimit
+ - solutionSizeLimit
+ - allowSecondDeadline
+ - canViewLimitRatios
+ - canViewMeasuredValues
+ - canViewJudgeStdout
+ - canViewJudgeStderr
+ - maxPointsDeadlineInterpolation
+ - isBonus
responses:
'200':
description: 'Placeholder response'
@@ -1895,7 +1737,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1913,26 +1754,23 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
- - localizedTexts
+ type: object
properties:
version:
- description: 'Version of the edited assignment'
type: integer
+ description: 'Version of the edited assignment'
example: '0'
- nullable: false
localizedTexts:
- description: 'Localized texts with exercise/assignment specification'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'Localized texts with exercise/assignment specification'
+ items: {}
+ required:
+ - version
+ - localizedTexts
responses:
'200':
description: 'Placeholder response'
@@ -1950,7 +1788,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1968,7 +1805,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -1986,7 +1822,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2004,7 +1839,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -2013,7 +1847,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2031,7 +1864,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -2040,7 +1872,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2058,20 +1889,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
+ type: object
properties:
version:
- description: 'Version of the assignment.'
type: integer
+ description: 'Version of the assignment.'
example: '0'
- nullable: false
- type: object
+ required:
+ - version
responses:
'200':
description: 'Placeholder response'
@@ -2089,18 +1918,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
syncOptions:
- description: 'List of options what to synchronize (if missing, everything is synchronized)'
type: array
- items: { type: string, pattern: ^(configurationType|exerciseConfig|exerciseEnvironmentConfigs|exerciseTests|files|fileLinks|hardwareGroups|limits|localizedTexts|mergeJudgeLogs|runtimeEnvironments|scoreConfig)$, example: text, maxLength: 32, minLength: 1 }
- nullable: false
- type: object
+ description: 'List of options what to synchronize (if missing, everything is synchronized)'
+ items: { type: string, minLength: 1, maxLength: 32, pattern: ^(configurationType|exerciseConfig|exerciseEnvironmentConfigs|exerciseTests|files|fileLinks|hardwareGroups|limits|localizedTexts|mergeJudgeLogs|runtimeEnvironments|scoreConfig)$, example: text }
responses:
'200':
description: 'Placeholder response'
@@ -2118,16 +1945,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: query
description: 'Identification of the user'
required: false
schema:
- type: string
+ type:
+ - string
+ - 'null'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: true
responses:
'200':
description: 'Placeholder response'
@@ -2145,42 +1972,36 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - note
- - files
- - runtimeEnvironmentId
+ type: object
properties:
note:
- description: 'A note by the author of the solution'
type: string
- example: text
- nullable: false
+ description: 'A note by the author of the solution'
maxLength: 1024
+ example: text
userId:
+ type: [string, 'null']
description: 'Author of the submission'
- type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: true
files:
+ type: [array, 'null']
description: 'Submitted files'
- type: array
items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }
- nullable: true
runtimeEnvironmentId:
+ type: [string, 'null']
description: 'Identifier of the runtime environment used for evaluation'
- type: string
- nullable: true
solutionParams:
+ type: [string, 'null']
description: 'Solution parameters'
- type: string
- nullable: true
- type: object
+ required:
+ - note
+ - files
+ - runtimeEnvironmentId
responses:
'200':
description: 'Placeholder response'
@@ -2198,7 +2019,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2215,7 +2035,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2233,29 +2052,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
- -
- name: userId
- in: query
- description: 'Identifier of the submission author'
- required: false
- schema:
- type: string
- pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: true
requestBody:
content:
application/json:
schema:
- required:
- - files
+ type: object
properties:
files:
+ type: [array, 'null']
description: 'Submitted files'
- type: array
items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }
- nullable: true
- type: object
+ required:
+ - files
responses:
'200':
description: 'Placeholder response'
@@ -2273,7 +2081,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2289,8 +2096,9 @@ paths:
description: 'Only groups of this instance are returned.'
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
-
name: ancestors
in: query
@@ -2298,15 +2106,15 @@ paths:
required: false
schema:
type: boolean
- nullable: false
-
name: search
in: query
description: 'Search string. Only groups containing this string as a substring of their names are returned.'
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
-
name: archived
in: query
@@ -2314,7 +2122,6 @@ paths:
required: false
schema:
type: boolean
- nullable: false
-
name: onlyArchived
in: query
@@ -2322,7 +2129,6 @@ paths:
required: false
schema:
type: boolean
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2334,86 +2140,74 @@ paths:
content:
application/json:
schema:
- required:
- - instanceId
+ type: object
properties:
instanceId:
- description: 'An identifier of the instance where the group should be created'
type: string
+ description: 'An identifier of the instance where the group should be created'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
externalId:
+ type: [string, 'null']
description: 'An informative, human readable identifier of the group'
- type: string
- nullable: true
parentGroupId:
- description: 'Identifier of the parent group (if none is given, a top-level group is created)'
type: string
+ description: 'Identifier of the parent group (if none is given, a top-level group is created)'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
publicStats:
- description: "Should students be able to see each other's results?"
type: boolean
+ description: "Should students be able to see each other's results?"
example: 'true'
- nullable: false
detaining:
- description: 'Are students prevented from leaving the group on their own?'
type: boolean
+ description: 'Are students prevented from leaving the group on their own?'
example: 'true'
- nullable: false
isPublic:
- description: 'Should the group be visible to all student?'
type: boolean
+ description: 'Should the group be visible to all student?'
example: 'true'
- nullable: false
isOrganizational:
- description: 'Whether the group is organizational (no assignments nor students).'
type: boolean
+ description: 'Whether the group is organizational (no assignments nor students).'
example: 'true'
- nullable: false
isExam:
- description: 'Whether the group is an exam group.'
type: boolean
+ description: 'Whether the group is an exam group.'
example: 'true'
- nullable: false
localizedTexts:
- description: 'Localized names and descriptions'
type: array
- items: { }
- nullable: false
+ description: 'Localized names and descriptions'
+ items: {}
threshold:
- description: 'A minimum percentage of points needed to pass the course'
type: integer
+ description: 'A minimum percentage of points needed to pass the course'
example: '0'
- nullable: false
pointsLimit:
- description: 'A minimum of (absolute) points needed to pass the course'
type: integer
+ description: 'A minimum of (absolute) points needed to pass the course'
example: '0'
- nullable: false
noAdmin:
- description: 'If true, no admin is assigned to group (current user is assigned as admin by default.'
type: boolean
+ description: 'If true, no admin is assigned to group (current user is assigned as admin by default.'
example: 'true'
- nullable: false
- type: object
+ required:
+ - instanceId
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
/v1/groups/validate-add-group-data:
post:
summary: 'Validate group creation data'
@@ -2423,28 +2217,24 @@ paths:
content:
application/json:
schema:
- required:
- - name
- - locale
- - instanceId
+ type: object
properties:
name:
+ type: [string, 'null']
description: 'Name of the group'
- type: string
- nullable: true
locale:
+ type: [string, 'null']
description: 'The locale of the name'
- type: string
- nullable: true
instanceId:
+ type: [string, 'null']
description: 'Identifier of the instance where the group belongs'
- type: string
- nullable: true
parentGroupId:
+ type: [string, 'null']
description: 'Identifier of the parent group'
- type: string
- nullable: true
- type: object
+ required:
+ - name
+ - locale
+ - instanceId
responses:
'200':
description: 'Placeholder response'
@@ -2462,22 +2252,21 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
post:
summary: 'Update group info'
description: 'Update group info'
@@ -2491,66 +2280,58 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - publicStats
- - isPublic
- - localizedTexts
+ type: object
properties:
externalId:
+ type: [string, 'null']
description: 'An informative, human readable identifier of the group'
- type: string
- nullable: true
publicStats:
- description: "Should students be able to see each other's results?"
type: boolean
+ description: "Should students be able to see each other's results?"
example: 'true'
- nullable: false
detaining:
- description: 'Are students prevented from leaving the group on their own?'
type: boolean
+ description: 'Are students prevented from leaving the group on their own?'
example: 'true'
- nullable: false
isPublic:
- description: 'Should the group be visible to all student?'
type: boolean
+ description: 'Should the group be visible to all student?'
example: 'true'
- nullable: false
threshold:
- description: 'A minimum percentage of points needed to pass the course'
type: integer
+ description: 'A minimum percentage of points needed to pass the course'
example: '0'
- nullable: false
pointsLimit:
- description: 'A minimum of (absolute) points needed to pass the course'
type: integer
+ description: 'A minimum of (absolute) points needed to pass the course'
example: '0'
- nullable: false
localizedTexts:
- description: 'Localized names and descriptions'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'Localized names and descriptions'
+ items: {}
+ required:
+ - publicStats
+ - isPublic
+ - localizedTexts
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
delete:
summary: 'Delete a group'
description: 'Delete a group'
@@ -2564,7 +2345,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2582,7 +2362,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2601,35 +2380,33 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - value
+ type: object
properties:
value:
- description: 'The value of the flag'
type: boolean
+ description: 'The value of the flag'
example: 'true'
- nullable: false
- type: object
+ required:
+ - value
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
'/v1/groups/{id}/archived':
post:
summary: "Set the 'isArchived' flag for a group"
@@ -2644,35 +2421,33 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - value
+ type: object
properties:
value:
- description: 'The value of the flag'
type: boolean
+ description: 'The value of the flag'
example: 'true'
- nullable: false
- type: object
+ required:
+ - value
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
'/v1/groups/{id}/exam':
post:
summary: "Change the group 'exam' indicator. If denotes that the group should be listed in exam groups instead of regular groups and the assignments should have 'isExam' flag set by default."
@@ -2687,35 +2462,33 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - value
+ type: object
properties:
value:
- description: 'The value of the flag'
type: boolean
+ description: 'The value of the flag'
example: 'true'
- nullable: false
- type: object
+ required:
+ - value
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
'/v1/groups/{id}/examPeriod':
post:
summary: 'Set an examination period (in the future) when the group will be secured for submitting. Only locked students may submit solutions in the group during this period. This endpoint is also used to update already planned exam period, but only dates in the future can be edited (e.g., once an exam begins, the beginning may no longer be updated).'
@@ -2730,45 +2503,41 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - end
+ type: object
properties:
begin:
+ type: [integer, 'null']
description: 'When the exam begins (unix ts in the future, optional if update is performed).'
- type: integer
example: '1740135333'
- nullable: true
end:
- description: "When the exam ends (unix ts in the future, no more than a day after 'begin')."
type: integer
+ description: "When the exam ends (unix ts in the future, no more than a day after 'begin')."
example: '1740135333'
- nullable: false
- strict:
- description: 'Whether locked users are prevented from accessing other groups.'
- type: boolean
- example: 'true'
- nullable: false
- type: object
+ type:
+ type: string
+ description: "Lock type ('visible', 'reviewed', 'accepted', 'restricted')."
+ example: text
+ required:
+ - end
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
delete:
summary: 'Change the group back to regular group (remove information about an exam).'
description: 'Change the group back to regular group (remove information about an exam).'
@@ -2782,22 +2551,21 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
'/v1/groups/{id}/exam/{examId}':
get:
summary: 'Retrieve a list of locks for given exam'
@@ -2812,7 +2580,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: examId
in: path
@@ -2820,7 +2587,6 @@ paths:
required: true
schema:
type: integer
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2838,7 +2604,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: newParentId
in: path
@@ -2847,7 +2612,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2865,7 +2629,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2883,7 +2646,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -2892,7 +2654,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -2909,7 +2670,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -2918,22 +2678,21 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
delete:
summary: 'Remove a student from a group'
description: 'Remove a student from a group'
@@ -2947,7 +2706,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -2956,22 +2714,21 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
'/v1/groups/{id}/students/{userId}/solutions':
get:
summary: 'Get all solutions of a single student from all assignments in a group'
@@ -2986,7 +2743,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -2995,7 +2751,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3013,7 +2768,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -3022,7 +2776,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3039,7 +2792,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -3048,7 +2800,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3066,7 +2817,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3085,7 +2835,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -3094,36 +2843,34 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - type
+ type: object
properties:
type:
- description: 'Identifier of membership type (admin, supervisor, ...)'
type: string
- example: text
- nullable: false
+ description: 'Identifier of membership type (admin, supervisor, ...)'
minLength: 1
- type: object
+ example: text
+ required:
+ - type
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
delete:
summary: 'Remove a member (other than student) from a group'
description: 'Remove a member (other than student) from a group'
@@ -3137,7 +2884,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: path
@@ -3146,22 +2892,21 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Response data'
content:
application/json:
schema:
+ type: object
+ properties:
+ success: { type: boolean, description: 'Whether the request was processed successfully.', example: 'true' }
+ code: { type: integer, description: 'HTTP response code.', example: '0' }
+ payload: { type: object, description: 'The payload of the response.', properties: { id: { type: string, description: 'An identifier of the group', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, externalId: { type: [string, 'null'], description: 'An informative, human readable identifier of the group', example: text }, organizational: { type: boolean, description: 'Whether the group is organizational (no assignments nor students).', example: 'true' }, exam: { type: boolean, description: 'Whether the group is an exam group.', example: 'true' }, archived: { type: boolean, description: 'Whether the group is archived', example: 'true' }, public: { type: boolean, description: 'Should the group be visible to all student?', example: 'true' }, directlyArchived: { type: boolean, description: 'Whether the group was explicitly marked as archived', example: 'true' }, localizedTexts: { type: array, description: 'Localized names and descriptions', items: {} }, primaryAdminsIds: { type: array, description: 'IDs of users which are explicitly listed as direct admins of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, parentGroupId: { type: string, description: 'Identifier of the parent group (absent for a top-level group)', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, parentGroupsIds: { type: array, description: 'Identifications of groups in descending order.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, childGroups: { type: array, description: 'Identifications of child groups.', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, privateData: { type: object, description: '', properties: { admins: { type: array, description: 'IDs of all users that have admin privileges to this group (including inherited)', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, supervisors: { type: array, description: 'IDs of all group supervisors', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, observers: { type: array, description: 'IDs of all group observers', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, students: { type: array, description: 'IDs of the students of this group', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, instanceId: { type: string, description: 'ID of an instance in which the group belongs', pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, hasValidLicence: { type: boolean, description: 'Whether the instance where the group belongs has a valid license', example: 'true' }, assignments: { type: array, description: 'IDs of all group assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, shadowAssignments: { type: array, description: 'IDs of all group shadow assignments', items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 } }, publicStats: { type: boolean, description: "Whether the student's results are visible to other students", example: 'true' }, detaining: { type: boolean, description: 'Whether the group detains the students (so they can be released only by the teacher)', example: 'true' }, threshold: { type: number, description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', example: '0.1' }, pointsLimit: { type: integer, description: "A minimal number of points that a student must receive to fulfill the group's requirements", example: '0' }, bindings: { type: array, description: 'Entities bound to the group', items: {} }, examBegin: { type: integer, description: 'The time when the exam starts if there is an exam scheduled', example: '1740135333' }, examEnd: { type: integer, description: 'The time when the exam ends if there is an exam scheduled', example: '1740135333' }, examLockType: { type: string, description: "Type (restriction level) of the exam lock ('restricted', 'accepted', 'reviewed', 'visible')", example: text }, exams: { type: array, description: 'All past exams (with at least one student locked)', items: {} } } }, permissionHints: { type: array, description: '', items: {} } } }
required:
- success
- code
- payload
- properties:
- success: { description: 'Whether the request was processed successfully.', type: boolean, example: 'true', nullable: false }
- code: { description: 'HTTP response code.', type: integer, example: '0', nullable: false }
- payload: { description: 'The payload of the response.', properties: { id: { description: 'An identifier of the group', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, externalId: { description: 'An informative, human readable identifier of the group', type: string, example: text, nullable: true }, organizational: { description: 'Whether the group is organizational (no assignments nor students).', type: boolean, example: 'true', nullable: false }, exam: { description: 'Whether the group is an exam group.', type: boolean, example: 'true', nullable: false }, archived: { description: 'Whether the group is archived', type: boolean, example: 'true', nullable: false }, public: { description: 'Should the group be visible to all student?', type: boolean, example: 'true', nullable: false }, directlyArchived: { description: 'Whether the group was explicitly marked as archived', type: boolean, example: 'true', nullable: false }, localizedTexts: { description: 'Localized names and descriptions', type: array, items: { }, nullable: false }, primaryAdminsIds: { description: 'IDs of users which are explicitly listed as direct admins of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, parentGroupId: { description: 'Identifier of the parent group (absent for a top-level group)', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, parentGroupsIds: { description: 'Identifications of groups in descending order.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, childGroups: { description: 'Identifications of child groups.', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, privateData: { description: '', properties: { admins: { description: 'IDs of all users that have admin privileges to this group (including inherited)', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, supervisors: { description: 'IDs of all group supervisors', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, observers: { description: 'IDs of all group observers', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, students: { description: 'IDs of the students of this group', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, instanceId: { description: 'ID of an instance in which the group belongs', type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000, nullable: false }, hasValidLicence: { description: 'Whether the instance where the group belongs has a valid license', type: boolean, example: 'true', nullable: false }, assignments: { description: 'IDs of all group assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, shadowAssignments: { description: 'IDs of all group shadow assignments', type: array, items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }, nullable: false }, publicStats: { description: "Whether the student's results are visible to other students", type: boolean, example: 'true', nullable: false }, detaining: { description: 'Whether the group detains the students (so they can be released only by the teacher)', type: boolean, example: 'true', nullable: false }, threshold: { description: 'A relative number of points a student must receive from assignments to fulfill the requirements of the group', type: number, example: '0.1', nullable: false }, pointsLimit: { description: "A minimal number of points that a student must receive to fulfill the group's requirements", type: integer, example: '0', nullable: false }, bindings: { description: 'Entities bound to the group', type: array, items: { }, nullable: false }, examBegin: { description: 'The time when the exam starts if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examEnd: { description: 'The time when the exam ends if there is an exam scheduled', type: integer, example: '1740135333', nullable: false }, examLockStrict: { description: 'Whether the scheduled exam requires a strict access lock', type: boolean, example: 'true', nullable: false }, exams: { description: 'All past exams (with at least one student locked)', type: array, items: { }, nullable: false } }, type: object, nullable: false }, permissionHints: { description: '', type: array, items: { }, nullable: false } }, type: object, nullable: false }
- type: object
'/v1/groups/{id}/assignments':
get:
summary: 'Get all exercise assignments for a group'
@@ -3176,7 +2921,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3194,7 +2938,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3212,7 +2955,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3229,25 +2971,22 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - expireAt
- - note
+ type: object
properties:
expireAt:
+ type: [integer, 'null']
description: 'When the invitation expires.'
- type: integer
example: '1740135333'
- nullable: true
note:
+ type: [string, 'null']
description: 'Note for the students who wish to use the invitation link.'
- type: string
- nullable: true
- type: object
+ required:
+ - expireAt
+ - note
responses:
'200':
description: 'Placeholder response'
@@ -3265,7 +3004,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3282,25 +3020,22 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - expireAt
- - note
+ type: object
properties:
expireAt:
+ type: [integer, 'null']
description: 'When the invitation expires.'
- type: integer
example: '1740135333'
- nullable: true
note:
+ type: [string, 'null']
description: 'Note for the students who wish to use the invitation link.'
- type: string
- nullable: true
- type: object
+ required:
+ - expireAt
+ - note
responses:
'200':
description: 'Placeholder response'
@@ -3317,7 +3052,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3335,7 +3069,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3353,7 +3086,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: service
in: query
@@ -3361,7 +3093,6 @@ paths:
required: false
schema:
type: string
- nullable: false
-
name: user
in: query
@@ -3370,7 +3101,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3388,7 +3118,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3405,37 +3134,33 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - service
- - key
- - value
+ type: object
properties:
service:
- description: 'Identifier of the external service creating the attribute'
type: string
- example: text
- nullable: false
- maxLength: 32
+ description: 'Identifier of the external service creating the attribute'
minLength: 1
+ maxLength: 32
+ example: text
key:
- description: 'Key of the attribute (must be valid identifier)'
type: string
- example: text
- nullable: false
- maxLength: 32
+ description: 'Key of the attribute (must be valid identifier)'
minLength: 1
+ maxLength: 32
+ example: text
value:
- description: 'Value of the attribute (arbitrary string)'
type: string
- example: text
- nullable: false
+ description: 'Value of the attribute (arbitrary string)'
maxLength: 255
- type: object
+ example: text
+ required:
+ - service
+ - key
+ - value
responses:
'200':
description: 'Placeholder response'
@@ -3452,7 +3177,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: service
in: query
@@ -3460,9 +3184,8 @@ paths:
required: true
schema:
type: string
- nullable: false
- maxLength: 32
minLength: 1
+ maxLength: 32
-
name: key
in: query
@@ -3470,9 +3193,8 @@ paths:
required: true
schema:
type: string
- nullable: false
- maxLength: 32
minLength: 1
+ maxLength: 32
-
name: value
in: query
@@ -3480,7 +3202,6 @@ paths:
required: true
schema:
type: string
- nullable: false
maxLength: 255
responses:
'200':
@@ -3501,26 +3222,23 @@ paths:
content:
application/json:
schema:
- required:
- - name
- - isOpen
+ type: object
properties:
name:
- description: 'Name of the instance'
type: string
- example: text
- nullable: false
+ description: 'Name of the instance'
minLength: 2
+ example: text
description:
+ type: [string, 'null']
description: 'Description of the instance'
- type: string
- nullable: true
isOpen:
- description: 'Should the instance be open for registration?'
type: boolean
+ description: 'Should the instance be open for registration?'
example: 'true'
- nullable: false
- type: object
+ required:
+ - name
+ - isOpen
responses:
'200':
description: 'Placeholder response'
@@ -3538,7 +3256,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3555,18 +3272,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
isOpen:
- description: 'Should the instance be open for registration?'
type: boolean
+ description: 'Should the instance be open for registration?'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -3583,7 +3298,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3601,7 +3315,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3618,27 +3331,24 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - note
- - validUntil
+ type: object
properties:
note:
- description: 'A note for users or administrators'
type: string
- example: text
- nullable: false
+ description: 'A note for users or administrators'
minLength: 2
+ example: text
validUntil:
- description: 'Expiration date of the license'
type: integer
+ description: 'Expiration date of the license'
example: '1740135333'
- nullable: false
- type: object
+ required:
+ - note
+ - validUntil
responses:
'200':
description: 'Placeholder response'
@@ -3656,30 +3366,26 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
note:
- description: 'A note for users or administrators'
type: string
- example: text
- nullable: false
- maxLength: 255
+ description: 'A note for users or administrators'
minLength: 2
+ maxLength: 255
+ example: text
validUntil:
- description: 'Expiration date of the license'
type: string
+ description: 'Expiration date of the license'
example: text
- nullable: false
isValid:
- description: 'Administrator switch to toggle license validity'
type: boolean
+ description: 'Administrator switch to toggle license validity'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -3696,7 +3402,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3714,7 +3419,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3732,22 +3436,20 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - files
+ type: object
properties:
files:
- description: ''
type: array
- items: { }
- nullable: false
- type: object
- responses:
- '200':
+ description: 'Files of the reference solution'
+ items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }
+ required:
+ - files
+ responses:
+ '200':
description: 'Placeholder response'
'/v1/reference-solutions/exercise/{exerciseId}/submit':
post:
@@ -3763,34 +3465,30 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - note
- - files
- - runtimeEnvironmentId
+ type: object
properties:
note:
- description: 'Description of this particular reference solution, for example used algorithm'
type: string
+ description: 'Description of this particular reference solution, for example used algorithm'
example: text
- nullable: false
files:
+ type: array
description: 'Files of the reference solution'
- type: string
- nullable: true
+ items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }
runtimeEnvironmentId:
+ type: [string, 'null']
description: 'ID of runtime for this solution'
- type: string
- nullable: true
solutionParams:
+ type: [string, 'null']
description: 'Solution parameters'
- type: string
- nullable: true
- type: object
+ required:
+ - note
+ - files
+ - runtimeEnvironmentId
responses:
'200':
description: 'Placeholder response'
@@ -3808,18 +3506,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
debug:
- description: 'Debugging evaluation with all logs and outputs'
type: boolean
+ description: 'Debugging evaluation with all logs and outputs'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -3837,7 +3533,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3854,21 +3549,19 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - note
+ type: object
properties:
note:
- description: 'A description by the author of the solution'
type: string
- example: text
- nullable: false
+ description: 'A description by the author of the solution'
maxLength: 65535
- type: object
+ example: text
+ required:
+ - note
responses:
'200':
description: 'Placeholder response'
@@ -3885,7 +3578,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3903,18 +3595,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
debug:
- description: 'Debugging evaluation with all logs and outputs'
type: boolean
+ description: 'Debugging evaluation with all logs and outputs'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -3932,7 +3622,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3950,7 +3639,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3968,7 +3656,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -3986,20 +3673,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - visibility
+ type: object
properties:
visibility:
- description: 'New visibility level.'
type: integer
+ description: 'New visibility level.'
example: '0'
- nullable: false
- type: object
+ required:
+ - visibility
responses:
'200':
description: 'Placeholder response'
@@ -4017,7 +3702,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4034,7 +3718,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4052,7 +3735,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4070,7 +3752,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4088,7 +3769,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4105,21 +3785,19 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - note
+ type: object
properties:
note:
- description: 'A note by the author of the solution'
type: string
- example: text
- nullable: false
+ description: 'A note by the author of the solution'
maxLength: 1024
- type: object
+ example: text
+ required:
+ - note
responses:
'200':
description: 'Placeholder response'
@@ -4136,7 +3814,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4154,24 +3831,21 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - bonusPoints
+ type: object
properties:
bonusPoints:
- description: 'New amount of bonus points, can be negative number'
type: integer
+ description: 'New amount of bonus points, can be negative number'
example: '0'
- nullable: false
overriddenPoints:
+ type: [string, 'null']
description: 'Overrides points assigned to solution by the system'
- type: string
- nullable: true
- type: object
+ required:
+ - bonusPoints
responses:
'200':
description: 'Placeholder response'
@@ -4189,7 +3863,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4207,7 +3880,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: flag
in: path
@@ -4215,20 +3887,18 @@ paths:
required: true
schema:
type: string
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - value
+ type: object
properties:
value:
- description: 'True or false which should be set to given flag name'
type: boolean
+ description: 'True or false which should be set to given flag name'
example: 'true'
- nullable: false
- type: object
+ required:
+ - value
responses:
'200':
description: 'Placeholder response'
@@ -4246,18 +3916,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
debug:
- description: 'Debugging resubmit with all logs and outputs'
type: boolean
+ description: 'Debugging resubmit with all logs and outputs'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -4275,7 +3943,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4293,7 +3960,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4311,7 +3977,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4328,7 +3993,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4346,7 +4010,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4364,7 +4027,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4382,7 +4044,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4399,20 +4060,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - close
+ type: object
properties:
close:
- description: 'If true, the review is closed. If false, the review is (re)opened.'
type: boolean
+ description: 'If true, the review is closed. If false, the review is (re)opened.'
example: 'true'
- nullable: false
- type: object
+ required:
+ - close
responses:
'200':
description: 'Placeholder response'
@@ -4429,7 +4088,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4447,45 +4105,39 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - text
- - file
- - line
+ type: object
properties:
text:
- description: 'The comment itself.'
type: string
- example: text
- nullable: false
- maxLength: 65535
+ description: 'The comment itself.'
minLength: 1
+ maxLength: 65535
+ example: text
file:
- description: 'Identification of the file to which the comment is related to.'
type: string
- example: text
- nullable: false
+ description: 'Identification of the file to which the comment is related to.'
maxLength: 256
+ example: text
line:
- description: 'Line in the designated file to which the comment is related to.'
type: integer
+ description: 'Line in the designated file to which the comment is related to.'
example: '0'
- nullable: false
issue:
- description: 'Whether the comment is an issue (expected to be resolved by the student)'
type: boolean
+ description: 'Whether the comment is an issue (expected to be resolved by the student)'
example: 'true'
- nullable: false
suppressNotification:
- description: 'If true, no email notification will be sent (only applies when the review has been closed)'
type: boolean
+ description: 'If true, no email notification will be sent (only applies when the review has been closed)'
example: 'true'
- nullable: false
- type: object
+ required:
+ - text
+ - file
+ - line
responses:
'200':
description: 'Placeholder response'
@@ -4503,7 +4155,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: commentId
in: path
@@ -4512,32 +4163,28 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - text
+ type: object
properties:
text:
- description: 'The comment itself.'
type: string
- example: text
- nullable: false
- maxLength: 65535
+ description: 'The comment itself.'
minLength: 1
+ maxLength: 65535
+ example: text
issue:
- description: 'Whether the comment is an issue (expected to be resolved by the student)'
type: boolean
+ description: 'Whether the comment is an issue (expected to be resolved by the student)'
example: 'true'
- nullable: false
suppressNotification:
- description: 'If true, no email notification will be sent (only applies when the review has been closed)'
type: boolean
+ description: 'If true, no email notification will be sent (only applies when the review has been closed)'
example: 'true'
- nullable: false
- type: object
+ required:
+ - text
responses:
'200':
description: 'Placeholder response'
@@ -4554,7 +4201,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: commentId
in: path
@@ -4563,7 +4209,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4581,7 +4226,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: groupId
in: query
@@ -4590,7 +4234,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: userId
in: query
@@ -4599,7 +4242,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4633,7 +4275,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4651,26 +4292,23 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - sendEmail
+ type: object
properties:
note:
- description: 'Brief description of how the failure was resolved'
type: string
- example: text
- nullable: false
+ description: 'Brief description of how the failure was resolved'
maxLength: 255
+ example: text
sendEmail:
- description: 'True if email should be sent to the author of submission'
type: boolean
+ description: 'True if email should be sent to the author of submission'
example: 'true'
- nullable: false
- type: object
+ required:
+ - sendEmail
responses:
'200':
description: 'Placeholder response'
@@ -4683,23 +4321,21 @@ paths:
content:
application/json:
schema:
- required:
- - name
- - size
+ type: object
properties:
name:
- description: 'Name of the uploaded file.'
type: string
- example: text
- nullable: false
- maxLength: 255
+ description: 'Name of the uploaded file.'
minLength: 1
+ maxLength: 255
+ example: text
size:
- description: 'Total size in bytes.'
type: integer
+ description: 'Total size in bytes.'
example: '0'
- nullable: false
- type: object
+ required:
+ - name
+ - size
responses:
'200':
description: 'Placeholder response'
@@ -4717,7 +4353,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: offset
in: query
@@ -4725,7 +4360,6 @@ paths:
required: true
schema:
type: integer
- nullable: false
requestBody:
content:
application/octet-stream:
@@ -4735,10 +4369,10 @@ paths:
responses:
'200':
description: 'Placeholder response'
- post:
- summary: 'Finalize partial upload and convert the partial file into UploadedFile entity. All data chunks are extracted from the store, assembled into one file, and that is moved back into the store.'
- description: 'Finalize partial upload and convert the partial file into UploadedFile entity. All data chunks are extracted from the store, assembled into one file, and that is moved back into the store.'
- operationId: uploadedFilesPresenterActionCompletePartial
+ delete:
+ summary: 'Cancel partial upload and remove all uploaded chunks.'
+ description: 'Cancel partial upload and remove all uploaded chunks.'
+ operationId: uploadedFilesPresenterActionCancelPartial
parameters:
-
name: id
@@ -4748,14 +4382,13 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
- delete:
- summary: 'Cancel partial upload and remove all uploaded chunks.'
- description: 'Cancel partial upload and remove all uploaded chunks.'
- operationId: uploadedFilesPresenterActionCancelPartial
+ post:
+ summary: 'Finalize partial upload and convert the partial file into UploadedFile entity. All data chunks are extracted from the store, assembled into one file, and that is moved back into the store.'
+ description: 'Finalize partial upload and convert the partial file into UploadedFile entity. All data chunks are extracted from the store, assembled into one file, and that is moved back into the store.'
+ operationId: uploadedFilesPresenterActionCompletePartial
parameters:
-
name: id
@@ -4765,7 +4398,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4783,7 +4415,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4796,15 +4427,14 @@ paths:
content:
multipart/form-data:
schema:
- required:
- - file
+ type: object
properties:
file:
- description: 'The whole file to be uploaded'
type: string
format: binary
- nullable: false
- type: object
+ description: 'The whole file to be uploaded'
+ required:
+ - file
responses:
'200':
description: 'Placeholder response'
@@ -4822,7 +4452,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4840,7 +4469,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: entry
in: query
@@ -4848,7 +4476,6 @@ paths:
required: false
schema:
type: string
- nullable: false
minLength: 1
-
name: similarSolutionId
@@ -4858,7 +4485,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4876,7 +4502,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: entry
in: query
@@ -4884,7 +4509,6 @@ paths:
required: false
schema:
type: string
- nullable: false
minLength: 1
-
name: similarSolutionId
@@ -4894,7 +4518,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4912,7 +4535,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -4929,23 +4551,24 @@ paths:
required: false
schema:
type: integer
- nullable: false
-
name: limit
in: query
description: 'Maximal number of results returned.'
required: false
schema:
- type: integer
- nullable: true
+ type:
+ - integer
+ - 'null'
-
name: orderBy
in: query
description: "Name of the column (column concept). The '!' prefix indicate descending order."
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
-
name: filters
in: query
@@ -4954,34 +4577,33 @@ paths:
style: deepObject
explode: true
schema:
+ type:
+ - object
+ - 'null'
properties:
search:
- description: 'A search pattern'
type: string
+ description: 'A search pattern'
example: text
- nullable: false
instanceId:
- description: 'The instance ID of the user'
type: string
+ description: 'The instance ID of the user'
example: text
- nullable: false
roles:
- description: 'The roles of the user'
type: array
+ description: 'The roles of the user'
items:
type: string
example: text
- nullable: false
- type: object
- nullable: true
-
name: locale
in: query
description: 'Currently set locale (used to augment order by clause if necessary),'
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
responses:
'200':
description: 'Placeholder response'
@@ -4993,68 +4615,59 @@ paths:
content:
application/json:
schema:
- required:
- - email
- - firstName
- - lastName
- - password
- - passwordConfirm
- - instanceId
+ type: object
properties:
email:
- description: 'An email that will serve as a login name'
type: string
- example: name@domain.tld
- nullable: false
+ description: 'An email that will serve as a login name'
minLength: 1
+ example: name@domain.tld
firstName:
- description: 'First name'
type: string
- example: text
- nullable: false
+ description: 'First name'
minLength: 2
+ example: text
lastName:
- description: 'Last name'
type: string
- example: text
- nullable: false
+ description: 'Last name'
minLength: 2
+ example: text
password:
- description: 'A password for authentication'
type: string
- example: text
- nullable: false
+ description: 'A password for authentication'
minLength: 1
+ example: text
passwordConfirm:
- description: 'A password confirmation'
type: string
- example: text
- nullable: false
+ description: 'A password confirmation'
minLength: 1
+ example: text
instanceId:
- description: 'Identifier of the instance to register in'
type: string
+ description: 'Identifier of the instance to register in'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
titlesBeforeName:
- description: 'Titles which is placed before user name'
type: string
- example: text
- nullable: false
+ description: 'Titles which is placed before user name'
minLength: 1
+ example: text
titlesAfterName:
- description: 'Titles which is placed after user name'
type: string
- example: text
- nullable: false
+ description: 'Titles which is placed after user name'
minLength: 1
+ example: text
ignoreNameCollision:
- description: 'If a use with the same name exists, this needs to be set to true.'
type: boolean
+ description: 'If a use with the same name exists, this needs to be set to true.'
example: 'true'
- nullable: false
- type: object
+ required:
+ - email
+ - firstName
+ - lastName
+ - password
+ - passwordConfirm
+ - instanceId
responses:
'200':
description: 'Placeholder response'
@@ -5067,18 +4680,16 @@ paths:
content:
application/json:
schema:
- required:
- - email
+ type: object
properties:
email:
+ type: [string, 'null']
description: 'E-mail address (login name)'
- type: string
- nullable: true
password:
+ type: [string, 'null']
description: 'Authentication password'
- type: string
- nullable: true
- type: object
+ required:
+ - email
responses:
'200':
description: 'Placeholder response'
@@ -5091,15 +4702,14 @@ paths:
content:
application/json:
schema:
- required:
- - ids
+ type: object
properties:
ids:
- description: 'Identifications of users'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'Identifications of users'
+ items: {}
+ required:
+ - ids
responses:
'200':
description: 'Placeholder response'
@@ -5116,7 +4726,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5132,7 +4741,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5145,66 +4753,57 @@ paths:
content:
application/json:
schema:
- required:
- - email
- - firstName
- - lastName
- - instanceId
+ type: object
properties:
email:
- description: 'An email that will serve as a login name'
type: string
- example: name@domain.tld
- nullable: false
+ description: 'An email that will serve as a login name'
minLength: 1
+ example: name@domain.tld
firstName:
- description: 'First name'
type: string
- example: text
- nullable: false
+ description: 'First name'
minLength: 2
+ example: text
lastName:
- description: 'Last name'
type: string
- example: text
- nullable: false
+ description: 'Last name'
minLength: 2
+ example: text
instanceId:
- description: 'Identifier of the instance to register in'
type: string
+ description: 'Identifier of the instance to register in'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
titlesBeforeName:
- description: 'Titles that are placed before user name'
type: string
- example: text
- nullable: false
+ description: 'Titles that are placed before user name'
minLength: 1
+ example: text
titlesAfterName:
- description: 'Titles that are placed after user name'
type: string
- example: text
- nullable: false
+ description: 'Titles that are placed after user name'
minLength: 1
+ example: text
groups:
- description: 'List of group IDs in which the user is added right after registration'
type: array
- items: { }
- nullable: false
+ description: 'List of group IDs in which the user is added right after registration'
+ items: {}
locale:
- description: 'Language used in the invitation email (en by default).'
type: string
- example: text
- nullable: false
- maxLength: 2
+ description: 'Language used in the invitation email (en by default).'
minLength: 2
+ maxLength: 2
+ example: text
ignoreNameCollision:
- description: 'If a use with the same name exists, this needs to be set to true.'
type: boolean
+ description: 'If a use with the same name exists, this needs to be set to true.'
example: 'true'
- nullable: false
- type: object
+ required:
+ - email
+ - firstName
+ - lastName
+ - instanceId
responses:
'200':
description: 'Placeholder response'
@@ -5217,30 +4816,27 @@ paths:
content:
application/json:
schema:
- required:
- - token
- - password
- - passwordConfirm
+ type: object
properties:
token:
- description: 'Token issued in create invitation process.'
type: string
- example: text
- nullable: false
+ description: 'Token issued in create invitation process.'
minLength: 1
+ example: text
password:
- description: 'A password for authentication'
type: string
- example: text
- nullable: false
+ description: 'A password for authentication'
minLength: 1
+ example: text
passwordConfirm:
- description: 'A password confirmation'
type: string
- example: text
- nullable: false
+ description: 'A password confirmation'
minLength: 1
- type: object
+ example: text
+ required:
+ - token
+ - password
+ - passwordConfirm
responses:
'200':
description: 'Placeholder response'
@@ -5258,7 +4854,22 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
+ responses:
+ '200':
+ description: 'Placeholder response'
+ delete:
+ summary: 'Delete a user account'
+ description: 'Delete a user account'
+ operationId: usersPresenterActionDelete
+ parameters:
+ -
+ name: id
+ in: path
+ description: 'Identifier of the user'
+ required: true
+ schema:
+ type: string
+ pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
responses:
'200':
description: 'Placeholder response'
@@ -5275,79 +4886,52 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
firstName:
- description: 'First name'
type: string
- example: text
- nullable: false
+ description: 'First name'
minLength: 2
+ example: text
lastName:
- description: 'Last name'
type: string
- example: text
- nullable: false
+ description: 'Last name'
minLength: 2
+ example: text
titlesBeforeName:
+ type: [string, 'null']
description: 'Titles before name'
- type: string
- nullable: true
titlesAfterName:
+ type: [string, 'null']
description: 'Titles after name'
- type: string
- nullable: true
email:
- description: 'New email address'
type: string
- example: name@domain.tld
- nullable: false
+ description: 'New email address'
minLength: 1
+ example: name@domain.tld
oldPassword:
- description: 'Old password of current user'
type: string
- example: text
- nullable: false
+ description: 'Old password of current user'
minLength: 1
+ example: text
password:
- description: 'New password of current user'
type: string
- example: text
- nullable: false
+ description: 'New password of current user'
minLength: 1
+ example: text
passwordConfirm:
- description: 'Confirmation of new password of current user'
type: string
- example: text
- nullable: false
+ description: 'Confirmation of new password of current user'
minLength: 1
+ example: text
gravatarUrlEnabled:
- description: 'Enable or disable gravatar profile image'
type: boolean
+ description: 'Enable or disable gravatar profile image'
example: 'true'
- nullable: false
- type: object
- responses:
- '200':
- description: 'Placeholder response'
- delete:
- summary: 'Delete a user account'
- description: 'Delete a user account'
- operationId: usersPresenterActionDelete
- parameters:
- -
- name: id
- in: path
- description: 'Identifier of the user'
- required: true
- schema:
- type: string
- pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5364,7 +4948,6 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
-
name: externalId
@@ -5373,7 +4956,6 @@ paths:
required: true
schema:
type: string
- nullable: false
minLength: 1
responses:
'200':
@@ -5392,7 +4974,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5410,7 +4991,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5428,7 +5008,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5446,7 +5025,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5464,73 +5042,60 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
defaultLanguage:
- description: 'Default language of UI'
type: string
+ description: 'Default language of UI'
example: text
- nullable: false
newAssignmentEmails:
- description: 'Flag if email should be sent to user when new assignment was created'
type: boolean
+ description: 'Flag if email should be sent to user when new assignment was created'
example: 'true'
- nullable: false
assignmentDeadlineEmails:
- description: 'Flag if email should be sent to user if assignment deadline is nearby'
type: boolean
+ description: 'Flag if email should be sent to user if assignment deadline is nearby'
example: 'true'
- nullable: false
submissionEvaluatedEmails:
- description: 'Flag if email should be sent to user when resubmission was evaluated'
type: boolean
+ description: 'Flag if email should be sent to user when resubmission was evaluated'
example: 'true'
- nullable: false
solutionCommentsEmails:
- description: 'Flag if email should be sent to user when new submission comment is added'
type: boolean
+ description: 'Flag if email should be sent to user when new submission comment is added'
example: 'true'
- nullable: false
solutionReviewsEmails:
- description: 'Flag enabling review-related email notifications sent to the author of the solution'
type: boolean
+ description: 'Flag enabling review-related email notifications sent to the author of the solution'
example: 'true'
- nullable: false
pointsChangedEmails:
- description: 'Flag if email should be sent to user when the points were awarded for assignment'
type: boolean
+ description: 'Flag if email should be sent to user when the points were awarded for assignment'
example: 'true'
- nullable: false
assignmentSubmitAfterAcceptedEmails:
- description: 'Flag if email should be sent to the group supervisor if a student submits new solution for already accepted assignment'
type: boolean
+ description: 'Flag if email should be sent to the group supervisor if a student submits new solution for already accepted assignment'
example: 'true'
- nullable: false
assignmentSubmitAfterReviewedEmails:
- description: 'Flag if email should be sent to group supervisor if a student submits new solution for already reviewed and not accepted assignment'
type: boolean
+ description: 'Flag if email should be sent to group supervisor if a student submits new solution for already reviewed and not accepted assignment'
example: 'true'
- nullable: false
exerciseNotificationEmails:
- description: 'Flag if notifications sent by authors of exercises should be sent via email.'
type: boolean
+ description: 'Flag if notifications sent by authors of exercises should be sent via email.'
example: 'true'
- nullable: false
solutionAcceptedEmails:
- description: 'Flag if notification should be sent to a student when solution accepted flag is changed.'
type: boolean
+ description: 'Flag if notification should be sent to a student when solution accepted flag is changed.'
example: 'true'
- nullable: false
solutionReviewRequestedEmails:
- description: 'Flag if notification should be send to a teacher when a solution reviewRequested flag is changed in a supervised/admin-ed group.'
type: boolean
+ description: 'Flag if notification should be send to a teacher when a solution reviewRequested flag is changed in a supervised/admin-ed group.'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -5548,25 +5113,22 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - uiData
+ type: object
properties:
uiData:
+ type: [array, 'null']
description: 'Structured user-specific UI data'
- type: array
- items: { }
- nullable: true
+ items: {}
overwrite:
- description: 'Flag indicating that uiData should be overwritten completely (instead of regular merge)'
type: boolean
+ description: 'Flag indicating that uiData should be overwritten completely (instead of regular merge)'
example: 'true'
- nullable: false
- type: object
+ required:
+ - uiData
responses:
'200':
description: 'Placeholder response'
@@ -5584,7 +5146,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5602,21 +5163,19 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - role
+ type: object
properties:
role:
- description: 'Role which should be assigned to the user'
type: string
- example: text
- nullable: false
+ description: 'Role which should be assigned to the user'
minLength: 1
- type: object
+ example: text
+ required:
+ - role
responses:
'200':
description: 'Placeholder response'
@@ -5634,20 +5193,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - isAllowed
+ type: object
properties:
isAllowed:
- description: 'Whether the user is allowed (active) or not.'
type: boolean
+ description: 'Whether the user is allowed (active) or not.'
example: 'true'
- nullable: false
- type: object
+ required:
+ - isAllowed
responses:
'200':
description: 'Placeholder response'
@@ -5665,7 +5222,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: service
in: path
@@ -5673,22 +5229,20 @@ paths:
required: true
schema:
type: string
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - externalId
+ type: object
properties:
externalId:
- description: ''
type: string
- example: text
- nullable: false
- maxLength: 128
+ description: ''
minLength: 1
- type: object
+ maxLength: 128
+ example: text
+ required:
+ - externalId
responses:
'200':
description: 'Placeholder response'
@@ -5705,7 +5259,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: service
in: path
@@ -5713,7 +5266,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5731,7 +5283,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5748,7 +5299,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5766,7 +5316,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5784,7 +5333,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -5813,16 +5361,15 @@ paths:
content:
application/json:
schema:
- required:
- - username
+ type: object
properties:
username:
- description: 'An identifier of the user whose password should be reset'
type: string
- example: text
- nullable: false
+ description: 'An identifier of the user whose password should be reset'
minLength: 2
- type: object
+ example: text
+ required:
+ - username
responses:
'200':
description: 'Placeholder response'
@@ -5835,16 +5382,15 @@ paths:
content:
application/json:
schema:
- required:
- - password
+ type: object
properties:
password:
- description: 'The new password'
type: string
- example: text
- nullable: false
+ description: 'The new password'
minLength: 2
- type: object
+ example: text
+ required:
+ - password
responses:
'200':
description: 'Placeholder response'
@@ -5857,14 +5403,13 @@ paths:
content:
application/json:
schema:
- required:
- - password
+ type: object
properties:
password:
+ type: [string, 'null']
description: 'The password to be checked'
- type: string
- nullable: true
- type: object
+ required:
+ - password
responses:
'200':
description: 'Placeholder response'
@@ -5897,40 +5442,43 @@ paths:
required: false
schema:
type: integer
- nullable: false
-
name: limit
in: query
description: 'Maximal number of results returned.'
required: false
schema:
- type: integer
- nullable: true
+ type:
+ - integer
+ - 'null'
-
name: orderBy
in: query
description: "Name of the column (column concept). The '!' prefix indicate descending order."
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
-
name: filters
in: query
description: 'Named filters that prune the result.'
required: false
schema:
- type: array
- items: { }
- nullable: true
+ type:
+ - array
+ - 'null'
+ items: {}
-
name: locale
in: query
description: 'Currently set locale (used to augment order by clause if necessary),'
required: false
schema:
- type: string
- nullable: true
+ type:
+ - string
+ - 'null'
responses:
'200':
description: 'Placeholder response'
@@ -5942,13 +5490,12 @@ paths:
content:
application/json:
schema:
+ type: object
properties:
global:
- description: 'Whether the pipeline is global (has no author, is used in generic runtimes)'
type: boolean
+ description: 'Whether the pipeline is global (has no author, is used in generic runtimes)'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -5974,18 +5521,16 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
global:
- description: 'Whether the pipeline is global (has no author, is used in generic runtimes)'
type: boolean
+ description: 'Whether the pipeline is global (has no author, is used in generic runtimes)'
example: 'true'
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -6003,7 +5548,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6020,46 +5564,39 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - name
- - version
- - description
+ type: object
properties:
name:
- description: 'Name of the pipeline'
type: string
- example: text
- nullable: false
+ description: 'Name of the pipeline'
minLength: 2
+ example: text
version:
- description: 'Version of the edited pipeline'
type: integer
+ description: 'Version of the edited pipeline'
example: '0'
- nullable: false
description:
+ type: [string, 'null']
description: 'Human readable description of pipeline'
- type: string
- nullable: true
pipeline:
+ type: [string, 'null']
description: 'Pipeline configuration'
- type: string
- nullable: true
parameters:
- description: 'A set of parameters'
type: array
- items: { }
- nullable: false
+ description: 'A set of parameters'
+ items: {}
global:
- description: 'Whether the pipeline is global (has no author, is used in generic runtimes)'
type: boolean
+ description: 'Whether the pipeline is global (has no author, is used in generic runtimes)'
example: 'true'
- nullable: false
- type: object
+ required:
+ - name
+ - version
+ - description
responses:
'200':
description: 'Placeholder response'
@@ -6076,7 +5613,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6094,7 +5630,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6112,20 +5647,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
+ type: object
properties:
version:
- description: 'Version of the pipeline.'
type: integer
+ description: 'Version of the pipeline.'
example: '0'
- nullable: false
- type: object
+ required:
+ - version
responses:
'200':
description: 'Placeholder response'
@@ -6143,7 +5676,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6160,19 +5692,17 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - files
+ type: object
properties:
files:
+ type: [string, 'null']
description: 'Identifiers of exercise files'
- type: string
- nullable: true
- type: object
+ required:
+ - files
responses:
'200':
description: 'Placeholder response'
@@ -6190,7 +5720,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: fileId
in: path
@@ -6199,7 +5728,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6217,7 +5745,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6247,19 +5774,17 @@ paths:
content:
application/json:
schema:
- required:
- - year
- - term
+ type: object
properties:
year:
+ type: [string, 'null']
description: ''
- type: string
- nullable: true
term:
+ type: [string, 'null']
description: ''
- type: string
- nullable: true
- type: object
+ required:
+ - year
+ - term
responses:
'200':
description: 'Placeholder response'
@@ -6277,32 +5802,28 @@ paths:
required: true
schema:
type: string
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - beginning
- - end
- - advertiseUntil
+ type: object
properties:
beginning:
- description: ''
type: integer
+ description: ''
example: '1740135333'
- nullable: false
end:
- description: ''
type: integer
+ description: ''
example: '1740135333'
- nullable: false
advertiseUntil:
- description: ''
type: integer
+ description: ''
example: '1740135333'
- nullable: false
- type: object
+ required:
+ - beginning
+ - end
+ - advertiseUntil
responses:
'200':
description: 'Placeholder response'
@@ -6319,7 +5840,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6337,7 +5857,6 @@ paths:
required: true
schema:
type: string
- nullable: false
-
name: year
in: path
@@ -6345,7 +5864,6 @@ paths:
required: true
schema:
type: integer
- nullable: false
-
name: term
in: path
@@ -6353,7 +5871,6 @@ paths:
required: true
schema:
type: integer
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6371,7 +5888,6 @@ paths:
required: true
schema:
type: string
- nullable: false
-
name: year
in: path
@@ -6379,7 +5895,6 @@ paths:
required: true
schema:
type: integer
- nullable: false
-
name: term
in: path
@@ -6387,7 +5902,6 @@ paths:
required: true
schema:
type: integer
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6405,7 +5919,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6423,19 +5936,17 @@ paths:
required: true
schema:
type: string
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - parentGroupId
+ type: object
properties:
parentGroupId:
+ type: [string, 'null']
description: ''
- type: string
- nullable: true
- type: object
+ required:
+ - parentGroupId
responses:
'200':
description: 'Placeholder response'
@@ -6453,19 +5964,17 @@ paths:
required: true
schema:
type: string
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - groupId
+ type: object
properties:
groupId:
+ type: [string, 'null']
description: ''
- type: string
- nullable: true
- type: object
+ required:
+ - groupId
responses:
'200':
description: 'Placeholder response'
@@ -6483,7 +5992,6 @@ paths:
required: true
schema:
type: string
- nullable: false
-
name: groupId
in: path
@@ -6491,7 +5999,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6505,23 +6012,21 @@ paths:
content:
application/json:
schema:
- required:
- - subject
- - message
+ type: object
properties:
subject:
- description: 'Subject for the soon to be sent email'
type: string
- example: text
- nullable: false
+ description: 'Subject for the soon to be sent email'
minLength: 1
+ example: text
message:
- description: 'Message which will be sent, can be html code'
type: string
- example: text
- nullable: false
+ description: 'Message which will be sent, can be html code'
minLength: 1
- type: object
+ example: text
+ required:
+ - subject
+ - message
responses:
'200':
description: 'Placeholder response'
@@ -6534,23 +6039,21 @@ paths:
content:
application/json:
schema:
- required:
- - subject
- - message
+ type: object
properties:
subject:
- description: 'Subject for the soon to be sent email'
type: string
- example: text
- nullable: false
+ description: 'Subject for the soon to be sent email'
minLength: 1
+ example: text
message:
- description: 'Message which will be sent, can be html code'
type: string
- example: text
- nullable: false
+ description: 'Message which will be sent, can be html code'
minLength: 1
- type: object
+ example: text
+ required:
+ - subject
+ - message
responses:
'200':
description: 'Placeholder response'
@@ -6563,23 +6066,21 @@ paths:
content:
application/json:
schema:
- required:
- - subject
- - message
+ type: object
properties:
subject:
- description: 'Subject for the soon to be sent email'
type: string
- example: text
- nullable: false
+ description: 'Subject for the soon to be sent email'
minLength: 1
+ example: text
message:
- description: 'Message which will be sent, can be html code'
type: string
- example: text
- nullable: false
+ description: 'Message which will be sent, can be html code'
minLength: 1
- type: object
+ example: text
+ required:
+ - subject
+ - message
responses:
'200':
description: 'Placeholder response'
@@ -6597,49 +6098,42 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - toMe
- - subject
- - message
+ type: object
properties:
toSupervisors:
- description: 'If true, then the mail will be sent to supervisors'
type: boolean
+ description: 'If true, then the mail will be sent to supervisors'
example: 'true'
- nullable: false
toAdmins:
- description: 'If the mail should be sent also to primary admins'
type: boolean
+ description: 'If the mail should be sent also to primary admins'
example: 'true'
- nullable: false
toObservers:
- description: 'If the mail should be sent also to observers'
type: boolean
+ description: 'If the mail should be sent also to observers'
example: 'true'
- nullable: false
toMe:
- description: 'User wants to also receive an email'
type: boolean
+ description: 'User wants to also receive an email'
example: 'true'
- nullable: false
subject:
- description: 'Subject for the soon to be sent email'
type: string
- example: text
- nullable: false
+ description: 'Subject for the soon to be sent email'
minLength: 1
+ example: text
message:
- description: 'Message which will be sent, can be html code'
type: string
- example: text
- nullable: false
+ description: 'Message which will be sent, can be html code'
minLength: 1
- type: object
+ example: text
+ required:
+ - toMe
+ - subject
+ - message
responses:
'200':
description: 'Placeholder response'
@@ -6657,7 +6151,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6674,54 +6167,46 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
- - isPublic
- - isBonus
- - localizedTexts
- - maxPoints
+ type: object
properties:
version:
- description: 'Version of the edited assignment'
type: integer
+ description: 'Version of the edited assignment'
example: '0'
- nullable: false
isPublic:
- description: 'Is the assignment ready to be displayed to students?'
type: boolean
+ description: 'Is the assignment ready to be displayed to students?'
example: 'true'
- nullable: false
isBonus:
- description: 'If true, the points from this exercise will not be included in overall score of group'
type: boolean
+ description: 'If true, the points from this exercise will not be included in overall score of group'
example: 'true'
- nullable: false
localizedTexts:
- description: 'A description of the assignment'
type: array
- items: { }
- nullable: false
+ description: 'A description of the assignment'
+ items: {}
maxPoints:
- description: 'A maximum of points that user can be awarded'
type: integer
+ description: 'A maximum of points that user can be awarded'
example: '0'
- nullable: false
sendNotification:
- description: 'If email notification should be sent'
type: boolean
+ description: 'If email notification should be sent'
example: 'true'
- nullable: false
deadline:
+ type: [integer, 'null']
description: 'Deadline (only for visualization), missing value meas no deadline (same as null)'
- type: integer
example: '1740135333'
- nullable: true
- type: object
+ required:
+ - version
+ - isPublic
+ - isBonus
+ - localizedTexts
+ - maxPoints
responses:
'200':
description: 'Placeholder response'
@@ -6738,7 +6223,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6751,16 +6235,15 @@ paths:
content:
application/json:
schema:
- required:
- - groupId
+ type: object
properties:
groupId:
- description: 'Identifier of the group'
type: string
+ description: 'Identifier of the group'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
- type: object
+ required:
+ - groupId
responses:
'200':
description: 'Placeholder response'
@@ -6778,20 +6261,18 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - version
+ type: object
properties:
version:
- description: 'Version of the shadow assignment.'
type: integer
+ description: 'Version of the shadow assignment.'
example: '0'
- nullable: false
- type: object
+ required:
+ - version
responses:
'200':
description: 'Placeholder response'
@@ -6809,38 +6290,33 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - userId
- - points
- - note
+ type: object
properties:
userId:
- description: 'Identifier of the user which is marked as awardee for points'
type: string
+ description: 'Identifier of the user which is marked as awardee for points'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
points:
- description: 'Number of points assigned to the user'
type: integer
+ description: 'Number of points assigned to the user'
example: '0'
- nullable: false
note:
- description: 'Note about newly created points'
type: string
+ description: 'Note about newly created points'
example: text
- nullable: false
awardedAt:
- description: 'Datetime when the points were awarded, whatever that means'
type: integer
+ description: 'Datetime when the points were awarded, whatever that means'
example: '1740135333'
- nullable: false
- type: object
+ required:
+ - userId
+ - points
+ - note
responses:
'200':
description: 'Placeholder response'
@@ -6858,32 +6334,28 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - points
- - note
+ type: object
properties:
points:
- description: 'Number of points assigned to the user'
type: integer
+ description: 'Number of points assigned to the user'
example: '0'
- nullable: false
note:
- description: 'Note about newly created points'
type: string
- example: text
- nullable: false
+ description: 'Note about newly created points'
maxLength: 1024
+ example: text
awardedAt:
- description: 'Datetime when the points were awarded, whatever that means'
type: integer
+ description: 'Datetime when the points were awarded, whatever that means'
example: '1740135333'
- nullable: false
- type: object
+ required:
+ - points
+ - note
responses:
'200':
description: 'Placeholder response'
@@ -6900,7 +6372,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -6917,8 +6388,7 @@ paths:
required: false
schema:
type: array
- items: { }
- nullable: false
+ items: {}
responses:
'200':
description: 'Placeholder response'
@@ -6930,46 +6400,40 @@ paths:
content:
application/json:
schema:
- required:
- - groupsIds
- - visibleFrom
- - visibleTo
- - role
- - type
- - localizedTexts
+ type: object
properties:
groupsIds:
- description: 'Identification of groups'
type: array
- items: { }
- nullable: false
+ description: 'Identification of groups'
+ items: {}
visibleFrom:
- description: 'Date from which is notification visible'
type: integer
+ description: 'Date from which is notification visible'
example: '1740135333'
- nullable: false
visibleTo:
- description: 'Date to which is notification visible'
type: integer
+ description: 'Date to which is notification visible'
example: '1740135333'
- nullable: false
role:
- description: 'Users with this role and its children can see notification'
type: string
- example: text
- nullable: false
+ description: 'Users with this role and its children can see notification'
minLength: 1
+ example: text
type:
- description: 'Type of the notification (custom)'
type: string
+ description: 'Type of the notification (custom)'
example: text
- nullable: false
localizedTexts:
- description: 'Text of notification'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'Text of notification'
+ items: {}
+ required:
+ - groupsIds
+ - visibleFrom
+ - visibleTo
+ - role
+ - type
+ - localizedTexts
responses:
'200':
description: 'Placeholder response'
@@ -6995,51 +6459,44 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - groupsIds
- - visibleFrom
- - visibleTo
- - role
- - type
- - localizedTexts
+ type: object
properties:
groupsIds:
- description: 'Identification of groups'
type: array
- items: { }
- nullable: false
+ description: 'Identification of groups'
+ items: {}
visibleFrom:
- description: 'Date from which is notification visible'
type: integer
+ description: 'Date from which is notification visible'
example: '1740135333'
- nullable: false
visibleTo:
- description: 'Date to which is notification visible'
type: integer
+ description: 'Date to which is notification visible'
example: '1740135333'
- nullable: false
role:
- description: 'Users with this role and its children can see notification'
type: string
- example: text
- nullable: false
+ description: 'Users with this role and its children can see notification'
minLength: 1
+ example: text
type:
- description: 'Type of the notification (custom)'
type: string
+ description: 'Type of the notification (custom)'
example: text
- nullable: false
localizedTexts:
- description: 'Text of notification'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'Text of notification'
+ items: {}
+ required:
+ - groupsIds
+ - visibleFrom
+ - visibleTo
+ - role
+ - type
+ - localizedTexts
responses:
'200':
description: 'Placeholder response'
@@ -7056,7 +6513,29 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
+ responses:
+ '200':
+ description: 'Placeholder response'
+ '/v1/worker-files/submission-archive/{type}/{id}':
+ get:
+ summary: 'Sends over a ZIP file containing submitted files and YAML job config. The ZIP is created if necessary.'
+ description: 'Sends over a ZIP file containing submitted files and YAML job config. The ZIP is created if necessary.'
+ operationId: workerFilesPresenterActionDownloadSubmissionArchive
+ parameters:
+ -
+ name: type
+ in: path
+ description: 'of the submission job ("reference" or "student")'
+ required: true
+ schema:
+ type: string
+ -
+ name: id
+ in: path
+ description: 'of the submission whose ZIP archive is to be served'
+ required: true
+ schema:
+ type: string
responses:
'200':
description: 'Placeholder response'
@@ -7073,7 +6552,29 @@ paths:
required: true
schema:
type: string
- nullable: false
+ responses:
+ '200':
+ description: 'Placeholder response'
+ '/v1/worker-files/result/{type}/{id}':
+ put:
+ summary: 'Uploads a ZIP archive with results and logs (or everything in case of debug evaluations).'
+ description: 'Uploads a ZIP archive with results and logs (or everything in case of debug evaluations).'
+ operationId: workerFilesPresenterActionUploadResultsFile
+ parameters:
+ -
+ name: type
+ in: path
+ description: 'of the submission job ("reference" or "student")'
+ required: true
+ schema:
+ type: string
+ -
+ name: id
+ in: path
+ description: 'of the submission whose results archive is being uploaded'
+ required: true
+ schema:
+ type: string
responses:
'200':
description: 'Placeholder response'
@@ -7091,7 +6592,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -7107,16 +6607,18 @@ paths:
description: 'Maximal time since completion (in seconds), null = only pending operations'
required: false
schema:
- type: integer
- nullable: true
+ type:
+ - integer
+ - 'null'
-
name: includeScheduled
in: query
description: 'If true, pending scheduled events will be listed as well'
required: false
schema:
- type: boolean
- nullable: true
+ type:
+ - boolean
+ - 'null'
responses:
'200':
description: 'Placeholder response'
@@ -7134,7 +6636,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -7159,9 +6660,8 @@ paths:
required: false
schema:
type: string
- nullable: false
- maxLength: 255
minLength: 1
+ maxLength: 255
-
name: solutionId
in: query
@@ -7170,7 +6670,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -7182,23 +6681,21 @@ paths:
content:
application/json:
schema:
- required:
- - detectionTool
+ type: object
properties:
detectionTool:
- description: 'Identifier of the external tool used to detect similarities.'
type: string
- example: text
- nullable: false
- maxLength: 255
+ description: 'Identifier of the external tool used to detect similarities.'
minLength: 1
+ maxLength: 255
+ example: text
detectionToolParams:
- description: 'Tool-specific parameters (e.g., CLI args) used for this particular batch.'
type: string
- example: text
- nullable: false
+ description: 'Tool-specific parameters (e.g., CLI args) used for this particular batch.'
maxLength: 255
- type: object
+ example: text
+ required:
+ - detectionTool
responses:
'200':
description: 'Placeholder response'
@@ -7216,7 +6713,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -7233,23 +6729,20 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
+ type: object
properties:
uploadCompleted:
- description: 'Whether the upload of the batch data is completed or not.'
type: boolean
+ description: 'Whether the upload of the batch data is completed or not.'
example: 'true'
- nullable: false
assignments:
- description: "List of assignment IDs to be marked as 'checked' by this batch."
type: array
+ description: "List of assignment IDs to be marked as 'checked' by this batch."
items: { type: string, pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', example: 10000000-2000-4000-8000-160000000000 }
- nullable: false
- type: object
responses:
'200':
description: 'Placeholder response'
@@ -7267,7 +6760,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: solutionId
in: path
@@ -7276,7 +6768,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -7293,7 +6784,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: solutionId
in: path
@@ -7302,46 +6792,40 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
requestBody:
content:
application/json:
schema:
- required:
- - solutionFileId
- - authorId
- - similarity
- - files
+ type: object
properties:
solutionFileId:
- description: 'Id of the uploaded solution file.'
type: string
+ description: 'Id of the uploaded solution file.'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
fileEntry:
- description: 'Entry (relative path) within a ZIP package (if the uploaded file is a ZIP).'
type: string
- example: text
- nullable: false
+ description: 'Entry (relative path) within a ZIP package (if the uploaded file is a ZIP).'
maxLength: 255
+ example: text
authorId:
- description: 'Id of the author of the similar solutions/files.'
type: string
+ description: 'Id of the author of the similar solutions/files.'
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
example: 10000000-2000-4000-8000-160000000000
- nullable: false
similarity:
- description: 'Relative similarity of the records associated with selected author [0-1].'
type: number
+ description: 'Relative similarity of the records associated with selected author [0-1].'
example: '0.1'
- nullable: false
files:
- description: 'List of similar files and their records.'
type: array
- items: { }
- nullable: false
- type: object
+ description: 'List of similar files and their records.'
+ items: {}
+ required:
+ - solutionFileId
+ - authorId
+ - similarity
+ - files
responses:
'200':
description: 'Placeholder response'
@@ -7358,7 +6842,6 @@ paths:
required: true
schema:
type: string
- nullable: false
-
name: instanceId
in: path
@@ -7367,7 +6850,6 @@ paths:
schema:
type: string
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$'
- nullable: false
-
name: locale
in: query
@@ -7375,9 +6857,8 @@ paths:
required: false
schema:
type: string
- nullable: false
- maxLength: 2
minLength: 2
+ maxLength: 2
-
name: return
in: query
@@ -7385,7 +6866,6 @@ paths:
required: false
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
@@ -7402,7 +6882,6 @@ paths:
required: true
schema:
type: string
- nullable: false
responses:
'200':
description: 'Placeholder response'
diff --git a/tests/ExerciseConfig/Pipeline/Port.phpt b/tests/ExerciseConfig/Pipeline/Port.phpt
index a511b8938..76ab88e1b 100644
--- a/tests/ExerciseConfig/Pipeline/Port.phpt
+++ b/tests/ExerciseConfig/Pipeline/Port.phpt
@@ -144,9 +144,9 @@ class TestPort extends Tester\TestCase
{
$port = new PortMeta();
- Assert::equal(null, $port->getName());
- Assert::equal(null, $port->getType());
- Assert::equal("", $port->getVariable());
+ Assert::equal('', $port->getName());
+ Assert::equal('', $port->getType());
+ Assert::equal('', $port->getVariable());
$port->setName("name");
$port->setType("file");
@@ -164,7 +164,6 @@ class TestPort extends Tester\TestCase
Assert::equal("string", $port->getType());
Assert::equal("varValue", $port->getVariable());
}
-
}
# Testing methods run
diff --git a/tests/Presenters/WorkerFilesPresenter.phpt b/tests/Presenters/WorkerFilesPresenter.phpt
index 1c0c664a4..b0f4e1cf6 100644
--- a/tests/Presenters/WorkerFilesPresenter.phpt
+++ b/tests/Presenters/WorkerFilesPresenter.phpt
@@ -116,7 +116,7 @@ class TestWorkerFilesPresenter extends Tester\TestCase
['action' => 'downloadExerciseFile', 'hash' => 'a123']
);
$response = $this->presenter->run($request);
- }, WrongCredentialsException::class, '');
+ }, WrongCredentialsException::class);
}
public function testDisabled()
diff --git a/tests/config.tests.neon b/tests/config.tests.neon
index 3237a7f69..088217a70 100644
--- a/tests/config.tests.neon
+++ b/tests/config.tests.neon
@@ -9,5 +9,5 @@ nettrine.dbal:
url: "sqlite:///:memory:"
services:
- cacheStorage:
+ cache.storage:
factory: Nette\Caching\Storages\MemoryStorage