ApiTriggers
Replays a historical revision onto the live trigger.
Copies the snapshot's mutable fields back onto the trigger, replaces bindings to match, and writes a new `RESTORED` revision pointing at the source revision (audit chain stays linear). Returns the post-restore trigger shape. Immutable fields (`kind`, `integrationId`, `eventType`) must match the snapshot — restoring across a kind change is rejected with 400.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
trigger*string
The trigger identifier.
Format
uuidtenant*string
The tenant identifier
Which historical revision to restore from.
revisionId*string
The Fruxon.Model.Triggers.TriggerRevision.Id to restore from.
Format
uuid[key: string]?never
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08:restoreFrom" \ -H "Content-Type: application/json" \ -d '{ "revisionId": "bae12d01-48af-47b3-9304-b09ef0081cd6" }'{
"id": "00000000-0000-0000-0000-000000000000",
"kind": "SCHEDULE",
"integrationId": "string",
"integrationConfigId": "00000000-0000-0000-0000-000000000000",
"eventType": "string",
"displayName": "string",
"active": false,
"timeout": 0,
"scheduleFrequency": "DAILY",
"scheduleDay": "sunday",
"scheduleDayOfMonth": "_1",
"scheduleHour": "string",
"scheduleMinute": "string",
"intervalValue": 0,
"intervalUnit": "MINUTES",
"timezone": "string",
"filter": {
"match": "ALL",
"conditions": [
{
"path": "string",
"operator": "UNSPECIFIED",
"value": "string",
"values": null,
"caseSensitive": false
}
]
},
"createdAt": 0,
"modifiedAt": 0,
"lastFiredAt": 0,
"hasWebhookKey": false,
"webhookOwnership": "PER_BINDING",
"agentIds": [
"string"
],
"bindings": [
{
"agentId": "string",
"parameterMappings": [],
"outputBindingId": "00000000-0000-0000-0000-000000000000",
"outputDestination": {
"bindingId": "00000000-0000-0000-0000-000000000000",
"participantId": "00000000-0000-0000-0000-000000000000",
"integrationConfigId": "00000000-0000-0000-0000-000000000000",
"provider": "string",
"address": "string"
},
"defaultOutputDestinations": []
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}