Commit 7aaaa99
authored
Document audience targeting fields on Content Import Sources (Preview) (#464)
* 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
* Fix audience targeting fields: audience_id -> audience_ids (array)
Update Preview spec to match updated PR intercom/intercom#497303:
- Rename audience_id to audience_ids throughout
- Response schema: type is now array of integers (always returns [])
- Request schemas: accept single integer or array via oneOf (nullable)
- All inline examples updated to audience_ids: []1 parent b12eb71 commit 7aaaa99
1 file changed
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
| |||
650 | 651 | | |
651 | 652 | | |
652 | 653 | | |
| 654 | + | |
653 | 655 | | |
654 | 656 | | |
655 | 657 | | |
| |||
658 | 660 | | |
659 | 661 | | |
660 | 662 | | |
| 663 | + | |
661 | 664 | | |
662 | 665 | | |
663 | 666 | | |
| |||
709 | 712 | | |
710 | 713 | | |
711 | 714 | | |
| 715 | + | |
712 | 716 | | |
713 | 717 | | |
714 | 718 | | |
| |||
801 | 805 | | |
802 | 806 | | |
803 | 807 | | |
| 808 | + | |
804 | 809 | | |
805 | 810 | | |
806 | 811 | | |
| |||
844 | 849 | | |
845 | 850 | | |
846 | 851 | | |
| 852 | + | |
847 | 853 | | |
848 | 854 | | |
849 | 855 | | |
| |||
20952 | 20958 | | |
20953 | 20959 | | |
20954 | 20960 | | |
| 20961 | + | |
| 20962 | + | |
| 20963 | + | |
| 20964 | + | |
| 20965 | + | |
| 20966 | + | |
| 20967 | + | |
20955 | 20968 | | |
20956 | 20969 | | |
20957 | 20970 | | |
| |||
22275 | 22288 | | |
22276 | 22289 | | |
22277 | 22290 | | |
| 22291 | + | |
| 22292 | + | |
| 22293 | + | |
| 22294 | + | |
| 22295 | + | |
| 22296 | + | |
| 22297 | + | |
| 22298 | + | |
| 22299 | + | |
| 22300 | + | |
22278 | 22301 | | |
22279 | 22302 | | |
22280 | 22303 | | |
| |||
28380 | 28403 | | |
28381 | 28404 | | |
28382 | 28405 | | |
| 28406 | + | |
| 28407 | + | |
| 28408 | + | |
| 28409 | + | |
| 28410 | + | |
| 28411 | + | |
| 28412 | + | |
| 28413 | + | |
| 28414 | + | |
| 28415 | + | |
| 28416 | + | |
| 28417 | + | |
| 28418 | + | |
| 28419 | + | |
| 28420 | + | |
28383 | 28421 | | |
28384 | 28422 | | |
28385 | 28423 | | |
| |||
0 commit comments