-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
105 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.1.5 | ||
* The version of the OpenAPI document: v1.1.6 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.1.5 | ||
* The version of the OpenAPI document: v1.1.6 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -48,16 +48,17 @@ interface AuthenticationApiInterface | |
/** | ||
* Sets authentication method PandaAuth. | ||
* | ||
* @param string $value value of the PandaAuth authentication method | ||
* @param string|null $value value of the PandaAuth authentication method | ||
*/ | ||
public function setPandaAuth($value); | ||
public function setPandaAuth(?string $value): void; | ||
|
||
/** | ||
* Operation authenticationDelete. | ||
* | ||
* Expires refresh token | ||
* | ||
* @param string $x_refresh Refresh Token (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
*/ | ||
public function authenticationDelete(string $x_refresh, int &$responseCode, array &$responseHeaders): void; | ||
|
@@ -67,6 +68,7 @@ public function authenticationDelete(string $x_refresh, int &$responseCode, arra | |
* | ||
* Check token | ||
* | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
*/ | ||
public function authenticationGet(int &$responseCode, array &$responseHeaders): void; | ||
|
@@ -77,6 +79,7 @@ public function authenticationGet(int &$responseCode, array &$responseHeaders): | |
* OAuth Login | ||
* | ||
* @param OAuthLoginRequest $o_auth_login_request (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -89,6 +92,7 @@ public function authenticationOauthPost(OAuthLoginRequest $o_auth_login_request, | |
* Login | ||
* | ||
* @param LoginRequest $login_request (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -101,6 +105,7 @@ public function authenticationPost(LoginRequest $login_request, int &$responseCo | |
* Refresh token | ||
* | ||
* @param RefreshRequest $refresh_request (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -113,6 +118,7 @@ public function authenticationRefreshPost(RefreshRequest $refresh_request, int & | |
* Upgrade a deprecated token to JWT | ||
* | ||
* @param UpgradeTokenRequest $upgrade_token_request (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.1.5 | ||
* The version of the OpenAPI document: v1.1.6 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -47,6 +47,7 @@ interface MediaLibraryApiInterface | |
* | ||
* @param int $id ID of any given media file (required) | ||
* @param string $attributes (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -62,6 +63,7 @@ public function mediaFileIdGet(int $id, string $attributes, int &$responseCode, | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -79,6 +81,7 @@ public function mediaFilesGet(int $limit, int $offset, string $attributes, strin | |
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param string $package_name In which package you want to search (for more fine tuned results) (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -94,6 +97,7 @@ public function mediaFilesSearchGet(string $query, int $limit, int $offset, stri | |
* @param int $limit (optional, default to 20) | ||
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.1.5 | ||
* The version of the OpenAPI document: v1.1.6 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -43,9 +43,9 @@ interface NotificationsApiInterface | |
/** | ||
* Sets authentication method PandaAuth. | ||
* | ||
* @param string $value value of the PandaAuth authentication method | ||
* @param string|null $value value of the PandaAuth authentication method | ||
*/ | ||
public function setPandaAuth($value); | ||
public function setPandaAuth(?string $value): void; | ||
|
||
/** | ||
* Operation notificationIdReadPut. | ||
|
@@ -54,6 +54,7 @@ public function setPandaAuth($value); | |
* | ||
* @param int $id (required) | ||
* @param string $accept_language (optional, default to 'en') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
*/ | ||
public function notificationIdReadPut(int $id, string $accept_language, int &$responseCode, array &$responseHeaders): void; | ||
|
@@ -63,6 +64,7 @@ public function notificationIdReadPut(int $id, string $accept_language, int &$re | |
* | ||
* Count the number of unseen notifications | ||
* | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -79,6 +81,7 @@ public function notificationsCountGet(int &$responseCode, array &$responseHeader | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $type (optional, default to 'all') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -90,6 +93,7 @@ public function notificationsGet(string $accept_language, int $limit, int $offse | |
* | ||
* Mark all notifications as read | ||
* | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
*/ | ||
public function notificationsReadPut(int &$responseCode, array &$responseHeaders): void; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.1.5 | ||
* The version of the OpenAPI document: v1.1.6 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -47,16 +47,17 @@ interface ProjectsApiInterface | |
/** | ||
* Sets authentication method PandaAuth. | ||
* | ||
* @param string $value value of the PandaAuth authentication method | ||
* @param string|null $value value of the PandaAuth authentication method | ||
*/ | ||
public function setPandaAuth($value); | ||
public function setPandaAuth(?string $value): void; | ||
|
||
/** | ||
* Operation projectIdCatrobatGet. | ||
* | ||
* Download the .catrobat (=zip) file of a project | ||
* | ||
* @param string $id (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -69,6 +70,7 @@ public function projectIdCatrobatGet(string $id, int &$responseCode, array &$res | |
* Delete a project | ||
* | ||
* @param string $id (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
*/ | ||
public function projectIdDelete(string $id, int &$responseCode, array &$responseHeaders): void; | ||
|
@@ -79,6 +81,7 @@ public function projectIdDelete(string $id, int &$responseCode, array &$response | |
* Get the information of a project | ||
* | ||
* @param string $id (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -93,6 +96,7 @@ public function projectIdGet(string $id, int &$responseCode, array &$responseHea | |
* @param string $id (required) | ||
* @param UpdateProjectRequest $update_project_request (required) | ||
* @param string $accept_language (optional, default to 'en') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -112,6 +116,7 @@ public function projectIdPut(string $id, UpdateProjectRequest $update_project_re | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -125,6 +130,7 @@ public function projectIdRecommendationsGet(string $id, string $category, string | |
* | ||
* @param string $id (required) | ||
* @param ProjectReportRequest $project_report_request (required) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
*/ | ||
public function projectIdReportPost(string $id, ProjectReportRequest $project_report_request, int &$responseCode, array &$responseHeaders): void; | ||
|
@@ -137,6 +143,7 @@ public function projectIdReportPost(string $id, ProjectReportRequest $project_re | |
* @param string $max_version Only shows project with a smaller version number than max version. `Warning!` Current implementation is kinda broken. To ensure correct results use the following format '[0-9].[0-9]{3}' (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param string $accept_language (optional, default to 'en') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -149,6 +156,7 @@ public function projectsCategoriesGet(string $max_version, string $flavor, strin | |
* Get all possible project extensions. Extensions are automatically added to projects based on their bricks. | ||
* | ||
* @param string $accept_language (optional, default to 'en') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -166,6 +174,7 @@ public function projectsExtensionsGet(string $accept_language, int &$responseCod | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -184,6 +193,7 @@ public function projectsFeaturedGet(string $platform, string $max_version, int $ | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -200,6 +210,7 @@ public function projectsGet(string $category, string $accept_language, string $m | |
* @param string $accept_language (optional, default to 'en') | ||
* @param string $flavor The flavor of this project (optional) | ||
* @param bool $private Indicates whether a program should be private (optional, default to false) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
@@ -217,6 +228,7 @@ public function projectsPost(string $checksum, UploadedFile $file, string $accep | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -229,6 +241,7 @@ public function projectsSearchGet(string $query, string $max_version, int $limit | |
* Get all possible project tags. Some Tags will only be availabe during events. | ||
* | ||
* @param string $accept_language (optional, default to 'en') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -245,6 +258,7 @@ public function projectsTagsGet(string $accept_language, int &$responseCode, arr | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
@@ -262,6 +276,7 @@ public function projectsUserGet(string $max_version, int $limit, int $offset, st | |
* @param int $offset (optional, default to 0) | ||
* @param string $attributes (optional, default to '') | ||
* @param string $flavor (optional, default to '') | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?iterable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
* | ||
* API for the Catrobat Share Platform | ||
* | ||
* The version of the OpenAPI document: v1.1.5 | ||
* The version of the OpenAPI document: v1.1.6 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/openapitools/openapi-generator.git | ||
*/ | ||
|
@@ -49,6 +49,7 @@ interface SearchApiInterface | |
* @param string $type (optional) | ||
* @param int $limit (optional, default to 20) | ||
* @param int $offset (optional, default to 0) | ||
* @param int &$responseCode The HTTP Response Code | ||
* @param array $responseHeaders Additional HTTP headers to return with the response () | ||
* | ||
* @return ?object | ||
|
Oops, something went wrong.