A question about export page word by rest api.

Ronaldo Huang November 18, 2020

When I call the rest api POST 'http://mydomain/plugins/servlet/scroll-office/api/public/1/exports' 

request body:

{
"pageId":"67415595",
"scope":"current",
"templateId":"com.k15t.scroll.office.default-template-1"
}

but the response is 

{
"status": 403,
"message": "User not allowed to export because of export restrictions on either space or groups."
}

The space is created by me.

If the restriction is group,how can I know which group can export by rest api?

 

And I also call the rest api GET http://mydomain/plugins/servlet/scroll-office/api/public/1/export-sync?templateId=com.k15t.scroll.office.default-template-1&pageId=67415595

But the response downloaded word has error codes. just like the following:

PKPKPKPKPK

3�5j5�ofԎ�`�ݝ����l�����M1��s �2

 

  • I can export the content using the user interface.

  • I have sent Authorization request header of my POST request.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events