Episode Service REST endpoint misbehaving

Steps to reproduce

Steps to reproduce:
1. Process many workflows
2. Go to /episode/episodes.json?limit=0

Actual Results:
The REST docs specify that a limit less than one is 'unlimited'. What the logic does (in multiple places) is refuse to set values less than one, or throw exceptions.

Expected Results:
A list of all of the episodes in the system

After removing the code that refuses values less than zero, setting a limit of zero appears to work properly in that it returns zero results. We should remove the inaccurate documentation.

Status

Assignee

Unassigned

Reporter

Greg Logan

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure