N
N
Nikolay Baranenko2017-11-16 01:11:30
Python
Nikolay Baranenko, 2017-11-16 01:11:30

How to get page context using atlassian-python-api?

Hello.
You need to get the context of the confluence page
using the module - atlassian-python-api
https://github.com/AstroTech/atlassian-python-api
there is a code example on how to create a new page

from atlassian import Confluence

confluence = Confluence(
    url='http://localhost:8090',
    username='admin',
    password='admin')

status = confluence.create_page(
    space='DEMO',
    title='This is the title',
    body='This is the body. You can use <strong>HTML tags</strong>!')

print(status)

I can't figure out how to get the page context value.
Please help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gonchik Tsymzhitov, 2018-08-22
@gonchik

Hey!
Here is an example!
https://github.com/AstroMatt/atlassian-python-api/...
If you have any questions write to github :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question