Preload more data in getList
Cette révision appartient à :
Parent
8901634790
révision
100568bfbb
@ -82,7 +82,9 @@ class Api
|
||||
*/
|
||||
public function getList($rootPage)
|
||||
{
|
||||
$url = "content/$rootPage/child/page?expand=version";
|
||||
//We do a limit of 15 as it appears that confluence has
|
||||
//a bug when retrieving more than 20 entries with "body.storage"
|
||||
$url = "content/$rootPage/child/page?expand=version,body.storage&limit=15";
|
||||
|
||||
$pages = [];
|
||||
|
||||
@ -98,6 +100,7 @@ class Api
|
||||
"id" => $result['id'],
|
||||
"title" => $result['title'],
|
||||
"version" => $result['version']['number'],
|
||||
"content" => $result['body']['storage']['value'],
|
||||
];
|
||||
}
|
||||
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user