Services API

From Mandriva Community Wiki

Jump to: navigation, search
The content of this article is obsolete or outdated
The following information can be obsolete or outdated and needs to be revised. You can also check the other pages that require revision.
This API is supposed to describe paid services available through Mandriva (support, forums, online, downloads, etc.).
Please note!

Services description (support, forums, update) are distinct from the scope (for this distribution, for this time span).

  • a service belongs to: support, forums, update, download, training, store, others?
  • what about service attribute? (time, type, scope?)


Contents

Methods

Public

get services list

GET http://api.mandriva.com/services/

returns

<services>
  <service><id>http://api.mandriva.com/service/club</id><name>Mandriva Club</name></service>
  <service><id>http://api.mandriva.com/service/online</id><name>Mandriva Online</name></service>
</services>


get service (id)

GET http://api.mandriva.com/service/club

returns

<service>
  <id>http://api.mandriva.com/service/club</id>
  <name>Mandriva Club</name>
  <provides>...</provides>
  <description></description>
  <levels>
    <level><id>http://api.mandriva.com/service/club/level/standard</id>
           <name>Standard</name></level>
    ...
  </levels>
</service>


Services activation keys API

Please note!
Activation keys are used by customers to register/activate services to their account.

Methods

Private

  • fetch new keys

To allow Mandriva people or partners to fetch new activation keys

Public

  • tegister key
    • To allow anyone to register a key (and activate attached services).
    • Params: (key, user_id)
  • check my keys
    • Params: (user_id, user_pass)
Personal tools