Skip to content

Fix bulk update_tags tag IDs to type string (follow-up to #554)#555

Open
kilian-tennyson wants to merge 1 commit into
mainfrom
kiliantennyson/parthas/fix-554-tag-id-string
Open

Fix bulk update_tags tag IDs to type string (follow-up to #554)#555
kilian-tennyson wants to merge 1 commit into
mainfrom
kiliantennyson/parthas/fix-554-tag-id-string

Conversation

@kilian-tennyson

Copy link
Copy Markdown
Contributor

Why?

In the public API, tag IDs are strings — the tag schema documents id as type: string (example '123456'), and every content id in POST /content/bulk_actions is a quoted string. PR #554 documented the update_tags action's add_tag_ids / remove_tag_ids as type: integer with unquoted examples, which is inconsistent with the rest of the API and produces integer-typed array fields in generated SDKs. The endpoint accepts both string and integer ids, so this is a documentation-consistency fix with no runtime change.

How?

Types add_tag_ids / remove_tag_ids items as string and quotes their examples, in both the content_bulk_action_request schema and the update_tags request example.

Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant