(Web API) Require TEI or Program/OrgUnit for Events endpoint

Registered by Morten Olav Hansen on 2016-03-01

Right now there is a risk of too much data getting queried in our /api/events endpoint, which means the server very easily 504 timeouts or at the very least consumes lots of cpu/memory for the query.

We should require either:
1) TEI
2) Program / OrgUnit combo

Blueprint information

Status:
Complete
Approver:
Morten Olav Hansen
Priority:
Undefined
Drafter:
Morten Olav Hansen
Direction:
Approved
Assignee:
Viet Nguyen
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.23
Started by
Viet Nguyen on 2016-04-05
Completed by
Viet Nguyen on 2016-04-07

Related branches

Sprints

Whiteboard

Require at least one of the following params for /api/events enpoint: program, orgUnit, event

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.