Feed of "bookstack/api-scripts" https://codeberg.org/bookstack/api-scripts Examples of BookStack API scripts Thu, 05 Feb 2026 16:00:56 +0100 danb pushed to main at bookstack/api-scripts /bookstack/api-scripts/compare/8c53c61b7b26ed026a3b2a8778680ec79a58048e...dd2ac3e266d10f6560d55617ff923f8ec0ae2380 <a href="https://codeberg.org/bookstack/api-scripts/commit/dd2ac3e266d10f6560d55617ff923f8ec0ae2380">dd2ac3e266d10f6560d55617ff923f8ec0ae2380</a> Merge pull request &#39;Add bookstack-sdk-php to community project&#39; (#23) from guiziweb/api-scripts:guiziweb-patch-1 into main <a href="https://codeberg.org/bookstack/api-scripts/commit/1b1c007b8ea59ae11c6782fe3ae978f6f0f050c4">1b1c007b8ea59ae11c6782fe3ae978f6f0f050c4</a> Actualiser README.md dd2ac3e266d10f6560d55617ff923f8ec0ae2380 Merge pull request 'Add bookstack-sdk-php to community project' (#23) from guiziweb/api-scripts:guiziweb-patch-1 into main 1b1c007b8ea59ae11c6782fe3ae978f6f0f050c4 Actualiser README.md]]> danb 67796504: /bookstack/api-scripts/compare/8c53c61b7b26ed026a3b2a8778680ec79a58048e...dd2ac3e266d10f6560d55617ff923f8ec0ae2380 Fri, 24 Oct 2025 14:33:44 +0200 danb merged pull request bookstack/api-scripts#23 https://codeberg.org/bookstack/api-scripts/pulls/23 Add bookstack-sdk-php to community project danb 67796495: https://codeberg.org/bookstack/api-scripts/pulls/23 Fri, 24 Oct 2025 14:33:44 +0200 danb commented on pull request bookstack/api-scripts#23 https://codeberg.org/bookstack/api-scripts/pulls/23#issuecomment-7882391 Add bookstack-sdk-php to community project <p dir="auto">Awesome, thanks <a href="/guiziweb" class="mention" rel="nofollow">@guiziweb</a>!</p> Awesome, thanks @guiziweb! ]]> danb 67796486: https://codeberg.org/bookstack/api-scripts/pulls/23#issuecomment-7882391 Fri, 24 Oct 2025 14:33:39 +0200 guiziweb created pull request bookstack/api-scripts#23 https://codeberg.org/bookstack/api-scripts/pulls/23 23#Add bookstack-sdk-php to community project# Add PHP SDK for the BookStack API. ]]> guiziweb 67715303: https://codeberg.org/bookstack/api-scripts/pulls/23 Fri, 24 Oct 2025 07:45:17 +0200 danb pushed to main at bookstack/api-scripts https://codeberg.org/bookstack/api-scripts/commit/8c53c61b7b26ed026a3b2a8778680ec79a58048e <a href="https://codeberg.org/bookstack/api-scripts/commit/8c53c61b7b26ed026a3b2a8778680ec79a58048e">8c53c61b7b26ed026a3b2a8778680ec79a58048e</a> Update README.md 8c53c61b7b26ed026a3b2a8778680ec79a58048e Update README.md]]> danb 44856230: https://codeberg.org/bookstack/api-scripts/commit/8c53c61b7b26ed026a3b2a8778680ec79a58048e Mon, 07 Jul 2025 14:18:46 +0200 danb pushed to main at bookstack/api-scripts /bookstack/api-scripts/compare/97f2da1f5605b8c32d15ad4857764ed737730bfd...cc7ed78be528948c34d63e4accc41fd10203a757 <a href="https://codeberg.org/bookstack/api-scripts/commit/cc7ed78be528948c34d63e4accc41fd10203a757">cc7ed78be528948c34d63e4accc41fd10203a757</a> Merge pull request &#39;MCP server contrib&#39; (#22) from pnocera/api-scripts:main into main <a href="https://codeberg.org/bookstack/api-scripts/commit/cf305628428e4677711f73507414373335a643a0">cf305628428e4677711f73507414373335a643a0</a> MCP server contrib cc7ed78be528948c34d63e4accc41fd10203a757 Merge pull request 'MCP server contrib' (#22) from pnocera/api-scripts:main into main cf305628428e4677711f73507414373335a643a0 MCP server contrib]]> danb 44855876: /bookstack/api-scripts/compare/97f2da1f5605b8c32d15ad4857764ed737730bfd...cc7ed78be528948c34d63e4accc41fd10203a757 Mon, 07 Jul 2025 14:17:38 +0200 danb merged pull request bookstack/api-scripts#22 https://codeberg.org/bookstack/api-scripts/pulls/22 MCP server contrib danb 44855867: https://codeberg.org/bookstack/api-scripts/pulls/22 Mon, 07 Jul 2025 14:17:37 +0200 danb commented on pull request bookstack/api-scripts#22 https://codeberg.org/bookstack/api-scripts/pulls/22#issuecomment-5744276 MCP server contrib <p dir="auto">Thanks <a href="/pnocera" class="mention" rel="nofollow">@pnocera</a>!</p> Thanks @pnocera! ]]> danb 44855858: https://codeberg.org/bookstack/api-scripts/pulls/22#issuecomment-5744276 Mon, 07 Jul 2025 14:17:29 +0200 pnocera created pull request bookstack/api-scripts#22 https://codeberg.org/bookstack/api-scripts/pulls/22 22#WIP: MCP server contrib# pnocera 44277593: https://codeberg.org/bookstack/api-scripts/pulls/22 Fri, 04 Jul 2025 18:11:37 +0200 danb pushed to main at bookstack/api-scripts https://codeberg.org/bookstack/api-scripts/commit/97f2da1f5605b8c32d15ad4857764ed737730bfd <a href="https://codeberg.org/bookstack/api-scripts/commit/97f2da1f5605b8c32d15ad4857764ed737730bfd">97f2da1f5605b8c32d15ad4857764ed737730bfd</a> Added bsfs to community project list 97f2da1f5605b8c32d15ad4857764ed737730bfd Added bsfs to community project list]]> danb 25743546: https://codeberg.org/bookstack/api-scripts/commit/97f2da1f5605b8c32d15ad4857764ed737730bfd Sun, 23 Mar 2025 20:58:23 +0100 danb closed issue bookstack/api-scripts#16 https://codeberg.org/bookstack/api-scripts/issues/16#issuecomment-2404970 severely broken community api listing concerns danb 19319714: https://codeberg.org/bookstack/api-scripts/issues/16#issuecomment-2404970 Sun, 27 Oct 2024 23:39:18 +0100 danb closed issue bookstack/api-scripts#21 https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404968 self signed cert support / localhost danb 19319693: https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404968 Sun, 27 Oct 2024 23:38:33 +0100 danb commented on issue bookstack/api-scripts#21 https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404967 self signed cert support / localhost <p dir="auto">Hi <a href="/vmario89" class="mention" rel="nofollow">@vmario89</a>,<br/> These scripts are supposed to be simple jumping off points to be taken &amp; modified as desired, I&#39;m not really looking to expand them to account for environment specific edge cases, or document full steps for all possible considerations, we already have a note in the readme to advise the access will be that of the API user.</p> Hi @vmario89,
These scripts are supposed to be simple jumping off points to be taken & modified as desired, I'm not really looking to expand them to account for environment specific edge cases, or document full steps for all possible considerations, we already have a note in the readme to advise the access will be that of the API user. ]]>
danb 19319691: https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404967 Sun, 27 Oct 2024 23:38:32 +0100
vmario89 commented on issue bookstack/api-scripts#21 https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404947 self signed cert support / localhost <p dir="auto">furthermore it might help to add some hints to readme to have a dedicated sitemap-generator user which only created stuff of public visibility:</p> <p dir="auto">_First, we create a dedicated user <code>sitemap-generator</code> + role <code>sitemap-generator</code>. This user only sees the pages that are public and should also be included in the sitemap. The user receives a secure password and active 2FA protection. We also activate the <code>sitemap-generator-api-token</code> API token for the user via the admin account. We also set the following read permissions for the user, including the <code>System access API </code>authorization.</p> furthermore it might help to add some hints to readme to have a dedicated sitemap-generator user which only created stuff of public visibility:

_First, we create a dedicated user sitemap-generator + role sitemap-generator. This user only sees the pages that are public and should also be included in the sitemap. The user receives a secure password and active 2FA protection. We also activate the sitemap-generator-api-token API token for the user via the admin account. We also set the following read permissions for the user, including the System access API authorization.

]]>
vmario89 19319484: https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404947 Sun, 27 Oct 2024 23:20:53 +0100
vmario89 opened issue bookstack/api-scripts#21 https://codeberg.org/bookstack/api-scripts/issues/21 21#self signed cert support / localhost# Hi,
for an unsecure deployment a.t.m i had to reconcile the following part of bookstack-sitemap-generator to avoid throwing exception of the script:
    $opts = [
		'http' => [
			'header' => "Authorization: Token {$clientId}:{$clientSecret}"
		],
		'ssl' => [ 
			'verify_peer' => false, 
			'allow_self_signed'=> true ]
		];

maybe its worth to add this as export BS_INSECURE or similar, to allow requests to untrusted certs

]]>
vmario89 19319424: https://codeberg.org/bookstack/api-scripts/issues/21 Sun, 27 Oct 2024 23:18:29 +0100