Skip to content

[Confluence] get_attachment_history and delete_attachment_by_id fail on cloud #1139

@francoll

Description

@francoll

get_attachment_history and delete_attachment_by_id are referencing rest/experimental/content, which is not valid on Confluence cloud API.
The same workaround should be applied as what is found in get_content_history_by_version_number and remove_content_history:

if self.cloud:
<rest/api/content>
else:
<rest/experimental/content>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions