{"id":20306541,"url":"https://github.com/virtomize/confluence-go-api","last_synced_at":"2025-04-12T15:38:28.437Z","repository":{"id":38422376,"uuid":"137463814","full_name":"Virtomize/confluence-go-api","owner":"Virtomize","description":"Rest api implementation in golang of atlassian's confluence wiki","archived":false,"fork":false,"pushed_at":"2024-11-20T07:52:15.000Z","size":130,"stargazers_count":135,"open_issues_count":8,"forks_count":59,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T09:04:10.121Z","etag":null,"topics":["api-client","client-library","confluence","golang","golang-library"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Virtomize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T08:46:46.000Z","updated_at":"2025-03-10T08:03:03.000Z","dependencies_parsed_at":"2024-06-18T15:19:20.705Z","dependency_job_id":"2ecb26f0-dab5-4e9f-b455-6fa7bff2adee","html_url":"https://github.com/Virtomize/confluence-go-api","commit_stats":null,"previous_names":["cseeger-epages/confluence-go-api"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtomize%2Fconfluence-go-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtomize%2Fconfluence-go-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtomize%2Fconfluence-go-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Virtomize%2Fconfluence-go-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Virtomize","download_url":"https://codeload.github.com/Virtomize/confluence-go-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590598,"owners_count":21129857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","client-library","confluence","golang","golang-library"],"created_at":"2024-11-14T17:13:50.595Z","updated_at":"2025-04-12T15:38:28.406Z","avatar_url":"https://github.com/Virtomize.png","language":"Go","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=VBXHBYFU44T5W\u0026source=url"],"categories":[],"sub_categories":[],"readme":"# confluence-go-api\n\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=VBXHBYFU44T5W\u0026source=url)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-green.svg)](https://godoc.org/github.com/virtomize/confluence-go-api)\n[![Go Report Card](https://goreportcard.com/badge/github.com/virtomize/confluence-go-api)](https://goreportcard.com/report/github.com/virtomize/confluence-go-api)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/virtomize/confluence-go-api/blob/master/LICENSE)\n[![Built with Mage](https://magefile.org/badge.svg)](https://magefile.org)\n\n\nis a [Confluence](https://www.atlassian.com/software/confluence) REST API client implementation written in [GOLANG](https://golang.org).\n\n## Supported Features\n\n- get, update, delete content\n- get, update, delete content templates and blueprints\n- get comments, attachments, children of content objects, history, watchers\n- get, add ,delete labels\n- get user information\n- search using [CQL](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/)\n\nIf you miss some feature implementation, feel free to open an issue or send pull requests. I will take look as soon as possible.\n\n## Donation\nIf this project helps you, feel free to give us a cup of coffee :).\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=VBXHBYFU44T5W\u0026source=url)\n\n## Installation\n\nIf you already installed GO on your system and configured it properly than its simply:\n\n```\ngo get github.com/virtomize/confluence-go-api\n```\n\nIf not follow [these instructions](https://golang.org/doc/install)\n\n## Usage\n\n### Simple example\n\n```\npackage main\n\nimport (\n  \"fmt\"\n  \"log\"\n\n  \"github.com/virtomize/confluence-go-api\"\n)\n\nfunc main() {\n\n  // initialize a new api instance\n  api, err := goconfluence.NewAPI(\"https://\u003cyour-domain\u003e.atlassian.net/wiki/rest/api\", \"\u003cusername\u003e\", \"\u003capi-token\u003e\")\n  if err != nil {\n    log.Fatal(err)\n  }\n\n  // get current user information\n  currentUser, err := api.CurrentUser()\n  if err != nil {\n    log.Fatal(err)\n  }\n  fmt.Printf(\"%+v\\n\", currentUser)\n}\n```\n\n\n### Using a Personal Access Token\n\nTo generate a confluence personal access token (PAT) see this article: [using personal access tokens](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html). Only set the token in the NewAPI function\n\n```\n  api, err := goconfluence.NewAPI(\"https://\u003cyour-domain\u003e.atlassian.net/wiki/rest/api\", \"\", \"\u003cpersonal-access-token\u003e\")\n```\n\n### Advanced examples\n\nsee [examples](https://github.com/virtomize/confluence-go-api/tree/master/examples) for some more usage examples\n\n## Code Documentation\n\nYou find the full [code documentation here](https://godoc.org/github.com/virtomize/confluence-go-api).\n\nThe Confluence API documentation [can be found here](https://docs.atlassian.com/ConfluenceServer/rest/6.9.1/).\n\n## Contribution\n\nThank you for participating to this project.\nPlease see our [Contribution Guidlines](https://github.com/virtomize/confluence-go-api/blob/master/CONTRIBUTING.md) for more information.\n\n### Pre-Commit\n\nThis repo uses [pre-commit hooks](https://pre-commit.com/). Please install pre-commit and do `pre-commit install`\n\n### Conventional Commits\n\nFormat commit messaged according to [Conventional Commits standard](https://www.conventionalcommits.org/en/v1.0.0/).\n\n### Semantic Versioning\n\nWhenever you need to version something make use of [Semantic Versioning](https://semver.org).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtomize%2Fconfluence-go-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtomize%2Fconfluence-go-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtomize%2Fconfluence-go-api/lists"}