Revisión de la página del wiki how to send data to h-node.org
Esta es una revisión anterior de esta página, editada por tonicucoz en 10:18, 1 Abril 2012. Puede diferir significantemente de la Revisión actual.
how to send data to h-node.org

In order to send data to h-node.org you need to carry out a simple HTTP request with the data transmitted by the POST method.

The server (h-node.org) takes the value of the entries of the devices from the data sent by means of the POST method.

The data sent by the POST method are formed by a long chain of POST variables, each one having his own value. In the following you will find the complete list of variables that the server expects for each hardware category.

List of variables to be sent for each device
Devices that are not notebooks
Common variables

This is the list of POST variables that are common to all the hardware categories (other than notebooks).

  • model: the model name as taken from lspci or lsusb. It is the model name entry when you insert a device using the browser
    • data format: [a-zA-Z0-9\-\_\.\+\s\(\)\@\[\]\/]+
    • maximum length: 99 characters (UTF-8)
  • other_names: a free text entry containing the name of the device as taken from the device box or as printed on the device itself
  • pci_id: the vendorid:productid of the device
  • comm_year: year of commercialization
  • distribution: the name of the GNU/Linux distribution used for the test
  • kernel: the version of the kernel libre used for the test
  • driver: driver used to make the device working
  • description: a free text entry containing the description of the device
The URLs to be used for the POST requests
El contenido de esta página está en Dominio Público. (vea la página CC0 para información detallada). Cualquiera es libre de copiar, modificar, publicar, usar, vender o distribuir el texto para cualquier propósito, comercial o no comercial, y por cualquier medio.
h-node.org is a hardware database project. It runs the h-source PHP software, commit cdeda15, available under the GNU General Public (GPLv3) License.
JavaScript license information