LogoLogo
DocsHomeSupportContact
  • Getting Started
    • Introduction
    • Build on DIMO
  • DEVELOPER GUIDE
    • Developer Overview
    • Developer Console
    • Authentication
    • DIMO Developer SDKs
      • Data SDK
      • Login with DIMO SDK
        • React Component
        • Login with DIMO Redirect
        • Core Functionalities
      • TypeScript: Transactions SDK
      • SDK Release Notes
    • Low Code Tools
      • n8n: Getting Started
    • Permissions Contract: SACD
    • DIMO Credits
    • Response Types
    • Rate Limits
    • Developer FAQ
    • Developer Changelogs
    • Troubleshooting Common Issues
  • API References
    • Overview of DIMO API
    • Attestation API
    • Device Definitions API
    • Identity API
      • Schema & Types
      • Scalars
      • Nodes & Objects
        • AftermarketDevice
        • AftermarketDeviceConnection
        • DCN
        • DCNConnection
        • DeveloperLicense
        • DeviceDefinition
        • Earning
        • EarningsConnection
        • Manufacturer
        • Sacd
        • SyntheticDevice
        • Vehicle
        • VehicleConnection
        • VehicleEarnings
        • UserRewards
      • Common Queries
    • Telemetry API
      • Schema & Types
      • Scalars
      • Nodes & Objects
        • Signals
        • SignalsLatest
      • Common Queries
    • Token Exchange API
    • Trips API
    • Valuations API
  • DIMO Hardware
    • Introduction
    • DIMO Hardware Application
    • DIMO Manufacturing License
    • Development & Certification
    • Audits & Assessments
      • Hardware & Security Audit
      • Customer Experience Assessment
      • Integration Testing & Quality Control
      • Final Approval
    • DIMO Device License
      • Device Minting Certificates
    • Essential Documents
      • Hardware & Security Audit Checklist
      • Approved Hardware Auditors
      • DIMO Memorandum of Understanding (MOU)
  • Additional References
    • Developer License
    • DIMO GraphQL Basics
  • Deprecated Resources
    • Guides
      • Developer Journey
      • Quick Start Guide
      • Hello World
      • Code Exchange Flow
    • Data Availability
Powered by GitBook
On this page
  • Definition
  • Arguments
  • Sample Query

Was this helpful?

  1. API References
  2. Identity API
  3. Nodes & Objects

VehicleConnection

Definition

Get a list of minted vehicles ordered by tokenId in descending order.

Developer Notes

This GraphQL connection refers to the plural vehicles, hence an argument is needed in order for the query to target the specific subset of results.


Arguments

Field
Sub-field
Type
Description

first

Returns the first records given the argument provided.

last

Returns the last records given the argument provided.

after

Used for pagination, returns records after the given identifier.

before

Used for pagination, returns records before the given identifier.

filterBy

privileged

0x address of the privileged user.

owner

0x address of the vehicle owner.

Sample Query

{
    vehicles(
        first: 100
        after: "NDIyMTg="
        filterBy: { owner: "0x84B0EEeCD3bd243603df244D33587FF23c78D6B0" }
    ) {
        nodes {
            id
            tokenId
            owner
            mintedAt
            name
            image
        }
        pageInfo {
            startCursor
            endCursor
            hasPreviousPage
            hasNextPage
        }
    }
}

PreviousVehicleNextVehicleEarnings

Last updated 10 months ago

Was this helpful?

Int
Int
String
String
Address
Address