younifyd
Menu

Get Personal Data Logs

Get Personal Data Logs

GET/v2/personal-data/logs

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Get Personal Data Logs action (under Personal Data).
  3. Fill in the fields below, then reference the result from later steps as {{getPersonalDataLogs.response.data}}.

Request

Query parameters

page[offset]integer (int64)

The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the [page length](/docs/api/settings/settings-introduction#page-length) store setting is used.

page[limit]integer (int64)

The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the [page length](/docs/api/settings/settings-introduction#page-length) store setting is used.

filterstring (string)

Filter attributes. For more information, see the [Filtering](/guides/Getting-Started/filtering) section.

Response

Returns 200 with an object. Read it in later steps with {{getPersonalDataLogs.response.data.<field>}}.

dataarray<object>
idstring (uuid)

The unique identifier for the log entry.

store_idstring (uuid)

The unique identifier for the store id.

typestring

The type of the object. Always equal to `personal_data_log_entry`.

initiatorobject5 fields

Specifies who initiated the personal data change.

timestring

Specifies the time when the change happened.

event_typestring

Specifies the type of the event.

deltaobject6 fields

Includes fields that were changed as a result of the event.

resource_idstring

The ID of the data entry that was changed.

resource_typestring

The type of the data entry that was changed.

relationshipsobject1 fields
metaobject
resultsobjectrequired1 fields
pageobjectrequired4 fields
linksobject
currentstring | nullrequired

Always the current page.

firststring | nullrequired

Always the first page.

laststring | nullrequired

Always `null` if there is only one page.

nextstring | nullrequired

Always `null` if there is only one page.

prevstring | nullrequired

Always `null` if the user is on the first page.

json
{
  "data": [
    {
      "id": "faf8c40f-a680-40ae-b7bc-78533bbdd8c3",
      "store_id": "00000000-0000-1000-8000-000000000000",
      "type": "string",
      "initiator": {
        "access-token-email": "accounts@elasticpath.com",
        "access-token-id": 1222341536243516000,
        "access-token-name": "elastic path test team",
        "access-token-store-id": "15ea9633-278c-4807-80f7-2009fed63c7e",
        "access-token-type": "client-credentials-token"
      },
      "time": {},
      "event_type": "user-authentication-info.event.created",
      "delta": {
        "email": "some@eamil.com",
        "id": "00000000-0000-1000-8000-111111111112",
        "name": "some_name",
        "realm_id": "00000000-0000-1000-8000-111111111111",
        "store_id": "00000000-0000-1000-8000-000000000000",
        "type": "user-authentication-info"
      },
      "resource_id": "00000000-0000-1000-8000-111111111112",
      "resource_type": "user-authentication-info",
      "relationships": {
        "resource_path": {
          "url": "http://www.elaticpath.com"
        }
      }
    }
  ],
  "meta": {
    "results": {
      "total": 1
    },
    "page": {
      "limit": 100,
      "offset": 0,
      "current": 1,
      "total": 1
    }
  },
  "links": {
    "current": "string",
    "first": "string",
    "last": "string",
    "next": "string",
    "prev": "string"
  }
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.