Automile ResourceOwnerPublishSubscribe API

The ResourceOwnerPublishSubscribe API from Automile — 10 operation(s) for resourceownerpublishsubscribe.

Operations 13

GET /v1/resourceowner/publishsubscribe Get all publish subscribe records the user has created #
POST /v1/resourceowner/publishsubscribe Create an a publish subscribe record #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId} Get the publish subscribe by record id #
PUT /v1/resourceowner/publishsubscribe/{publishSubscribeId} Updates the given publish subscribe record #
DELETE /v1/resourceowner/publishsubscribe/{publishSubscribeId} Removes the given publish subscribe record #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testtripstart Publishes a test trip start to the publish subscribe endpoint #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testtripend Publishes a test trip end to the publish subscribe endpoint #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testvehiclecreated Publishes a created vehicled to the publish subscribe endpoint #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testvehiclemodified Publishes a modified vehicled to the publish subscribe endpoint #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testcontactcreated Publishes a created driver / contact to the publish subscribe endpoint #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testcontactmodified Publishes a modified contact to the publish subscribe endpoint #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testdeviceconnected Publishes vehicle information similar to when a device is connected to the… #
GET /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testdevicedisconnected Publishes vehicle information similar to when a device is disconnected to the… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/automile-resourceownerpublishsubscribe-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

automile-resourceownerpublishsubscribe-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automile Resource Owner Publish Subscribe API
  version: v1
tags:
- name: ResourceOwnerPublishSubscribe
paths:
  /v1/resourceowner/publishsubscribe:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Get all publish subscribe records the user has created
      description: Only publish subscribe records that the user has access to are accessible.
      operationId: GetPublishSubscribe
      responses:
        '200':
          description: The publish subscribe records is returned
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PublishSubscribeModel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PublishSubscribeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PublishSubscribeModel'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    post:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Create an a publish subscribe record
      description: ''
      operationId: CreatePublishSubscribe
      responses:
        '200':
          description: A header link containing the URL to the newly created resource
        '500':
          description: Internal server error
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishSubscribeCreateModel'
          text/json:
            schema:
              $ref: '#/components/schemas/PublishSubscribeCreateModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PublishSubscribeCreateModel'
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Get the publish subscribe by record id
      description: Only publis subscribe records that the user has access to are accessible.
      operationId: GetPublishSubscribeById
      parameters:
      - in: path
        name: publishSubscribeId
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The publish subscribe details is returned
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PublishSubscribeModel'
            application/json:
              schema:
                $ref: '#/components/schemas/PublishSubscribeModel'
            text/json:
              schema:
                $ref: '#/components/schemas/PublishSubscribeModel'
        '500':
          description: Internal server error
      security:
      - oauth2: []
    put:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Updates the given publish subscribe record
      description: This will update the given publish subscribe record id with a new model.
      operationId: EditPublishSubscribe
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The publish subscribe record was saved
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried to update can't be found
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishSubscribeEditModel'
          text/json:
            schema:
              $ref: '#/components/schemas/PublishSubscribeEditModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PublishSubscribeEditModel'
        description: The new publish subscribe model
    delete:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Removes the given publish subscribe record
      operationId: DeletePublishSubscribeRecord
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The publish subscribe record been deleted
        '500':
          description: Internal server error
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe records you tried to remove can't be found
      security:
      - oauth2: []
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testtripstart:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes a test trip start to the publish subscribe endpoint
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: vehicleId
        description: The vehicle id that has existing trip, last trip will be fetched
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The trip start was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTesttripstart
      x-operation-id-source: derived
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testtripend:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes a test trip end to the publish subscribe endpoint
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: vehicleId
        description: The vehicle id that has existing trip, last trip will be fetched
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The trip end was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTesttripend
      x-operation-id-source: derived
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testvehiclecreated:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes a created vehicled to the publish subscribe endpoint
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: vehicleId
        description: The vehicle id that has existing trip, last trip will be fetched
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The trip end was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTestvehiclecreated
      x-operation-id-source: derived
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testvehiclemodified:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes a modified vehicled to the publish subscribe endpoint
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: vehicleId
        description: The vehicle id that has existing trip, last trip will be fetched
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The trip end was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTestvehiclemodified
      x-operation-id-source: derived
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testcontactcreated:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes a created driver / contact to the publish subscribe endpoint
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: contactId
        description: The vehicle id that has existing trip, last trip will be fetched
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The contact end was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTestcontactcreated
      x-operation-id-source: derived
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testcontactmodified:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes a modified contact to the publish subscribe endpoint
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: contactId
        description: The vehicle id that has existing trip, last trip will be fetched
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The contact end was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTestcontactmodified
      x-operation-id-source: derived
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testdeviceconnected:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes vehicle information similar to when a device is connected to the…
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: vehicleId
        description: The vehicle id
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The contact end was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTestdeviceconnected
      x-operation-id-source: derived
  /v1/resourceowner/publishsubscribe/{publishSubscribeId}/testdevicedisconnected:
    get:
      tags:
      - ResourceOwnerPublishSubscribe
      summary: Publishes vehicle information similar to when a device is disconnected to the…
      parameters:
      - in: path
        name: publishSubscribeId
        description: The publish subscribe record id
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: vehicleId
        description: The vehicle id
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The contact end was published to your publish subscribe record endpoint
        '500':
          description: Internal server error
        '400':
          description: Bad request, could occur for a number of cases, see returned message
        '403':
          description: Request is forbidden, could occur for a number of reasons, see returned message
        '404':
          description: Not found, the publish subscribe record you tried couldn't be found
      security:
      - oauth2: []
      operationId: getV1ResourceownerPublishsubscribeByPublishSubscribeIdTestdevicedisconnected
      x-operation-id-source: derived
components:
  schemas:
    PublishSubscribeEditModel:
      type: object
      properties:
        PublishToUrl:
          type: string
        PublishType:
          format: int32
          enum:
          - 0
          type: integer
        VehicleId:
          format: int32
          type: integer
        AuthenticationType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          type: integer
        AuthenticationData:
          type: string
      additionalProperties: false
    PublishSubscribeModel:
      type: object
      properties:
        PublishSubscribeId:
          format: int32
          type: integer
        PublishToUrl:
          type: string
        PublishType:
          format: int32
          enum:
          - 0
          type: integer
        VehicleId:
          format: int32
          type: integer
        AuthenticationType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          type: integer
        AuthenticationData:
          type: string
      additionalProperties: false
    PublishSubscribeCreateModel:
      type: object
      properties:
        PublishToUrl:
          type: string
        PublishType:
          format: int32
          enum:
          - 0
          type: integer
        VehicleId:
          format: int32
          type: integer
        AuthenticationType:
          format: int32
          enum:
          - 0
          - 1
          - 2
          - 3
          type: integer
        AuthenticationData:
          type: string
      additionalProperties: false
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          scopes:
            read: Read access to protected resources
            write: Write access to protected resources
          authorizationUrl: https://api.automile.com/login/
      description: OAuth2 Implicit Grant