获得一个页面的详情内容的html代码片段
/rest/gearsapi/1.0/pages/{pageId}/css
get
http://localhost:1990/confluence/rest/gearsapi/1.0/pages/65552/css
@page { size: letter; margin: 0.5in; padding: 1em; @top-left { content: element(header); } @bottom-left { content: element(footer); } } @page title { margin: 0.5in; padding: 1em; @top-left { } @bottom-left { } } p { page-break-inside: avoid; } a { color: #0052cc; text-decoration:none; } a .grey { color: #666; } body { margin: 0; padding: 0; font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; } /* table view for several macros*/ .tableview td { border-color:#CCCCCC; border-style:solid; border-width:0 0 1px; margin:0; padding:4px 10px 4px 5px; text-align:left; } /* built in gallery macro */ div.gallery > table { display: table-cell; } div.gallery > table > tr { display: inline; } div.gallery > table > tr > td { display: inline; } div.gallery > table > tr > th { display: inline; } div.gallery > table > tr:first-child { display: block; } pre { white-space: pre-wrap; } div.panelMacro { page-break-inside: avoid; } /* wraps the section columns underneath each other so they don't run off the page */ table.sectionMacro { display: block; } table.sectionMacro > tbody { display: block; } table.sectionMacro > tbody > tr { display: block; } table.sectionMacro > tbody > tr > td { display: block; } table.sectionMacro > tbody > tr > td { width: 98% } table.sectionMacroWithBorder { display: block; } table.sectionMacroWithBorder>tbody { display: block; } table.sectionMacroWithBorder > tbody > tr { display: block; } table.sectionMacroWithBorder > tbody > tr > td { display: block; } table.sectionMacroWithBorder > tbody > tr > td { /* why 99 you ask? because the right border won't show in the export up if it's 100 */ width: 99% } body.content-preview { background-color: #fff; border: none; } body,li,table,.bodytext,.stepfield { font-size: 10px; color: #000; font-weight: normal; word-wrap: break-word; } table tr td ul { margin-left: -30px; } } |