Skip to content

Commit 22e9b20

Browse files
committed
Add audience targeting fields to Content Import Source Preview spec
Add audience_id and apply_audience_to_existing_content fields to the Preview OpenAPI spec (descriptions/0/) for Content Import Sources, per intercom/intercom#497303. Changes: - content_import_source response schema: add audience_id (nullable integer) - create_content_import_source_request: add optional audience_id - update_content_import_source_request: add optional audience_id and apply_audience_to_existing_content (boolean, default false) - All inline response examples updated with audience_id: null
1 parent 222954d commit 22e9b20

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

descriptions/0/api.intercom.io.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ paths:
642642
sync_behavior: automatic
643643
created_at: 1734537259
644644
updated_at: 1734537259
645+
audience_id: null
645646
- id: 34
646647
type: content_import_source
647648
last_synced_at: 1734537259
@@ -650,6 +651,7 @@ paths:
650651
sync_behavior: automatic
651652
created_at: 1734537259
652653
updated_at: 1734537259
654+
audience_id: null
653655
- id: 35
654656
type: content_import_source
655657
last_synced_at: 1734537259
@@ -658,6 +660,7 @@ paths:
658660
sync_behavior: automatic
659661
created_at: 1734537259
660662
updated_at: 1734537259
663+
audience_id: null
661664
pages:
662665
type: pages
663666
page: 1
@@ -709,6 +712,7 @@ paths:
709712
sync_behavior: api
710713
created_at: 1734537261
711714
updated_at: 1734537261
715+
audience_id: null
712716
schema:
713717
"$ref": "#/components/schemas/content_import_source"
714718
'401':
@@ -801,6 +805,7 @@ paths:
801805
sync_behavior: api
802806
created_at: 1734537265
803807
updated_at: 1734537265
808+
audience_id: null
804809
schema:
805810
"$ref": "#/components/schemas/content_import_source"
806811
'401':
@@ -844,6 +849,7 @@ paths:
844849
sync_behavior: api
845850
created_at: 1734537267
846851
updated_at: 1734537267
852+
audience_id: null
847853
schema:
848854
"$ref": "#/components/schemas/content_import_source"
849855
'401':
@@ -20957,6 +20963,11 @@ components:
2095720963
format: date-time
2095820964
description: The time when the content import source was last updated.
2095920965
example: 1672928610
20966+
audience_id:
20967+
type: integer
20968+
nullable: true
20969+
description: The unique identifier for the audience associated with this content import source.
20970+
example: 5678
2096020971
required:
2096120972
- id
2096220973
- type
@@ -22287,6 +22298,11 @@ components:
2228722298
type: string
2228822299
description: The URL of the content import source.
2228922300
example: https://help.example.com
22301+
audience_id:
22302+
type: integer
22303+
nullable: true
22304+
description: The unique identifier for the audience to associate with this content import source.
22305+
example: 5678
2229022306
required:
2229122307
- sync_behavior
2229222308
- url
@@ -28395,6 +28411,16 @@ components:
2839528411
description: The URL of the content import source. This may only be different
2839628412
from the existing value if the sync behavior is API.
2839728413
example: https://help.example.com
28414+
audience_id:
28415+
type: integer
28416+
nullable: true
28417+
description: The unique identifier for the audience to associate with this content import source. Set to null to remove the audience.
28418+
example: 5678
28419+
apply_audience_to_existing_content:
28420+
type: boolean
28421+
description: When true, the audience will be applied to all existing external pages belonging to this content import source.
28422+
default: false
28423+
example: false
2839828424
required:
2839928425
- sync_behavior
2840028426
- url

0 commit comments

Comments
 (0)