Skip to content

Commit

Permalink
Added references to API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dainiussa committed Oct 22, 2022
1 parent 6ef49b4 commit f3a766d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ definitions:
field_pointer: ["{{ options['name'] }}"]

requester:
# API Docs: https://developers.activecampaign.com/reference/url
url_base: "https://{{ config['account_username'] }}.api-us1.com"
http_method: "GET"
authenticator:
Expand All @@ -27,34 +28,39 @@ definitions:
retriever:
$ref: "*ref(definitions.retriever)"

# API Docs: https://developers.activecampaign.com/reference/list-all-campaigns
campaigns_stream:
$ref: "*ref(definitions.base_stream)"
$options:
name: "campaigns"
primary_key: "id"
path: "/api/3/campaigns"

# API Docs: https://developers.activecampaign.com/reference/list-all-contacts
contacts_stream:
$ref: "*ref(definitions.base_stream)"
$options:
name: "contacts"
primary_key: "id"
path: "/api/3/contacts"

# API Docs: https://developers.activecampaign.com/reference/list-all-deals
deals_stream:
$ref: "*ref(definitions.base_stream)"
$options:
name: "deals"
primary_key: "id"
path: "/api/3/deals"

# API Docs: https://developers.activecampaign.com/reference/retrieve-all-lists
lists_stream:
$ref: "*ref(definitions.base_stream)"
$options:
name: "lists"
primary_key: "id"
path: "/api/3/lists"

# API Docs: https://developers.activecampaign.com/reference/list-all-segments
segments_stream:
$ref: "*ref(definitions.base_stream)"
$options:
Expand Down

0 comments on commit f3a766d

Please sign in to comment.