Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploading & downloading of the AppAPI Apps #1145

Merged
merged 10 commits into from
Sep 28, 2023
Merged

uploading & downloading of the AppAPI Apps #1145

merged 10 commits into from
Sep 28, 2023

Conversation

bigcat88
Copy link
Member

This pull request introduces a new endpoint for uploading all applications to the AppAPI.

Notable changes to existing methods:

  • The standard endpoint, which fetches a list of all regular applications, has been modified. Now, it does not return applications that lack releases (with the exception of integrations).

In theory, these changes shouldn't disrupt existing functionality.


Applications developed for AppAPI reside in the same table as regular ones. Additionally, two new fields have been introduced to the releases table. One of these fields, labeled 'aa_proto', signifies if a release is part of the AppAPI ecosystem.

Furthermore, two new tables related to releases have been incorporated: 'AppApiReleaseApiScope' and 'AppApiReleaseDeployMethod'.

The 'AppApiReleaseApiScope' model defines the APIs an application will utilize, while the 'AppApiReleaseDeployMethod' model specifies the types of deployment methods the application supports.

There's a distinction in the endpoints when it comes to retrieving data: existing standard endpoints won't fetch applications linked to AppAPI. In contrast, the new endpoint is dedicated solely to returning AppAPI-associated applications.

The procedure for loading applications into the AppStore remains standard. Both types of applications use the same entry point.

Efforts were made to keep the number of changes minimal to prevent any potential disruptions.


The modifications mainly involve restructuring sentences for clarity and coherence.

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
bigcat88 added a commit to cloud-py-api/nc_py_api that referenced this pull request Sep 28, 2023
### Added

- NextcloudApp: The `ex_app.verify_version` function to simply check
whether the application has been updated.

### Changed

- NextcloudApp: Updated `info.xml` in examples to reflect upcoming
changes in the
[AppStore](nextcloud/appstore#1145)

---

Hopefully, starting from this version there will be availability to
upload applications into the AppStore(will be in beta stage)

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Copy link
Contributor

@andrey18106 andrey18106 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigcat88 bigcat88 merged commit 091d452 into master Sep 28, 2023
11 checks passed
@delete-merged-branch delete-merged-branch bot deleted the appapi-support branch September 28, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement high priority python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants