What is a Project?
A project is a collection of multiple flight plans and maps of the same site. A project may contain flight data collected during multiple flights from various points in time.
Contents
​Projects.team​
Overview
Returns the project that is the currently visible to the user. This method returns project id and name.
Example Call
// Get the current one timedronedeployApi.Projects.getCurrentlyViewed().then(function(project){console.log(project);});​// Will be called each time the project changesdronedeployApi.Projects.getCurrentlyViewed().subscribe(function(project){console.log(project);});
Example Response
{"id": "12ab34cd56ef78gh90ij12kl"}
​Full Example​
Overview
Returns members who have access to current project. This method can be used only inside project's pages, otherwise it throws error.
Example Call
// Get members for current project one timedronedeployApi.Projects.team().then(function(members){console.log(members);});​// Will be called each time the project changesdronedeployApi.Projects.team().subscribe(function(members){console.log(members);});
Example Response
[{"permission": "editor","username": "test_user@example.com"},{"permission": "editor","username": "test_user_2@example.com"}]
​Full Example​