Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added confluence template api #320

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

Fank
Copy link
Collaborator

@Fank Fank commented Sep 18, 2024

This pull request adds support for template operations in the Confluence API client. The main changes include the addition of a new TemplateService with methods to create, update, and retrieve templates, as well as the necessary data models and tests.

New Template Service:

  • Added TemplateService to the Client struct in confluence/api_client_impl.go to support template operations. ([1], [2])
  • Implemented TemplateService with methods Create, Update, and Get in confluence/internal/template_impl.go. (confluence/internal/template_impl.goR1-R110)

Data Models:

Interface:

Tests:

This is a partial implementation, I only implemented the function I currently use.

@Fank Fank self-assigned this Sep 18, 2024
confluence/internal/template_impl.go Dismissed Show dismissed Hide dismissed
pkg/infra/models/confluence_template.go Dismissed Show dismissed Hide dismissed
pkg/infra/models/confluence_template.go Fixed Show fixed Hide fixed
pkg/infra/models/confluence_template.go Fixed Show fixed Hide fixed
pkg/infra/models/confluence_template.go Fixed Show fixed Hide fixed
service/confluence/template.go Dismissed Show dismissed Hide dismissed
service/confluence/template.go Fixed Show fixed Hide fixed
@Fank Fank added enhancement New feature or request Confluence labels Sep 19, 2024
Took 2 hours 39 minutes
Took 4 minutes
@ctreminiom
Copy link
Owner

Hi @Fank, sorry for the delayed response. I just tested and it works, thanks!!.

I created the official documentation: https://docs.go-atlassian.io/confluence-cloud/template. Can you please link the official documentation on the server/implementation method comments?.

@Fank
Copy link
Collaborator Author

Fank commented Oct 13, 2024

Will add it

@Fank
Copy link
Collaborator Author

Fank commented Nov 8, 2024

@ctreminiom sorry for delay, updated URLs and updated code to latest master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confluence enhancement New feature or request
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants