Automile ResourceOwnerTriggers API
The ResourceOwnerTriggers API from Automile — 6 operation(s) for resourceownertriggers.
The ResourceOwnerTriggers API from Automile — 6 operation(s) for resourceownertriggers.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/automile-resourceownertriggers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: Automile ClientApi Resource Owner Triggers API
version: v1
servers:
- url: https://api.automile.com/
tags:
- name: ResourceOwnerTriggers
paths:
/v1/resourceowner/triggers:
get:
tags:
- ResourceOwnerTriggers
summary: Get all triggers
description: Only triggers that the user has access to will be returned by this operation.
operationId: GetResourceOwnerTriggers
responses:
'200':
description: The triggers are returned
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/TriggerModel'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TriggerModel'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/TriggerModel'
'500':
description: Internal server error
security:
- oauth2: []
post:
tags:
- ResourceOwnerTriggers
summary: Creates a new trigger
operationId: CreateResourceOwnerTrigger
responses:
'200':
description: A link in the header is returned to the newly created trigger
'500':
description: Internal server error
'403':
description: Request is forbidden, this could occur if you try to associate to other users than yourself
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TriggerCreateModel'
text/json:
schema:
$ref: '#/components/schemas/TriggerCreateModel'
application/*+json:
schema:
$ref: '#/components/schemas/TriggerCreateModel'
description: The company model
/v1/resourceowner/triggers/{triggerId}:
get:
tags:
- ResourceOwnerTriggers
summary: Get a trigger by id
description: Will only return the trigger if the user has access to it
operationId: GetResourceOwnerTrigger
parameters:
- in: path
name: triggerId
description: The Id of the company
required: true
schema:
type: integer
format: int32
responses:
'200':
description: The trigger details are returned
content:
text/plain:
schema:
$ref: '#/components/schemas/TriggerDetailModel'
application/json:
schema:
$ref: '#/components/schemas/TriggerDetailModel'
text/json:
schema:
$ref: '#/components/schemas/TriggerDetailModel'
'500':
description: Internal server error
'403':
description: Request is forbidden, meaning you dont' have access to this notification config
'404':
description: The notification config that you tried to update doesn't exist
security:
- oauth2: []
put:
tags:
- ResourceOwnerTriggers
summary: Updates the given trigger
description: This will update the trigger with the new model.
operationId: EditResourceOwnerTrigger
parameters:
- in: path
name: triggerId
description: The trigger hat should be updated
required: true
schema:
type: integer
format: int32
responses:
'200':
description: The trigger was saved
'500':
description: Internal server error
'403':
description: Request is forbidden, this could occur if you are not associated with the notification config
'404':
description: The notification config that you tried to update doesn't exist
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TriggerEditModel'
text/json:
schema:
$ref: '#/components/schemas/TriggerEditModel'
application/*+json:
schema:
$ref: '#/components/schemas/TriggerEditModel'
description: The new notification config model
delete:
tags:
- ResourceOwnerTriggers
summary: Removes the given trigger
description: This will remove the given trigger including all historic message belonging to this trigger.
operationId: DeleteResourceOwnerTrigger
parameters:
- in: path
name: triggerId
description: The company id
required: true
schema:
type: integer
format: int32
responses:
'200':
description: The trigger has been deleted
'403':
description: Request is forbidden, this could occur if you are not associated with the notification config
'404':
description: The notification config that you tried to remove doesn't exist
'500':
description: Internal server error
security:
- oauth2: []
/v1/resourceowner/triggers/batch:
post:
tags:
- ResourceOwnerTriggers
summary: Creates a new triggers
operationId: CreateResourceOwnerTriggerBatch
responses:
'200':
description: ''
'500':
description: Internal server error
'403':
description: Request is forbidden, this could occur if you try to associate to other users than yourself
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TriggerCreateBatchModel'
text/json:
schema:
$ref: '#/components/schemas/TriggerCreateBatchModel'
application/*+json:
schema:
$ref: '#/components/schemas/TriggerCreateBatchModel'
description: The company model
/v1/resourceowner/triggers/mute/{triggerId}:
put:
tags:
- ResourceOwnerTriggers
summary: Updates how long the trigger should be muted
description: This will update how long the trigger should be muted
operationId: EditResourceOwnerTriggerMute
parameters:
- in: path
name: triggerId
description: The trigger that should be muted
required: true
schema:
type: integer
format: int32
responses:
'200':
description: The trigger was saved
'500':
description: Internal server error
'403':
description: Request is forbidden, this could occur if you are not associated with the notification config
'404':
description: The notification config that you tried to update doesn't exist
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TriggerEditMutedUntilModel'
text/json:
schema:
$ref: '#/components/schemas/TriggerEditMutedUntilModel'
application/*+json:
schema:
$ref: '#/components/schemas/TriggerEditMutedUntilModel'
description: How long the trigger should be muted in seconds from now
/v1/resourceowner/triggers/unmute/{triggerId}:
put:
tags:
- ResourceOwnerTriggers
summary: Unmutes a trigger
description: This will unmute a trigger
operationId: EditResourceOwnerTriggerUnMute
parameters:
- in: path
name: triggerId
description: The trigger to unmute
required: true
schema:
type: integer
format: int32
responses:
'200':
description: The trigger was saved
'500':
description: Internal server error
'403':
description: Request is forbidden, this could occur if you are not associated with the notification config
'404':
description: The notification config that you tried to update doesn't exist
security:
- oauth2: []
/v1/resourceowner/triggers/movepush:
post:
tags:
- ResourceOwnerTriggers
summary: Move all users push triggers to userdevice
operationId: ResourceOwnerTriggerMovePush
responses:
'200':
description: All push triggers moved
'500':
description: Internal server error
'403':
description: Request is forbidden, this could occur if you try to associate to other users than yourself
security:
- oauth2: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MovePushTriggers'
text/json:
schema:
$ref: '#/components/schemas/MovePushTriggers'
application/*+json:
schema:
$ref: '#/components/schemas/MovePushTriggers'
components:
schemas:
TriggerEditModel:
required:
- DestinationData
- IMEIConfigId
type: object
properties:
IMEIConfigId:
format: int32
type: integer
TriggerType:
format: int32
description: "FirmwareConfigurationUpdate = 236, Eventype 236 loggas i [IMEIPing], sättet att detektera en uppdatering är att från föregående rad se om versionen ändrats\nHur får vi tag i föregående rad? Första raden måste då hämta senaste inserten i databasen?....inom datatabellen som ska insertas är det inga problem gissar jag....men analysen kan inte ske rad för rad utan hela datatabellen ska med\n \nMILStatusOnOff = 154, åtefinns i Datalogger message decoder, flik event messages, kolumn f MIL status\n \nDeviceDisconnect = 136,, åtefinns i Datalogger message decoder, flik event messages\nDeviceStillNotConnected = 137,, åtefinns i Datalogger message decoder, flik event messages\n\n SpeedNotification, återfinns i Pid0013"
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
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 52
- 53
- 54
- 55
- 64
type: integer
TriggerTypeData:
type: string
TriggerTypeData2:
type: string
ValidFrom:
format: date-time
type: string
ValidTo:
format: date-time
type: string
MutedUntilDateTime:
format: date-time
type: string
DestinationType:
format: int32
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
type: integer
DestinationData:
minLength: 1
type: string
DeliveryType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
TriggerTypeData3:
type: string
additionalProperties: false
TriggerCreateBatchModel:
required:
- DestinationData
type: object
properties:
TriggerType:
format: int32
description: "FirmwareConfigurationUpdate = 236, Eventype 236 loggas i [IMEIPing], sättet att detektera en uppdatering är att från föregående rad se om versionen ändrats\nHur får vi tag i föregående rad? Första raden måste då hämta senaste inserten i databasen?....inom datatabellen som ska insertas är det inga problem gissar jag....men analysen kan inte ske rad för rad utan hela datatabellen ska med\n \nMILStatusOnOff = 154, åtefinns i Datalogger message decoder, flik event messages, kolumn f MIL status\n \nDeviceDisconnect = 136,, åtefinns i Datalogger message decoder, flik event messages\nDeviceStillNotConnected = 137,, åtefinns i Datalogger message decoder, flik event messages\n\n SpeedNotification, återfinns i Pid0013"
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
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 52
- 53
- 54
- 55
- 64
type: integer
TriggerTypeData:
type: string
TriggerTypeData2:
type: string
ValidFrom:
format: date-time
type: string
ValidTo:
format: date-time
type: string
DestinationType:
format: int32
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
type: integer
DestinationData:
minLength: 1
type: string
DeliveryType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
IMEIConfigIds:
type: array
items:
format: int32
type: integer
TriggerTypeData3:
type: string
additionalProperties: false
TriggerCreateModel:
required:
- DestinationData
- IMEIConfigId
type: object
properties:
IMEIConfigId:
format: int32
type: integer
TriggerType:
format: int32
description: "FirmwareConfigurationUpdate = 236, Eventype 236 loggas i [IMEIPing], sättet att detektera en uppdatering är att från föregående rad se om versionen ändrats\nHur får vi tag i föregående rad? Första raden måste då hämta senaste inserten i databasen?....inom datatabellen som ska insertas är det inga problem gissar jag....men analysen kan inte ske rad för rad utan hela datatabellen ska med\n \nMILStatusOnOff = 154, åtefinns i Datalogger message decoder, flik event messages, kolumn f MIL status\n \nDeviceDisconnect = 136,, åtefinns i Datalogger message decoder, flik event messages\nDeviceStillNotConnected = 137,, åtefinns i Datalogger message decoder, flik event messages\n\n SpeedNotification, återfinns i Pid0013"
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
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 52
- 53
- 54
- 55
- 64
type: integer
TriggerTypeData:
type: string
TriggerTypeData2:
type: string
TriggerTypeData3:
type: string
ValidFrom:
format: date-time
type: string
ValidTo:
format: date-time
type: string
DestinationType:
format: int32
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
type: integer
DestinationData:
minLength: 1
type: string
DeliveryType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
additionalProperties: false
TriggerModel:
type: object
properties:
TriggerId:
format: int32
type: integer
IMEIConfigId:
format: int32
type: integer
TriggerType:
format: int32
description: "FirmwareConfigurationUpdate = 236, Eventype 236 loggas i [IMEIPing], sättet att detektera en uppdatering är att från föregående rad se om versionen ändrats\nHur får vi tag i föregående rad? Första raden måste då hämta senaste inserten i databasen?....inom datatabellen som ska insertas är det inga problem gissar jag....men analysen kan inte ske rad för rad utan hela datatabellen ska med\n \nMILStatusOnOff = 154, åtefinns i Datalogger message decoder, flik event messages, kolumn f MIL status\n \nDeviceDisconnect = 136,, åtefinns i Datalogger message decoder, flik event messages\nDeviceStillNotConnected = 137,, åtefinns i Datalogger message decoder, flik event messages\n\n SpeedNotification, återfinns i Pid0013"
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
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 52
- 53
- 54
- 55
- 64
type: integer
DestinationType:
format: int32
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
type: integer
DestinationData:
type: string
TriggerTypeData:
type: string
ValidFrom:
format: date-time
type: string
ValidTo:
format: date-time
type: string
MutedUntilDateTime:
format: date-time
type: string
MutedForAdditionalSeconds:
format: int32
type: integer
CreatedAt:
format: date-time
type: string
TriggerTypeData2:
type: string
TriggerTypeData3:
type: string
TriggerDeviceType:
format: int32
enum:
- 0
- 1
- 2
- 255
type: integer
additionalProperties: false
MovePushTriggers:
type: object
properties:
ToUserDeviceId:
format: int32
type: integer
additionalProperties: false
TriggerDetailModel:
type: object
properties:
TriggerId:
format: int32
type: integer
IMEIConfigId:
format: int32
type: integer
TriggerType:
format: int32
description: "FirmwareConfigurationUpdate = 236, Eventype 236 loggas i [IMEIPing], sättet att detektera en uppdatering är att från föregående rad se om versionen ändrats\nHur får vi tag i föregående rad? Första raden måste då hämta senaste inserten i databasen?....inom datatabellen som ska insertas är det inga problem gissar jag....men analysen kan inte ske rad för rad utan hela datatabellen ska med\n \nMILStatusOnOff = 154, åtefinns i Datalogger message decoder, flik event messages, kolumn f MIL status\n \nDeviceDisconnect = 136,, åtefinns i Datalogger message decoder, flik event messages\nDeviceStillNotConnected = 137,, åtefinns i Datalogger message decoder, flik event messages\n\n SpeedNotification, återfinns i Pid0013"
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
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 52
- 53
- 54
- 55
- 64
type: integer
TriggerTypeData:
type: string
ValidFrom:
format: date-time
type: string
ValidTo:
format: date-time
type: string
MutedUntilDateTime:
format: date-time
type: string
MutedForAdditionalSeconds:
format: int32
type: integer
DestinationType:
format: int32
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
type: integer
DestinationData:
type: string
DeliveryType:
format: int32
enum:
- 0
- 1
- 2
- 3
type: integer
APIClientId:
format: int32
type: integer
CreatedAt:
format: date-time
type: string
TriggerTypeData2:
type: string
TriggerTypeData3:
type: string
TriggerDeviceType:
format: int32
enum:
- 0
- 1
- 2
- 255
type: integer
additionalProperties: false
TriggerEditMutedUntilModel:
type: object
properties:
SecondsFromNow:
format: int32
type: integer
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