Flow Instance

Get all flow ids

query {
  instances {
    flows {
      id
    }
  }
}

Get all flows of a particular entity type

query {
  instances {
    flows(type: "generic_flow") {
      id
    }
  }
}

Get the label of a flows by id

query {
  instances {
    flows(id: "uuid") {
      label
    }
  }
}

Get the id of a flows by label

query {
  instances {
    flows(label: "/org/inexor/flows/game-servers") {
      id
    }
  }
}

Get the entity instance which are contained by a flow

query {
  instances {
    flows(id: "uuid") {
      entities {
        id
      }
    }
  }
}

Get the properties of the wrapper entity instance of a flow

query {
  instances {
    flows(id: "uuid") {
      wrapper {
        properties {
          name
          value
          type {
            dataType
            socketType
          }
        }
      }
    }
  }
}

Get the relation instances which are contained by a flow

query {
  instances {
    flows(id: "uuid") {
      relations {
        outbound {
          id
        }
        type {
          name
        }
        inbound {
          id
        }
      }
    }
  }
}

Get all entity instances and all relation instances of a flow

query {
  instances {
    flows(id: "uuid") {
      type {
        name
      }
      label
      entities {
        id
        label
        type {
          name
        }
        properties {
          name
          value
        }
      }
      relations {
        type {
          name
        }
        outbound {
          id
        }
        inbound {
          id
        }
        properties {
          name
          value
        }
      }
    }
  }
}