Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

A question about export page word by rest api.

Ronaldo Huang
Contributor
November 16, 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

1 answer

0 votes
Ronaldo Huang
Contributor
November 18, 2020

Anybody?

Suggest an answer

Log in or Sign up to answer