Web/API
From Mandriva Community Wiki
List of available Mandriva APIs and what they can/could be used for.
Please add APIs and/or methods you may find significant here.
Note that this is not describing existing services; it is a draft for a design document. Some of these services may already exist in some way, but not exactly as described here.
Contents |
[edit] TODO
- Check if something like Sophie would not fit with product and updates/mirrors APIs.
- Check with Warly and slauriere about EDOS (see bottom of page). Find other people working/needing APIs from our side.
[edit] General specs
[edit] APIs
[edit] Products API
Products API describes Mandriva products (distributions, releases, medias for now).
[edit] Services and scope API
Services and scope API describes services delivered by Mandriva (support, club, update, online, downloads, etc.)
[edit] Mirrors API
Mirrors API describes mirrors available and their status, allows mirrors to declare themselves. Relies on the Products API.
[edit] Updates and advisories API
Updates and Advisories API is based on Natacha (Online v3 platform), which does mostly SOAP for now. Should include vdanen advisories directly, tough. Note that the following methods list is descriptive; some actually exists but may not be exactly spelled like this, others do not yet.
Private methods: activate_service(service_id|host_id,user_id,how,reference)
Public methods: get_updates_for_release (release_id), get_updates_for_host(host_id, host_key), get_all_advisories(), get_advisories_for_release(release_id), get_advisories_for_host(host_id, host_key), get_update(id)
Other public methods: register_host(host_name,user_id), unregister_host(host_id,host_key), set_host_config(host_id,host_key,config).
[edit] Users API
[edit] Store API
[edit] EDOS API
EDOS is drafting an API too, with the objective to define the key content and community artefacts of the OSS processes and to formalize the relations between these. EDOS API is called "EDOS PMI", which stands for "Project Management Interface". It is a work in progress.
- EDOS PMI home page
- EDOS PMI mailing-list
- EDOS PMI preliminary UML diagrams (by Michel Pawlak)
- EDOS PMI Javadoc by M.Pawlak
- Java API modelling a part of the dependencies issues (an implementation including visualizers and statistics tools is available)

