v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Content

Convert content ids to content types

Converts a list of content ids into their associated content types. This is useful for users migrating from v1 to v2 who may have stored just content ids without their associated type. This will return types as they should be used in v2. Notably, this will return inline-comment for inline comments and footer-comment for footer comments, which is distinct from them both being represented by comment in v1.

Permissions required: Permission to view the requested content. Any content that the user does not have permission to view or does not exist will map to null in the response.

post/content/convert-ids-to-types

Request body

Response

Returned if the requested content ids are successfully converted to their content types

resultsobject

JSON object containing all requested content ids as keys and their associated content types as the values. Duplicate content ids in the request will be returned under a single key in the response. For built-in content types, the enumerations are as specified. Custom content ids will be mapped to their associated type.