Webhob REST API Builds: Difference between revisions
From Yocto Project
				
				
				Jump to navigationJump to search
				
				No edit summary  | 
				No edit summary  | 
				||
| Line 22: | Line 22: | ||
| 1 || offset || represents the position of the first record in the page  ||  -  | | 1 || offset || represents the position of the first record in the page  ||  -  | ||
|-  | |-  | ||
| 1 || filter || consists of a string used to filter results  | | 1 || filter || consists of a string used to filter results || -  | ||
|}  | |}  | ||
Revision as of 08:37, 19 July 2013
Endpoints
| Nr. | Method | Endpoint | Body | Description | Comments | 
|---|---|---|---|---|---|
| 1 | GET | /builds | JSON | returns page size limited and search criteria filtered amount of builds from the data base | - | 
| 2 | GET | /builds_count | JSON | returns the total amount of builds from the data base | - | 
Parameters
| Affected Endpoint | Name | Description | Comments | 
|---|---|---|---|
| 1 | limit | the amout of builds to be displayed in one page | - | 
| 1 | offset | represents the position of the first record in the page | - | 
| 1 | filter | consists of a string used to filter results | - |