Automile ResourceOwnerVehicleDefectTypes API

The ResourceOwnerVehicleDefectTypes API from Automile — 1 operation(s) for resourceownervehicledefecttypes.

OpenAPI Specification

automile-resourceownervehicledefecttypes-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: Automile ClientApi ResourceOwnerVehicleDefectTypes API
  version: v1
tags:
- name: ResourceOwnerVehicleDefectTypes
paths:
  /v1/resourceowner/vehicledefecttypes:
    get:
      tags:
      - ResourceOwnerVehicleDefectTypes
      summary: Get all vehicle defect types
      description: ''
      operationId: GetResourceOwnerVehicleDefectTypes
      produces:
      - text/plain
      - application/json
      - text/json
      responses:
        '200':
          description: The vehicle inspections are returned
          schema:
            type: array
            items:
              $ref: '#/definitions/VehicleDefectTypeModel'
      security:
      - oauth2: []
definitions:
  VehicleDefectTypeModel:
    type: object
    properties:
      DefectType:
        format: int32
        enum:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
        - 11
        - 12
        - 13
        - 14
        - 15
        - 16
        - 17
        - 18
        - 19
        - 20
        - 21
        - 22
        - 23
        - 24
        - 25
        - 26
        - 27
        - 28
        - 29
        - 30
        - 31
        type: integer
      LocalizedName:
        type: object
        additionalProperties:
          type: string
    additionalProperties: false
securityDefinitions:
  oauth2:
    type: oauth2
    flow: implicit
    authorizationUrl: https://api.automile.com/login/
    scopes:
      read: Read access to protected resources
      write: Write access to protected resources
    description: OAuth2 Implicit Grant