Commit 8184aad
Add applied_at and applied_by fields to tag endpoint examples (#360)
* Add applied_at and applied_by fields to tag endpoint examples
Update OpenAPI spec to reflect the VersionedTaggingPresenter changes:
- Change GET /contacts/{id}/tags schema from tag_list to tags
- Add applied_at and applied_by fields to all entity tag endpoint examples
(contacts, conversations, tickets)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Use tag_basic schema for workspace-level tag endpoints
Workspace-level endpoints (GET /tags, POST /tags, GET /tags/{id}) and
embedded company tags use TagResponse, not VersionedTaggingPresenter,
so they don't include applied_at/applied_by fields.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Make applied_at and applied_by nullable in tag schema
DELETE tag endpoints are idempotent - they return 200 OK even when the
tag wasn't applied. In that case, applied_at and applied_by are null.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Revert GET /contacts/{id}/tags envelope to list/data format
The original Intercom PR was reverted and replaced with one that keeps
the existing { type: "list", data: [...] } envelope. Update the example
and schema reference (tags -> tag_list) to match, and use the full tag
schema for tag_list items so applied_at/applied_by are included.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent bb5bcd9 commit 8184aad
1 file changed
+37
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4409 | 4409 | | |
4410 | 4410 | | |
4411 | 4411 | | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
4412 | 4416 | | |
4413 | 4417 | | |
4414 | 4418 | | |
| |||
4470 | 4474 | | |
4471 | 4475 | | |
4472 | 4476 | | |
| 4477 | + | |
| 4478 | + | |
| 4479 | + | |
| 4480 | + | |
4473 | 4481 | | |
4474 | 4482 | | |
4475 | 4483 | | |
| |||
4572 | 4580 | | |
4573 | 4581 | | |
4574 | 4582 | | |
| 4583 | + | |
| 4584 | + | |
| 4585 | + | |
| 4586 | + | |
4575 | 4587 | | |
4576 | 4588 | | |
4577 | 4589 | | |
| |||
5787 | 5799 | | |
5788 | 5800 | | |
5789 | 5801 | | |
| 5802 | + | |
| 5803 | + | |
| 5804 | + | |
| 5805 | + | |
5790 | 5806 | | |
5791 | 5807 | | |
5792 | 5808 | | |
| |||
5886 | 5902 | | |
5887 | 5903 | | |
5888 | 5904 | | |
| 5905 | + | |
| 5906 | + | |
| 5907 | + | |
| 5908 | + | |
5889 | 5909 | | |
5890 | 5910 | | |
5891 | 5911 | | |
| |||
12064 | 12084 | | |
12065 | 12085 | | |
12066 | 12086 | | |
12067 | | - | |
| 12087 | + | |
12068 | 12088 | | |
12069 | 12089 | | |
12070 | 12090 | | |
| |||
12177 | 12197 | | |
12178 | 12198 | | |
12179 | 12199 | | |
12180 | | - | |
| 12200 | + | |
12181 | 12201 | | |
12182 | 12202 | | |
12183 | 12203 | | |
| |||
13451 | 13471 | | |
13452 | 13472 | | |
13453 | 13473 | | |
| 13474 | + | |
| 13475 | + | |
| 13476 | + | |
| 13477 | + | |
13454 | 13478 | | |
13455 | 13479 | | |
13456 | 13480 | | |
| |||
13550 | 13574 | | |
13551 | 13575 | | |
13552 | 13576 | | |
| 13577 | + | |
| 13578 | + | |
| 13579 | + | |
| 13580 | + | |
13553 | 13581 | | |
13554 | 13582 | | |
13555 | 13583 | | |
| |||
16895 | 16923 | | |
16896 | 16924 | | |
16897 | 16925 | | |
16898 | | - | |
16899 | | - | |
| 16926 | + | |
16900 | 16927 | | |
16901 | 16928 | | |
16902 | 16929 | | |
| |||
22397 | 22424 | | |
22398 | 22425 | | |
22399 | 22426 | | |
| 22427 | + | |
22400 | 22428 | | |
22401 | 22429 | | |
22402 | 22430 | | |
22403 | | - | |
| 22431 | + | |
| 22432 | + | |
| 22433 | + | |
| 22434 | + | |
| 22435 | + | |
22404 | 22436 | | |
22405 | 22437 | | |
22406 | 22438 | | |
| |||
0 commit comments