| Summary: | How restful API to oVirt events tab and set the number of each page event. | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Evan <evan1104> |
| Component: | RestAPI | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.7 | CC: | bugs |
| Target Milestone: | --- | Flags: | rule-engine:
planning_ack?
rule-engine: devel_ack? rule-engine: testing_ack? |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-08 13:05:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Reports | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Evan
2016-09-08 09:23:53 UTC
The "max" parameter isn't part of the search language, but a separate matrix parameter. In your particular case it is just ignored, thus you get all the results, as that that is the default when "max" isn't specified. If you only want to get 4 results per page, for example, you should send a request like this: GET /ovirt-engine/api/events;max=4?search=sortby%20time%20asc%20page%201 I'm closing as NOTABUG because I think that there is nothing to fix. If you think that something needs to be changed then reopen the bug and explain it. |