Skip to content

Commit 8528fa4

Browse files
sametozcanclaude
andcommitted
docs: Add missing error responses (401, 422) to folder endpoints
Add 401 Unauthorized to Create, Retrieve, Update, Delete folder endpoints. Add 422 Validation error to Update folder endpoint. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e00a597 commit 8528fa4

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

descriptions/0/api.intercom.io.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2778,6 +2778,12 @@ paths:
27782778
updated_at: 1672928359
27792779
schema:
27802780
"$ref": "#/components/schemas/folder"
2781+
'401':
2782+
description: Unauthorized
2783+
content:
2784+
application/json:
2785+
schema:
2786+
"$ref": "#/components/schemas/error"
27812787
'422':
27822788
description: Validation error
27832789
content:
@@ -2819,6 +2825,12 @@ paths:
28192825
updated_at: 1672928610
28202826
schema:
28212827
"$ref": "#/components/schemas/folder"
2828+
'401':
2829+
description: Unauthorized
2830+
content:
2831+
application/json:
2832+
schema:
2833+
"$ref": "#/components/schemas/error"
28222834
'404':
28232835
description: Folder not found
28242836
content:
@@ -2891,12 +2903,24 @@ paths:
28912903
updated_at: 1672928900
28922904
schema:
28932905
"$ref": "#/components/schemas/folder"
2906+
'401':
2907+
description: Unauthorized
2908+
content:
2909+
application/json:
2910+
schema:
2911+
"$ref": "#/components/schemas/error"
28942912
'404':
28952913
description: Folder not found
28962914
content:
28972915
application/json:
28982916
schema:
28992917
"$ref": "#/components/schemas/error"
2918+
'422':
2919+
description: Validation error
2920+
content:
2921+
application/json:
2922+
schema:
2923+
"$ref": "#/components/schemas/error"
29002924
delete:
29012925
summary: Delete a folder
29022926
parameters:
@@ -2926,6 +2950,12 @@ paths:
29262950
deleted: true
29272951
schema:
29282952
"$ref": "#/components/schemas/deleted_folder_object"
2953+
'401':
2954+
description: Unauthorized
2955+
content:
2956+
application/json:
2957+
schema:
2958+
"$ref": "#/components/schemas/error"
29292959
'404':
29302960
description: Folder not found
29312961
content:

0 commit comments

Comments
 (0)