dronedeploy Docs Reference API Explorer Become a Partner

OBJECT

MutationRoot

Root of all mutations. This is where all of the operations which make changes to the API are listed. See http://graphql.org/learn/queries/#mutations for more details.

Example Mutation:

mutation CreateExport($input:CreateExportInput!){
  createExport(input:$input){
    export{
      id
    }
  }
}

With variables:

{
  "input":{
    "planId": "MapPlan:5a0ddee5a6b7d90aecdc2f1d",
    "parameters": {
        "layer": "ORTHOMOSAIC"
    }
  }
}

link

Fields

createExport (CreateExportPayload)

Create an export of map data and queue it for processing

Example Mutation:

mutation($input: CreateExportInput!) {
  createExport(input: $input) {
    export {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputCreateExportInput!(Not Documented)

createMapPlan (CreateMapPlanPayload)

Create a Plan

Example Mutation:

mutation($input: CreateMapPlanInput!) {
  createMapPlan(input: $input) {
    plan {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputCreateMapPlanInput!(Not Documented)

createTable (CreateTablePayload)

Create a table for Datastore.

Example Mutation:

mutation($input: CreateTableInput!) {
  createTable(input: $input) {
    table {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputCreateTableInput!(Not Documented)

createTableColumn (CreateTableColumnPayload)

Create a table column for Datastore.

Example Mutation:

mutation($input: CreateTableColumnInput!) {
  createTableColumn(input: $input) {
    table_column {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputCreateTableColumnInput!(Not Documented)

createTableData (CreateTableDataPayload)

Create a row of data for a table in the Datastore.

Example Mutation:

mutation($input: CreateTableDataInput!) {
  createTableData(input: $input) {
    table_data {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputCreateTableDataInput!(Not Documented)

editTableData (EditTableDataPayload)

Edit users custom table data

Example Mutation:

mutation($input: EditTableDataInput!) {
  editTableData(input: $input) {
    table_data {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputEditTableDataInput!(Not Documented)

upsertFunction (UpsertFunctionPayload)

Creates a function if one does not already exist with the same name for the given application, otherwise it updates the existing function.

This API should not be used directly but are for use by the DroneDeploy serverless plugin which should be
used for creating, testing and deploying your serverless functions.

Example Mutation:

mutation($input: UpsertFunctionInput!) {
  upsertFunction(input: $input) {
    function {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputUpsertFunctionInput!(Not Documented)

upsertTableData (UpsertTableDataPayload)

Create a row of data or edits the data (if already exists) in the datastore

Example Mutation:

mutation($input: UpsertTableDataInput!) {
  upsertTableData(input: $input) {
    table_data {
      id
    }
  }
}

Click here to try the example Mutation

Argument NameTypeDescription
inputUpsertTableDataInput!(Not Documented)

link Require by

This element is not required by anyone