dronedeploy Docs Reference API Explorer Become a Partner

INTERFACE

Node

Relay Node Interface. This is a common interface across all objects in the API and simply means that every object has an id field.

The ID is in the format <Type>:<Identifier>

The main use of this interface is to be able use the node query to fetch any Node by it's ID.

Since the node query returns a Node object, you use an Inline Fragment to specify the fields for specific types.

Example:

{
  node(id: "MapPlan:59025524dc96682e374d336c") {
    ... on MapPlan {
      name
      location {
        lat
        lng
      }
      status
    }
  }
}

link

Fields

id (ID!)

The ID of the object.

link Required by