Ir al contenido
GET /v1/files

A project's data files

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/pride-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/pride-api/v1/files" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pride-api/v1/files", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pride-api/v1/files");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/pride-api/v1/files",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "count": 8,
        "files": [
            {
                "name": "PRIDE_Exp_Complete_Ac_22134.pride.mztab.gz",
                "format": null,
                "category": "OTHER",
                "compress": false,
                "download": "ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2012/03/PXD000001/generated/PRIDE_Exp_Complete_Ac_22134.pride.mztab.gz",
                "size_bytes": 497985
            },
            {
                "name": "PRIDE_Exp_Complete_Ac_22134.pride.mgf.gz",
                "format": null,
                "category": "PEAK",
                "compress": false,
                "download": "[email protected]:pride/data/archive/2012/03/PXD000001/generated/PRIDE_Exp_Complete_Ac_22134.pride.mgf.gz",
                "size_bytes": 16448103
            },
            {
                "name": "TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.mzXML",
                "format": null,
                "category": "PEAK",
                "compress": false,
                "download": "ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2012/03/PXD000001/TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.mzXML",
                "size_bytes": 243031280
            },
            {
                "name": "erwinia_carotovora.fasta",
                "format": null,
                "category": "OTHER",
                "compress": false,
                "download": "ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2012/03/PXD000001/erwinia_carotovora.fasta",
                "size_bytes": 1657668
            },
            {
                "name": "TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.raw",
                "format": null,
                "category": "RAW",
                "compress": false,
                "download": "[email protected]:pride/data/archive/2012/03/PXD000001/TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.raw",
                "size_bytes": 220475548
            },
            {
                "name": "F063721.dat-mztab.txt",
                "format": null,
                "category": "OTHER",
                "compress": false,
                "download": "ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2012/03/PXD000001/F063721.dat-mztab.txt",
                "size_bytes": 304798
            },
            {
                "name": "PRIDE_Exp_Complete_Ac_22134.xml.gz",
                "format": null,
                "category": "RESULT",
                "compress": false,
                "download": "[email protected]:pride/data/archive/2012/03/PXD000001/PRIDE_Exp_Complete_Ac_22134.xml.gz",
                "size_bytes": 10677205
            },
            {
                "name": "F063721.dat",
                "format": null,
                "category": "SEARCH",
                "compress": false,
                "download": "ftp://ftp.pride.ebi.ac.uk/pride/data/archive/2012/03/PXD000001/F063721.dat",
                "size_bytes": 21185462
            }
 
…