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

Create API to Interact with Hub Resources #275

Closed
ismailsunni opened this issue Apr 20, 2023 · 3 comments
Closed

Create API to Interact with Hub Resources #275

ismailsunni opened this issue Apr 20, 2023 · 3 comments
Assignees
Labels
🕔 Size 8 This is a full day job

Comments

@ismailsunni
Copy link

ismailsunni commented Apr 20, 2023

Currently, we are only able to download/upload/update QGIS Hub Resource via the web. It would be really great if we have an API to do this. Then we can integrate the QGIS Hub into QGIS so that QGIS users are able to access it directly from QGIS.

API needed:

for starter (read-only)
- Get the list of resources for each resource type (e.g. style, project, model, etc)
- Get the information for each resource
- Download the resource itself

For later

  • Authentication
  • Create/Upload a new resource for each resource type
  • Edit existing resources for each resource type
  • Delete resource for each resource type

cc @timlinux @dimasciput

@ismailsunni
Copy link
Author

I found out that some of them are already there, see: https://github.com/qgis/QGIS-Django/blob/master/qgis-app/api/urls.py

@Xpirix Xpirix self-assigned this Apr 17, 2024
@Xpirix Xpirix moved this to In Progress in Lova Work Planning Sep 11, 2024
@Xpirix Xpirix added the 🕔 Size 8 This is a full day job label Sep 17, 2024
@Xpirix
Copy link
Collaborator

Xpirix commented Sep 20, 2024

@ismailsunni Please find the proposed changes at #471

Regards.

@Xpirix Xpirix closed this as completed Nov 21, 2024
@github-project-automation github-project-automation bot moved this from Review in progress to Done in Lova Work Planning Nov 21, 2024
@Xpirix
Copy link
Collaborator

Xpirix commented Nov 21, 2024

Hi @ismailsunni , this has been deployed. Please let me know if you have any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕔 Size 8 This is a full day job
Projects
Development

No branches or pull requests

2 participants