Skip to content

Commit 5245126

Browse files
committed
Address review: remove state_version param (not GA), consolidate changelog
1 parent 94a7721 commit 5245126

File tree

2 files changed

+3
-30
lines changed

2 files changed

+3
-30
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10245,23 +10245,13 @@ paths:
1024510245
required: true
1024610246
schema:
1024710247
type: string
10248-
- name: state_version
10249-
in: query
10250-
required: false
10251-
description: Return the `live` (default) or `draft` version of the connector.
10252-
schema:
10253-
type: string
10254-
enum:
10255-
- live
10256-
- draft
10257-
example: live
1025810248
tags:
1025910249
- Data Connectors
1026010250
operationId: RetrieveDataConnector
1026110251
description: |
1026210252
You can retrieve the full detail of a single data connector by its ID.
1026310253

10264-
The response includes configuration, data inputs, response fields, and object mappings. Pass `state_version=draft` to retrieve the unpublished draft version.
10254+
The response includes configuration, data inputs, response fields, and object mappings.
1026510255
responses:
1026610256
'200':
1026710257
description: Data connector found
@@ -10308,20 +10298,6 @@ paths:
1030810298
execution_results_url: "/data_connectors/12345/execution_results"
1030910299
schema:
1031010300
"$ref": "#/components/schemas/data_connector_detail"
10311-
'400':
10312-
description: Invalid state_version parameter
10313-
content:
10314-
application/json:
10315-
examples:
10316-
Invalid state_version:
10317-
value:
10318-
type: error.list
10319-
request_id: a1b2c3d4-1234-5678-abcd-ef0123456789
10320-
errors:
10321-
- code: invalid_parameter
10322-
message: "Invalid state_version. Must be one of: live, draft"
10323-
schema:
10324-
"$ref": "#/components/schemas/error"
1032510301
'404':
1032610302
description: Data connector not found
1032710303
content:

descriptions/0/changelog.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
## `GET /data_connectors/{id}` schema corrected
2-
Fixed response schema for the data connector show endpoint to use `present_detail` fields: added `data_inputs`, `response_fields`, `object_mappings`, `audiences`, `execution_type`, `token_ids`, `customer_authentication`, `bypass_authentication`, and `validate_missing_attributes`. Also added optional `state_version` query parameter (`live`/`draft`). Introduced `data_connector_detail` schema.
3-
4-
## `GET /data_connectors/{id}` added
5-
Added missing show endpoint for retrieving a single data connector by ID.
1+
## Data Connectors: `GET /data_connectors/{id}`
2+
Added endpoint for retrieving a single data connector by ID with full detail including `data_inputs`, `response_fields`, `object_mappings`, and `audiences`. Introduced `data_connector_detail` schema.
63

74
## `GET /messages/whatsapp/status` added
85
Added missing endpoint for checking WhatsApp message delivery status.

0 commit comments

Comments
 (0)