getroadmap / roadmap-api

API documentation for Roadmap
3 stars 2 forks source link

Neither /project:id or /project/id/resources returns actual resources on project #5

Closed mmealling closed 9 years ago

mmealling commented 9 years ago

The access token I'm using is from an admin user who has visibility into every project. Calling /v1.1/project returns all of the current projects. But when I request either /v1.1/project/:id or /v1.1/project/:id/resources I get an empty array when I know there are Resources assigned to that project. One project actually does return a Resource but its an old project and it I can't see any real difference between it and the other projects we have.

mmealling commented 9 years ago

Nevermind. The difference is whether the Resource is assigned at the Project level or the Task level. I have to iterate over the todolists and the individual todos to find everyone assigned to the Project.