https://linen.dev logo
#plugins-general
Title
# plugins-general
j

joanna

11/14/2023, 3:23 PM
Thank you! This actually works perfectly for me! I have last question, I need a nested endpoint to fetch data based on previous endpoint result. Do you know how to parametrize my meltano.yml file? precisely AAA
Copy code
path1: path: /exp
path2: path: /exp/AAAAAA/sec
Copy code
version: 1
default_environment: prod
project_id: XXX
environments:
- name: dev
- name: staging
- name: prod
plugins:
  extractors:
  - name: tap-rest-api-msdk
    variant: widen
    pip_url: tap-rest-api-msdk
    config:
      api_url: <https://company.restapi.com/api/v1>
      streams:
      - name: elab_exp
        path: /exp
        headers:
          Authorization: XXX
        primary_keys:
        - expID
        records_path: $.data[*]
        params:
          projectID: 00

      - name: elab_sec
        path: /exp/AAAAAA/sec
        headers:
          Authorization: XXX
        primary_keys:
          - sectID
        records_path: $.data[*]
        params:
          projectID: 00