When did the shape of the "attachment_*" webhooks payload change in Confluence Cloud?

tl;dr: Update: This didn’t happen, I messed up. :person_facepalming:

Does anyone know when the attachment_* webhooks in Confluence Cloud changed format from:

{
  attachments: [
    {
      id: 2584018945,
      ...
    }
  ],
  parent: {
    id: 21954622,
    ...
  },
  ...
}

to:
{

  attachments: [
    {
      id: 2584018945,
      ...
    }
  ],
  attachedTo: {
    id: 21954622,
    ...
  },
  ...
}

?

Was there an RFC or similar?

1 Like

Hi @david,

There haven’t been any changes related to attachedTo field since at least 2015, potentially never. It doesn’t seem we ever used parent field for attachments, only for comments where it contains data about a page containing the comment.

May I ask what made you think there was a change and how did you notice it?

Thanks!

1 Like

Hey @RomanToropov,

Firstly, thanks for confirming this. This is where I have to apologise. I’m sorry to say it seems that I’ve made a massive mistake and wasted your time here. I retract it all. I’ve pointed the finger at Atlassian, when the problem was very much closer to home. :person_facepalming:

I will delete the above post at some point later so as not to continue the false information.

Cheers

1 Like

No worries at all. Happy to help!