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

[Epic][Draft] MaRDI Portal API #337

Closed
1 of 5 tasks
Hyper-Node opened this issue Nov 29, 2022 · 2 comments
Closed
1 of 5 tasks

[Epic][Draft] MaRDI Portal API #337

Hyper-Node opened this issue Nov 29, 2022 · 2 comments
Assignees
Labels

Comments

@Hyper-Node
Copy link
Contributor

Hyper-Node commented Nov 29, 2022

Epic description in words:

Creating an API for accessing MaRDI-Portal components and data.
Defining the public and internal interfaces.
Practically, there are some components of Wikibase which already have GUI interfaces (like quickstatements and openrefine), writing API endpoints for them is probably not necessary, however we could forward some of their capabilities to our API endpoints if they will be extensively used. For other libraries and implemented components we could have an access point API, example an API before (Wikidata Integrator, Wikibase Integrator etc. ) which offers the public capabilities used in our scenario.

This is a very early WIP-draft.

Tentative Tasks:

  1. Check if Python or PHP is suitable (KG API is PHP)
  2. Collection of use-cases and possible endpoints
  3. Forward the KG API, check how this can be done with open-api specification

Preliminary feature ideas:

  • Authentication
  • Some security layer, especially for the public endpoints
  • ORM Mapping to Data in MediaWiki / Wikibase
  • Swagger features: API Documentation has only be noted on one point, automated client generation.
  • Jupyter Notebooks integration somehow
  • Forwarding SPARQL Request for KG Queries
  • Messaging System, queues for more time-consuming jobs
  • Microservice architecture
  • Common techniques for creating 'federated' API's
  • Ingest integration
  • Import an Entity from Wikidata by API call to Portal KG

Additional Info:

Corresponding Milestones:

  • A3, D3, A4a

Epic issues:

  • issue one github-link
  • ...

Related bugs:

Epic acceptance criteria:

  • first criterion

Checklist for this epic:

  • the main MaRDI project has been assigned as project
  • report has been created

apidraft2

@Hyper-Node Hyper-Node self-assigned this Nov 29, 2022
@Hyper-Node
Copy link
Contributor Author

This will be done at a later stage, currently we can use Wikibase/Mediawiki API's directly at some point if we have more API features, we add the currently specified requests to this Portal-API. @eloiferrer

@Hyper-Node
Copy link
Contributor Author

Plan changed for API.

@Hyper-Node Hyper-Node closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant