Fetching Exports

To fetch the exports you first need to fetch the MapPlan. You can do this by using the node query. For details see the Fetching a Single Object section.

Click here to view this example in the API explorer, substitute your own plan_id to execute the query.

query GetExports{
  node(id:"MapPlan:5a0de0835f1e08eaabc732bd"){
    ... on MapPlan{
      exports(first:5){
        edges {
          node {
            id
            user{
              username
            }
            parameters {
              projection
              merge
              contourInterval
              fileFormat
              resolution
            }
            status
            dateCreation
            downloadPath
          }
        }
      }
    }
  }
}

This returns the data:

Checking the status of an Export

If you want to keep checking back on the status of a given export you can use the same query shown in Fetching a Single Object to get it.

Last updated

Was this helpful?