GithubHelp home page GithubHelp logo

vinli / docs Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 16.0 317 KB

The official documentation of all the ways you can interact with the Vinli Platform and Device.

License: MIT License

CSS 0.79% Python 52.75% Makefile 46.46%

docs's People

Contributors

bvyask avatar danielthall avatar franciscofsales avatar gaker avatar galenandrew avatar gangstead avatar jeffyounger avatar jezielchai avatar kturney avatar maccorey avatar mathewdgardner avatar shayneo avatar vann-vinli avatar zbarnes757 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

DOCS - Device Services - Get a Device - groups link

For "Get a Device" the Response shows links: Self, Groups, Vehicles, LatestVehicle". When I look at the device.js file, it shows links: Self, Vehicles, Latest Vehicle. I'm thinking that Groups should be removed from the doc.
platform service device service get device

DOCS - General - Authentication - typo

Authentication section, 3rd paragraph: Each request must include the App ID and App Secret in the Authentorization... should be spelled Authorization
screen shot 2015-07-22 at 3 15 51 pm

DOCS - Pagination - Update reference to chronological sort order

Pagination does not sort in chronological order for resource list pagination or oldest to most recent order for streaming pagination. Instead, it has been decided to use time series ordering where the first item in the list should be the "latest or most recent. For example - vehicles are returned in order based on most recently used.
A request to list all vehicles for a device would look like this:
GET https://platform-dev.vin.li/api/v1/devices/fe4bbc20-cc90-11e3-8e05-f3abac5b6b21/vehicles

In the response, the first vehicle in the list has the same vehicleID as sending the request with the "_latest" parameter.

GET https://platform-dev.vin.li/api/v1/devices/fe4bbc20-cc90-11e3-8e05-f3abac5b6b21/vehicles/_latest

In the response, the vehicleID is the same as the first vehicle in the results from the List all vehicles request"

DOCS - Device Services - Enterprise "block"

The line reads: Enterprise-level applications, which require specific approval from Vinli, are able to manage a specific block of devices that are "owned" by the application. I don't see where the concept of a "block" of device IDs exists. If it does, I would expect that Device IDs being returned from a List all Devices request would be identified by their block, but there is no block attribute associated with a device or that pagination provides organization based on blocks for an enterprise application.
platform services device service

DOCS - Trip-Service - Update Trip Details section

Need to add:

  "deviceId"
  "preview"
  "stats": {
    "averageLoad": null,
    "averageMovingSpeed": null,
    "averageSpeed": null,
    "distance": null,
    "distanceByGPS": null,
    "distanceByVSS": null,
    "duration": null,
    "fuelConsumed": null,
    "fuelEconomy": null,
    "hardAccelCount": null,
    "hardBrakeCount": null,
    "locationCount": null,
    "maxSpeed": null,
    "messageCount": null,
    "stdDevMovingSpeed": null,
    "stopCount": null
  },
  "links": {
    "device": "https://platform-dev.vin.li/api/v1/devices/64013359-093a-4ed1-bd5f-cb47deaea262",
    "messages": "https://telemetry-dev.vin.li/api/v1/devices/64013359-093a-4ed1-bd5f-cb47deaea262/messages?since=1438723715937&until=1439319581076",
    "events": "https://events-dev.vin.li/api/v1/devices/64013359-093a-4ed1-bd5f-cb47deaea262/events?since=1438723715937&until=1439319581076"

Need to remove link: "snapshots" : "https://trips.vin.li/api/v1/trips/e960a385-0ced-4654-8404-3238e147ad45/snapshots"

Need to update pagination for time series

DOCS - Trip-Service - List All of a Vehicle's Trips

The response needs to be updated to include:

deviceId, startPoint, stopPoint, preview, orphanedAt, and
"stats": {
"averageLoad": null,
"averageMovingSpeed": null,
"averageSpeed": null,
"distance": null,
"distanceByGPS":null,
"distanceByVss": null,
"duration": null,
"fuelConsumed": null,
"fuelEconomy": null,
"hardAccelCount": null,
"hardBrakeCount": null,
"locationCount": null,
"maxSpeed": null,
"messageCount": null,
"stdDevMovingSpeed": null,
"stopCount": null

Links needs to be updated to include:
device, vehicle, messages, and events.

Remove the "snapshots" link

DOCS - Event-Services - Subscriptions - Typos

Notification Payload section - verbiage below the example, second paragraph starts like this and has 2 typos - Notification and representation:

In the example above, the Subscription triggered is associated with a Rule. In this case, additional information is made available in the Notificaiton including a reprsentation of the Rule in the meta property.

screen shot 2015-07-30 at 4 45 25 pm

DOCS - Trip-Service - List All of A Device's Trips - update Response

The response needs to be updated to include:

deviceId, startPoint, stopPoint, preview, orphanedAt, and
"stats": {
"averageLoad": null,
"averageMovingSpeed": null,
"averageSpeed": null,
"distance": null,
"distanceByGPS":null,
"distanceByVss": null,
"duration": null,
"fuelConsumed": null,
"fuelEconomy": null,
"hardAccelCount": null,
"hardBrakeCount": null,
"locationCount": null,
"maxSpeed": null,
"messageCount": null,
"stdDevMovingSpeed": null,
"stopCount": null

Links needs to be updated to include:
device, messages, and events.

DOCS - Trip-Service - Typo - asyncrhonously

Second paragraph:
t's important to note that trips are sometimes created asyncrhonously--either because they have to be constructed by post-processing or after bulk data upload for a given device.

Should be spelled asynchronously

doc - trip service - typo

DOCS - Diagnostic - Wrong URI and example response

Incorrect URI

Documentation URI: https://diagnostics.vin.li
Actual URI: https://diagnostic.vin.li

Incorrect Response (GET /api/v1/codes?number=P0001)

Documentation Response

{
  "code" : {
    "make": "generic",
    "twoByte": {
      "number": "P0001",
      "description": "Fuel Volume Regulator Control Circuit/Open"
    },
    "threeByte": {
      "number": "P0001",
      "ftb": "13",
      "fault": "Circuit Open",
      "description": "Fuel Volume Regulator Control"
    }
  }
}

Actual Response

{
  "codes": [
    {
      "id": "2db60bc5-0548-43ee-91c0-c34d59ce71ce",
      "make": "generic",
      "system": "powertrain",
      "subSystem": "Fuel and air metering",
      "number": "P0001",
      "description": "Fuel Volume Regulator Control Circuit/Open",
      "links": {
        "self": "https://diagnostic.vin.li/api/v1/codes/2db60bc5-0548-43ee-91c0-c34d59ce71ce"
      }
    }
  ],
}

DOCS - Trip-Service - Get Details of a Trip - update verbiage

Verbiage states:
For each trip, more detailed information regarding overall trip statistics is available here. This includes start and stop location as well as a few other statistical information which may be of interest. These items include:

All of the detailed information listed in the above verbiage is available via the get trips by device or get trips by vehicle.

Rule Services - Overview - Boundaries

Boundaries heading states ...boundaries can be either "parametric" or "geospatial." In the Rule document, the request/response examples only shows "parametric" but no "geospatial" examples. It would be good to show both.

DOCS - Vehicle Services - typo

Heading - Vehicle Service: first sentence:
... information regarding thee specifics about the vehicle. Thee should be the

platform services - vehicle services - typo

DOCS - Device Service - Enterprise "block"

The line reads: Enterprise-level applications, which require specific approval from Vinli, are able to manage a specific block of devices that are "owned" by the application. I don't see where the concept of a "block" of device IDs exists. If it does, I would expect that Device IDs being returned from a List all Devices request would be identified by their block, but there is no block attribute associated with a device or that pagination provides organization based on blocks for an enterprise application.
platform services device service

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.