Skip to content

Commit

Permalink
Updating to match updated spec
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed May 2, 2023
1 parent 258bfdb commit a32db94
Show file tree
Hide file tree
Showing 4 changed files with 558 additions and 227 deletions.
64 changes: 44 additions & 20 deletions data/saas/config/amplitude_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ saas_config:
protocol: https
host: <domain>
authentication:
strategy: basic
configuration:
username: <api_key>
password: <secret_key>
strategy: basic
configuration:
username: <api_key>
password: <secret_key>

test_request:
method: GET
Expand All @@ -28,40 +28,64 @@ saas_config:
value: [email protected]

endpoints:
- name: user_activity
- name: user
requests:
read:
method: GET
path: /api/2/useractivity
path: /api/2/usersearch
query_params:
- name: user
value: <user_matches_amplitude_id>
value: <email>
param_values:
- name: user_matches_amplitude_id
references:
- dataset: <instance_fides_key>
field: user.matches.amplitude_id
direction: from
- name: email
identity: email
data_path: matches
delete:
method: POST
path: /api/2/deletions/users
body: |
{
"user_ids": [
"<email>"
]
"user_ids": ["<email>"]
}
param_values:
- name: email
identity: email
- name: user
- name: user_details
requests:
read:
method: GET
path: /api/2/usersearch
path: /api/2/useractivity
query_params:
- name: user
value: <email>
value: <amplitude_id>
- name: offset
value: 0
param_values:
- name: email
identity: email
- name: amplitude_id
references:
- dataset: <instance_fides_key>
field: user.amplitude_id
direction: from
data_path: userData
- name: events
requests:
read:
method: GET
path: /api/2/useractivity
query_params:
- name: user
value: <amplitude_id>
- name: offset
value: 0
param_values:
- name: amplitude_id
references:
- dataset: <instance_fides_key>
field: user.amplitude_id
direction: from
data_path: events
pagination:
strategy: offset
configuration:
incremental_param: offset
increment_by: 1000
Loading

0 comments on commit a32db94

Please sign in to comment.