Skip to content

Commit fd8cf31

Browse files
jorgeintercomclaude
andcommitted
Address PR review: add global tag, required fields, error schemas
- Add Content Snippets to global tags section for docs navigation - Mark title and json_blocks as required in create request schema - Add $ref to error schema on all 404 and 422 responses Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 325310e commit fd8cf31

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6448,6 +6448,8 @@ paths:
64486448
errors:
64496449
- code: validation_error
64506450
message: The language is not currently supported for Fin
6451+
schema:
6452+
"$ref": "#/components/schemas/error"
64516453
"/content_snippets/{id}":
64526454
get:
64536455
summary: Retrieve a content snippet
@@ -6499,6 +6501,8 @@ paths:
64996501
errors:
65006502
- code: not_found
65016503
message: Content snippet not found
6504+
schema:
6505+
"$ref": "#/components/schemas/error"
65026506
put:
65036507
summary: Update a content snippet
65046508
parameters:
@@ -6562,6 +6566,8 @@ paths:
65626566
errors:
65636567
- code: not_found
65646568
message: Content snippet not found
6569+
schema:
6570+
"$ref": "#/components/schemas/error"
65656571
'422':
65666572
description: Validation error
65676573
content:
@@ -6573,6 +6579,8 @@ paths:
65736579
errors:
65746580
- code: validation_error
65756581
message: The language is not currently supported for Fin
6582+
schema:
6583+
"$ref": "#/components/schemas/error"
65766584
"/conversations/{conversation_id}/tags":
65776585
post:
65786586
summary: Add tag to a conversation
@@ -20682,6 +20690,9 @@ components:
2068220690
type: object
2068320691
description: The request payload for creating or updating a content snippet.
2068420692
nullable: false
20693+
required:
20694+
- title
20695+
- json_blocks
2068520696
properties:
2068620697
title:
2068720698
type: string
@@ -28362,6 +28373,8 @@ tags:
2836228373
description: Everything about your Companies
2836328374
- name: Contacts
2836428375
description: Everything about your contacts
28376+
- name: Content Snippets
28377+
description: Everything about your Content Snippets
2836528378
- name: Conversations
2836628379
description: Everything about your Conversations
2836728380
externalDocs:

0 commit comments

Comments
 (0)