A changelog represents a creation, update, or deletion of a model such as
Flow
, Entity
, or Field
. Every change made will log the exact
difference between the previous revision and the current one, as well as
what user was logged in and what account the change was made on.
Contained within the changelog is the full revision of the model changed
at the state after the change was applied, as well as the differences
between the previous revision and current revision.
id required | string (ID) ^[0-9a-fA-F]{24}$ ID of this Change Log |
action required | string Action performed: |
required | Array of objects (Change) An object representing the normalization of the delta object |
required | object |
required | object An object representing the difference between the previous revision and the latest revision of the model |
type required | string The type of resource that was changed. |
object (ChangelogUser) User information. This will only be present if the user was signed in when the changes were made | |
created_at required | string <date-time> Read-only time the Change Log was created |
{- "id": "5fd4371e940df5a34a3888b2",
- "action": "create",
- "changes": [
- {
- "action": "create",
- "target": "string",
- "delta_path": "string",
- "previous": {
- "value": "string"
}
}
], - "current_revision": { },
- "delta_from_last_revision": { },
- "type": "flow",
- "user": {
- "id": "5fd4371e940df5a34a3888b2",
- "api_key": "2f1d5f29915b866c7a2fa5de29613104",
- "first_name": "string",
- "last_name": "string",
- "email": "string"
}, - "created_at": "2020-11-23T11:41:52Z"
}
[- {
- "id": "5fd4371e940df5a34a3888b2",
- "action": "create",
- "changes": [
- {
- "action": "create",
- "target": "string",
- "delta_path": "string",
- "previous": {
- "value": "string"
}
}
], - "current_revision": { },
- "delta_from_last_revision": { },
- "type": "flow",
- "user": {
- "id": "5fd4371e940df5a34a3888b2",
- "api_key": "2f1d5f29915b866c7a2fa5de29613104",
- "first_name": "string",
- "last_name": "string",
- "email": "string"
}, - "created_at": "2020-11-23T11:41:52Z"
}
]
Returns the changelog matching the specified ID
OK
{- "id": "5fd4371e940df5a34a3888b2",
- "action": "create",
- "changes": [
- {
- "action": "create",
- "target": "string",
- "delta_path": "string",
- "previous": {
- "value": "string"
}
}
], - "current_revision": { },
- "delta_from_last_revision": { },
- "type": "flow",
- "user": {
- "id": "5fd4371e940df5a34a3888b2",
- "api_key": "2f1d5f29915b866c7a2fa5de29613104",
- "first_name": "string",
- "last_name": "string",
- "email": "string"
}, - "created_at": "2020-11-23T11:41:52Z"
}
[- {
- "id": "5fd4371e940df5a34a3888b2",
- "action": "create",
- "changes": [
- {
- "action": "create",
- "target": "string",
- "delta_path": "string",
- "previous": {
- "value": "string"
}
}
], - "current_revision": { },
- "delta_from_last_revision": { },
- "type": "flow",
- "user": {
- "id": "5fd4371e940df5a34a3888b2",
- "api_key": "2f1d5f29915b866c7a2fa5de29613104",
- "first_name": "string",
- "last_name": "string",
- "email": "string"
}, - "created_at": "2020-11-23T11:41:52Z"
}
]