Adds offset and limit query parameters to index endpoint