Lista de Versiones del Proyecto
GET /api/v1/projects/:pluginId/versions
Devuelve una lista de versiones para un projecto de un plugin ID determinado basado en criterios determinados.
Parámetros de Consulta:
Nombre |
Tipo de Dato |
Descripción |
---|---|---|
channels |
Lista de Cadenas Separadas por Coma |
Filtra versiones por canales (inclusivo). |
limit |
Número Entero |
Limits the number of versions returned (max / default: 10). |
offset |
Número Entero |
Quita las primeras n versiones de la lista de resultado. |
Ejemplo de Salida:
[{
"id": 1226,
"createdAt": "2018-02-08 18:41:36.917",
"name": "1.1",
"dependencies": [{
"pluginId": "spongeapi",
"version": "7.1.0"
}],
"pluginId": "auction",
"channel": {
"name": "Release",
"color": "#009600"
},
"fileSize": 11441,
"md5": "d169809b0eda0e5d49bc60d5f69f097b",
"staffApproved": false,
"href": "/ewoutvs_/Auction/versions/1.1",
"tags": [{
"id": 13,
"name": "Sponge",
"data": "7.1.0",
"backgroundColor": "#F7Cf0D",
"foregroundColor": "#000000"
}],
"downloads": 25,
"author": "ewoutvs_"
},
{
"id": 1139,
"createdAt": "2018-01-23 11:08:55.798",
"name": "1.0",
"dependencies": [{
"pluginId": "spongeapi",
"version": "7.1.0"
}],
"pluginId": "auction",
"channel": {
"name": "Release",
"color": "#009600"
},
"fileSize": 11266,
"md5": "2d9896413912a0ba719a9fb624b9ff8e",
"staffApproved": false,
"href": "/ewoutvs_/Auction/versions/1.0",
"tags": [{
"id": 13,
"name": "Sponge",
"data": "7.1.0",
"backgroundColor": "#F7Cf0D",
"foregroundColor": "#000000"
}],
"downloads": 27
}]