mirror of
https://github.com/reactos/developer-web-interface.git
synced 2024-11-23 11:59:40 +00:00
filtered endpoints for build Data
This commit is contained in:
parent
6848413527
commit
d7ba9701de
9
app.js
9
app.js
@ -126,11 +126,14 @@ app.get('/api/pulls', (req, res) => {
|
||||
});
|
||||
|
||||
//------- BUILD-SET END-POINT -------
|
||||
|
||||
//https://build.reactos.org/api/v2/buildsets?field=bsid&field=sourcestamps&order=-bsid
|
||||
//https://build.reactos.org/api/v2/buildsets?field=bsid&field=sourcestamps&order=-bsid&limit=50
|
||||
//https://build.reactos.org/api/v2/buildsets?field=bsid&field=sourcestamps&order=-bsid&offset=0&limit=50
|
||||
//increasing the offset by 50 on next page request!!!
|
||||
function buildSetReq() {
|
||||
var buildSets = {
|
||||
uri:
|
||||
'https://build.reactos.org/api/v2/buildsets?field=bsid&field=sourcestamps',
|
||||
'https://build.reactos.org/api/v2/buildsets?field=bsid&field=sourcestamps&order=-bsid&offset=0&limit=50',
|
||||
headers: {
|
||||
'User-Agent': 'Request-Promise'
|
||||
},
|
||||
@ -152,6 +155,8 @@ app.get('/api/buildsets', (req, res) => {
|
||||
|
||||
//------- BUILD-REQUEST END-POINT -------
|
||||
|
||||
//https://build.reactos.org/api/v2/buildrequests?field=buildsetid&field=buildrequestid&buildsetid=1
|
||||
|
||||
function buildReq() {
|
||||
var buildReq = {
|
||||
uri:
|
||||
|
Loading…
Reference in New Issue
Block a user