This article shows an example of an API connection in Python. We provide additional and more in-depth information on https://mopinion-python-api.readthedocs.io/en/latest/.
Code
In the below code replace the following with your own credentials.
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957 |
---|
showSpace | false |
---|
sort | modified |
---|
typeshowSpace | pagefalse |
---|
reverse | true |
---|
labelstype | APIpage |
---|
cql | label = "api" and type = "page" and space = "KB" |
---|
labels | API |
---|
|