Changelogs

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.

List all changelogs

Get the list of all changelogs.

Responses
200

OK

get/changelogs
Request samples
curl -i -X GET \
  https://app.leadconduit.com/changelogs
Response samples
application/json
[
  • {
    • "id": "string",
    • "action": "create",
    • "changes": [
      • {
        • "action": "create",
        • "target": "string",
        • "delta_path": "string",
        • "previous": {
          • "value": "string"
          }
        }
      ],
    • "current_revision": {
      • "id": "5fd439df60f288816f7ba2aa",
      • "account": true,
      • "deprecated": true,
      • "description": "string",
      • "field_suffix": "strin",
      • "flow_ids": [
        • "string"
        ],
      • "logo_url": "http://example.com",
      • "module_ids": [
        • "string"
        ],
      • "name": "string",
      • "recipient": "buyer",
      • "see": "string",
      • "source": "form",
      • "standard": true,
      • "time_zone": "string",
      • "trustedform_certified_vendor": true,
      • "website": "http://example.com",
      • "created_at": "2019-08-24T14:15:22Z",
      • "updated_at": "2019-08-24T14:15:22Z"
      },
    • "delta_from_last_revision": {
      • "property1": [
        • "string"
        ],
      • "property2": [
        • "string"
        ]
      },
    • "type": "flow",
    • "user": {
      • "id": "string",
      • "first_name": "string",
      • "last_name": "string",
      • "email": "string"
      },
    • "created_at": "2020-11-23T11:41:52Z"
    }
]

Get a changelog

Returns the changelog matching the specified ID

Request
path Parameters
id
required
string (ID) ^[0-9a-fA-F]{24}$

ID of the changelog to get

Responses
200

OK

get/changelog/{id}
Request samples
curl -i -X GET \
  https://app.leadconduit.com/changelog/:id
Response samples
application/json
{
  • "id": "string",
  • "action": "create",
  • "changes": [
    • {
      • "action": "create",
      • "target": "string",
      • "delta_path": "string",
      • "previous": {
        • "value": "string"
        }
      }
    ],
  • "current_revision": {
    • "id": "5fd439df60f288816f7ba2aa",
    • "account": true,
    • "deprecated": true,
    • "description": "string",
    • "field_suffix": "strin",
    • "flow_ids": [
      • "string"
      ],
    • "logo_url": "http://example.com",
    • "module_ids": [
      • "string"
      ],
    • "name": "string",
    • "recipient": "buyer",
    • "see": "string",
    • "source": "form",
    • "standard": true,
    • "time_zone": "string",
    • "trustedform_certified_vendor": true,
    • "website": "http://example.com",
    • "created_at": "2019-08-24T14:15:22Z",
    • "updated_at": "2019-08-24T14:15:22Z"
    },
  • "delta_from_last_revision": {
    • "property1": [
      • "string"
      ],
    • "property2": [
      • "string"
      ]
    },
  • "type": "flow",
  • "user": {
    • "id": "string",
    • "first_name": "string",
    • "last_name": "string",
    • "email": "string"
    },
  • "created_at": "2020-11-23T11:41:52Z"
}