Merge pull request #1503 from jdalphon/apidocs

Fixing api call that was broken
fixing doc issue #1505