Petition Details/Distribution
Verb: GET
URL: {url}/distribution
Parameters
| Field | Description | Guy | Obligatory | Possible values |
|---|---|---|---|---|
| search | Value by which it will be filtered in the search | Text | no | Values that can be used for search: - name - Description |
| orderField | Field by which the list will be sorted | Text | yes | creationDate, creatorUserName, desciption, lastExecutionDate, name, platform , type |
| orderType | Field indicating sort type, ascending or descending | Text | yes | ASC,DESC |
| pageSize | Field indicating the number of results expected in the response | Whole | yes | - |
| Pages | Field that indicates the number of results that we have obtained in previous queries. This field is used in conjunction with pageSize for pagination | Whole | yes | - |
Answer
| Field | Description | Guy |
|---|---|---|
| creationDate | Date of creation of the distribution | Date |
| creatorUserName | Name of the user who created the distribution | Text |
| Description | Description given to the distribution | Text |
| Id | Distribution Identifier | Whole |
| lastExecutionDate | Date of the last execution of this distribution | Date |
| Name | Name assigned to the execution | Text |
| packageCount | Count of pauqetes contained in the distribution | Whole |
| Platform | Type of platform on which the distribution was created | Text |
| type | Distribution type, agent, or software | Text |
| updateDate | Project Update Date | Date |
- Code: 400 - Bad request - Answer: Error Description Message
-
Code: 500 - Internal Error Server - Answer: Error Description Message
- BadRequest Search parameters are not being sent
- ValidationError if one of the required values is not sent.