forked from Skarlso/confluence-go-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
33 lines (27 loc) · 773 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
Package goconfluence implementing atlassian's Confluence API
Simple example:
//Initialize a new API instance
api, err := goconfluence.NewAPI(
"https://<your-domain>.atlassian.net/wiki/rest/api",
"<username>",
"<api-token>",
)
if err != nil {
log.Fatal(err)
}
// get current user information
currentUser, err := api.CurrentUser()
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", currentUser)
supported features:
- get user information
- create, update, delete content
- get comments, attachments, history, watchers and children of content objects
- get, add, delete labels
- search using CQL
see https://github.com/arangodb-managed/confluence-go-api/tree/master/examples for more information and usage examples
*/
package goconfluence