ctreminiom / go-atlassian

✨ Golang Client Library for Atlassian Cloud.
https://docs.go-atlassian.io
MIT License
123 stars 34 forks source link

Add ParentID as an option to Conf Page Create #211

Open squatched opened 1 year ago

squatched commented 1 year ago

Fixes #210 by adding ParentID to create page request.

See https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-post where parentId is an option for the request.

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.25%. Comparing base (810da40) to head (588a6fc).

:exclamation: Current head 588a6fc differs from pull request most recent head 7547470. Consider uploading reports for the commit 7547470 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #211 +/- ## ========================================== + Coverage 89.19% 89.25% +0.05% ========================================== Files 154 148 -6 Lines 12044 11626 -418 ========================================== - Hits 10743 10377 -366 + Misses 659 632 -27 + Partials 642 617 -25 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

squatched commented 1 year ago

Documentation PR: https://github.com/ctreminiom/go-atlassian-docs/pull/2

ctreminiom commented 1 year ago

closing pr due inactivity

squatched commented 1 year ago

I'm sorry but what activity was needed? I don't see any feedback here and I've been using a custom build of go-atlassian using this PR for weeks now without issue. Is there something that needs to change?

squatched commented 8 months ago

What needs to be done to get this merged? Anything I can help with?

squatched commented 5 months ago

I'm not sure why this received the "breaking-change" label (I VAGUELY recall some comment somewhere with that term but I don't remember where it is and I just re-examined these changes and I don't see how adding a field to the PageCreatePayloadScheme struct that is labeled omitempty could be considered a breaking change as any existing declarations of the struct with it omitted will simply initialize to empty string and then that won't get passed to the API so default behavior is achieved). Could this get merged any time soon?