Feed of "bookstack/api-scripts"https://codeberg.org/bookstack/api-scripts2026-06-20T22:05:42+02:00Examples of BookStack API scriptsdanb closed pull request bookstack/api-scripts#202026-04-25T00:37:17+02:00128015282: https://codeberg.org/bookstack/api-scripts/pulls/20#issuecomment-13715189Adding a Ruby example, exporting list of all pages for use in CSV/ExcelAdding a Ruby example, exporting list of all pages for use in CSV/Exceldanb[email protected]danb pushed to main at bookstack/api-scripts2026-04-25T00:32:06+02:00128013137: https://codeberg.org/bookstack/api-scripts/commit/b2e6524245f7c230a1bbaa4fa8abe7a2f8ff82db<a href="https://codeberg.org/bookstack/api-scripts/commit/b2e6524245f7c230a1bbaa4fa8abe7a2f8ff82db" rel="nofollow">b2e6524245f7c230a1bbaa4fa8abe7a2f8ff82db</a>
Updated old GitHub links to Codeberg<a href="https://codeberg.org/bookstack/api-scripts/commit/b2e6524245f7c230a1bbaa4fa8abe7a2f8ff82db">b2e6524245f7c230a1bbaa4fa8abe7a2f8ff82db</a>
Updated old GitHub links to Codebergdanb[email protected]danb closed issue bookstack/api-scripts#252026-04-25T00:32:06+02:00128013128: https://codeberg.org/bookstack/api-scripts/issues/25#issuecomment-13715054Update GitHub references in script filesUpdate GitHub references in script filesdanb[email protected]danb pushed to main at bookstack/api-scripts2026-04-25T00:26:43+02:00128012306: https://codeberg.org/bookstack/api-scripts/compare/fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c...db527a7cd9c129834257b07b02af1752f8d69f02<a href="https://codeberg.org/bookstack/api-scripts/commit/db527a7cd9c129834257b07b02af1752f8d69f02" rel="nofollow">db527a7cd9c129834257b07b02af1752f8d69f02</a>
Merge pull request 'README.md aktualisiert' (#26) from Man-in-Black/bookstack-api-scripts:main into main
<a href="https://codeberg.org/bookstack/api-scripts/commit/a9dc95b7456c2b82a13f5e0cd6c963a5adde7302" rel="nofollow">a9dc95b7456c2b82a13f5e0cd6c963a5adde7302</a>
README.md aktualisiert<a href="https://codeberg.org/bookstack/api-scripts/commit/db527a7cd9c129834257b07b02af1752f8d69f02">db527a7cd9c129834257b07b02af1752f8d69f02</a>
Merge pull request 'README.md aktualisiert' (#26) from Man-in-Black/bookstack-api-scripts:main into main
<a href="https://codeberg.org/bookstack/api-scripts/commit/a9dc95b7456c2b82a13f5e0cd6c963a5adde7302">a9dc95b7456c2b82a13f5e0cd6c963a5adde7302</a>
README.md aktualisiertdanb[email protected]danb merged pull request bookstack/api-scripts#262026-04-25T00:26:39+02:00128012294: https://codeberg.org/bookstack/api-scripts/pulls/26README.md aktualisiertREADME.md aktualisiertdanb[email protected]danb commented on pull request bookstack/api-scripts#262026-04-25T00:26:34+02:00128012264: https://codeberg.org/bookstack/api-scripts/pulls/26#issuecomment-13714967README.md aktualisiert
<p dir="auto">Great, thanks <a href="/Man-in-Black" class="mention" rel="nofollow">@Man-in-Black</a> !</p>
README.md aktualisiert
<p dir="auto">Great, thanks <a href="/Man-in-Black" class="mention" rel="nofollow">@Man-in-Black</a> !</p>
danb[email protected]Man-in-Black created pull request bookstack/api-scripts#262026-04-23T23:36:05+02:00127570730: https://codeberg.org/bookstack/api-scripts/pulls/26<p dir="auto">added BookStack user management</p>
26#README.md aktualisiert#Man-in-Black[email protected]danb opened issue bookstack/api-scripts#252026-03-27T15:22:25+01:00115549653: https://codeberg.org/bookstack/api-scripts/issues/25<p dir="auto">In many readme files there are references to GitHub for accessing/downloading files.<br/>
These need to be updated.</p>
25#Update GitHub references in script files#danb[email protected]danb pushed to main at bookstack/api-scripts2026-03-27T15:21:27+01:00115548816: https://codeberg.org/bookstack/api-scripts/compare/6b57b000dc3886b486962e7b63ed2be0d41b0b58...fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c<a href="https://codeberg.org/bookstack/api-scripts/commit/fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c" rel="nofollow">fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c</a>
Merge branch 'main' of codeberg.org:bookstack/api-scripts
<a href="https://codeberg.org/bookstack/api-scripts/commit/9c9b10284d7f7baedd4b4d2dbd15d7ea550f50e5" rel="nofollow">9c9b10284d7f7baedd4b4d2dbd15d7ea550f50e5</a>
Added php-users-to-csv example<a href="https://codeberg.org/bookstack/api-scripts/commit/fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c">fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c</a>
Merge branch 'main' of codeberg.org:bookstack/api-scripts
<a href="https://codeberg.org/bookstack/api-scripts/commit/9c9b10284d7f7baedd4b4d2dbd15d7ea550f50e5">9c9b10284d7f7baedd4b4d2dbd15d7ea550f50e5</a>
Added php-users-to-csv exampledanb[email protected]danb commented on pull request bookstack/api-scripts#242026-02-24T22:32:34+01:00102882584: https://codeberg.org/bookstack/api-scripts/pulls/24#issuecomment-10968155Added Home Assistant integration to the community projects list
<p dir="auto">Thanks <a href="/MattFryer" class="mention" rel="nofollow">@MattFryer</a>!</p>
Added Home Assistant integration to the community projects list
<p dir="auto">Thanks <a href="/MattFryer" class="mention" rel="nofollow">@MattFryer</a>!</p>
danb[email protected]danb pushed to main at bookstack/api-scripts2026-02-24T22:30:15+01:00102881786: https://codeberg.org/bookstack/api-scripts/commit/6b57b000dc3886b486962e7b63ed2be0d41b0b58<a href="https://codeberg.org/bookstack/api-scripts/commit/6b57b000dc3886b486962e7b63ed2be0d41b0b58" rel="nofollow">6b57b000dc3886b486962e7b63ed2be0d41b0b58</a>
Added Home Assistant integration to the community projects list<a href="https://codeberg.org/bookstack/api-scripts/commit/6b57b000dc3886b486962e7b63ed2be0d41b0b58">6b57b000dc3886b486962e7b63ed2be0d41b0b58</a>
Added Home Assistant integration to the community projects listdanb[email protected]danb merged pull request bookstack/api-scripts#242026-02-24T22:30:15+01:00102881783: https://codeberg.org/bookstack/api-scripts/pulls/24Added Home Assistant integration to the community projects listAdded Home Assistant integration to the community projects listdanb[email protected]MattFryer created pull request bookstack/api-scripts#242026-02-23T14:32:49+01:00102294242: https://codeberg.org/bookstack/api-scripts/pulls/24<p dir="auto">As requested on <a href="https://www.reddit.com/r/homeassistant/comments/1ra78u5/comment/o6j6di2/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button" rel="nofollow">Reddit</a></p>
24#Added Home Assistant integration to the community projects list#MattFryer[email protected]danb pushed to main at bookstack/api-scripts2025-10-24T14:33:44+02:0067796504: https://codeberg.org/bookstack/api-scripts/compare/8c53c61b7b26ed026a3b2a8778680ec79a58048e...dd2ac3e266d10f6560d55617ff923f8ec0ae2380<a href="https://codeberg.org/bookstack/api-scripts/commit/dd2ac3e266d10f6560d55617ff923f8ec0ae2380" rel="nofollow">dd2ac3e266d10f6560d55617ff923f8ec0ae2380</a>
Merge pull request 'Add bookstack-sdk-php to community project' (#23) from guiziweb/api-scripts:guiziweb-patch-1 into main
<a href="https://codeberg.org/bookstack/api-scripts/commit/1b1c007b8ea59ae11c6782fe3ae978f6f0f050c4" rel="nofollow">1b1c007b8ea59ae11c6782fe3ae978f6f0f050c4</a>
Actualiser README.md<a href="https://codeberg.org/bookstack/api-scripts/commit/dd2ac3e266d10f6560d55617ff923f8ec0ae2380">dd2ac3e266d10f6560d55617ff923f8ec0ae2380</a>
Merge pull request 'Add bookstack-sdk-php to community project' (#23) from guiziweb/api-scripts:guiziweb-patch-1 into main
<a href="https://codeberg.org/bookstack/api-scripts/commit/1b1c007b8ea59ae11c6782fe3ae978f6f0f050c4">1b1c007b8ea59ae11c6782fe3ae978f6f0f050c4</a>
Actualiser README.mddanb[email protected]danb merged pull request bookstack/api-scripts#232025-10-24T14:33:44+02:0067796495: https://codeberg.org/bookstack/api-scripts/pulls/23Add bookstack-sdk-php to community projectAdd bookstack-sdk-php to community projectdanb[email protected]danb commented on pull request bookstack/api-scripts#232025-10-24T14:33:39+02:0067796486: https://codeberg.org/bookstack/api-scripts/pulls/23#issuecomment-7882391Add bookstack-sdk-php to community project
<p dir="auto">Awesome, thanks <a href="/guiziweb" class="mention" rel="nofollow">@guiziweb</a>!</p>
Add bookstack-sdk-php to community project
<p dir="auto">Awesome, thanks <a href="/guiziweb" class="mention" rel="nofollow">@guiziweb</a>!</p>
danb[email protected]guiziweb created pull request bookstack/api-scripts#232025-10-24T07:45:17+02:0067715303: https://codeberg.org/bookstack/api-scripts/pulls/23<p dir="auto">Add PHP SDK for the BookStack API.</p>
23#Add bookstack-sdk-php to community project#guiziweb[email protected]danb pushed to main at bookstack/api-scripts2025-07-07T14:18:46+02:0044856230: https://codeberg.org/bookstack/api-scripts/commit/8c53c61b7b26ed026a3b2a8778680ec79a58048e<a href="https://codeberg.org/bookstack/api-scripts/commit/8c53c61b7b26ed026a3b2a8778680ec79a58048e" rel="nofollow">8c53c61b7b26ed026a3b2a8778680ec79a58048e</a>
Update README.md<a href="https://codeberg.org/bookstack/api-scripts/commit/8c53c61b7b26ed026a3b2a8778680ec79a58048e">8c53c61b7b26ed026a3b2a8778680ec79a58048e</a>
Update README.mddanb[email protected]danb pushed to main at bookstack/api-scripts2025-07-07T14:17:38+02:0044855876: https://codeberg.org/bookstack/api-scripts/compare/97f2da1f5605b8c32d15ad4857764ed737730bfd...cc7ed78be528948c34d63e4accc41fd10203a757<a href="https://codeberg.org/bookstack/api-scripts/commit/cc7ed78be528948c34d63e4accc41fd10203a757" rel="nofollow">cc7ed78be528948c34d63e4accc41fd10203a757</a>
Merge pull request 'MCP server contrib' (#22) from pnocera/api-scripts:main into main
<a href="https://codeberg.org/bookstack/api-scripts/commit/cf305628428e4677711f73507414373335a643a0" rel="nofollow">cf305628428e4677711f73507414373335a643a0</a>
MCP server contrib<a href="https://codeberg.org/bookstack/api-scripts/commit/cc7ed78be528948c34d63e4accc41fd10203a757">cc7ed78be528948c34d63e4accc41fd10203a757</a>
Merge pull request 'MCP server contrib' (#22) from pnocera/api-scripts:main into main
<a href="https://codeberg.org/bookstack/api-scripts/commit/cf305628428e4677711f73507414373335a643a0">cf305628428e4677711f73507414373335a643a0</a>
MCP server contribdanb[email protected]danb merged pull request bookstack/api-scripts#222025-07-07T14:17:37+02:0044855867: https://codeberg.org/bookstack/api-scripts/pulls/22MCP server contribMCP server contribdanb[email protected]danb commented on pull request bookstack/api-scripts#222025-07-07T14:17:29+02:0044855858: https://codeberg.org/bookstack/api-scripts/pulls/22#issuecomment-5744276MCP server contrib
<p dir="auto">Thanks <a href="/pnocera" class="mention" rel="nofollow">@pnocera</a>!</p>
MCP server contrib
<p dir="auto">Thanks <a href="/pnocera" class="mention" rel="nofollow">@pnocera</a>!</p>
danb[email protected]pnocera created pull request bookstack/api-scripts#222025-07-04T18:11:37+02:0044277593: https://codeberg.org/bookstack/api-scripts/pulls/2222#WIP: MCP server contrib#22#WIP: MCP server contrib#pnocera[email protected]danb pushed to main at bookstack/api-scripts2025-03-23T20:58:23+01:0025743546: https://codeberg.org/bookstack/api-scripts/commit/97f2da1f5605b8c32d15ad4857764ed737730bfd<a href="https://codeberg.org/bookstack/api-scripts/commit/97f2da1f5605b8c32d15ad4857764ed737730bfd" rel="nofollow">97f2da1f5605b8c32d15ad4857764ed737730bfd</a>
Added bsfs to community project list<a href="https://codeberg.org/bookstack/api-scripts/commit/97f2da1f5605b8c32d15ad4857764ed737730bfd">97f2da1f5605b8c32d15ad4857764ed737730bfd</a>
Added bsfs to community project listdanb[email protected]danb closed issue bookstack/api-scripts#162024-10-27T23:39:18+01:0019319714: https://codeberg.org/bookstack/api-scripts/issues/16#issuecomment-2404970severely broken community api listing concernsseverely broken community api listing concernsdanb[email protected]danb closed issue bookstack/api-scripts#212024-10-27T23:38:33+01:0019319693: https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404968self signed cert support / localhostself signed cert support / localhostdanb[email protected]danb commented on issue bookstack/api-scripts#212024-10-27T23:38:32+01:0019319691: https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404967self 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 & 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.</p>
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 & 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.</p>
danb[email protected]vmario89 commented on issue bookstack/api-scripts#212024-10-27T23:20:53+01:0019319484: https://codeberg.org/bookstack/api-scripts/issues/21#issuecomment-2404947self 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>
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>
vmario89[email protected]vmario89 opened issue bookstack/api-scripts#212024-10-27T23:18:29+01:0019319424: https://codeberg.org/bookstack/api-scripts/issues/21<p dir="auto">Hi,<br/>
for an unsecure deployment a.t.m i had to reconcile the following part of <strong>bookstack-sitemap-generator</strong> to avoid throwing exception of the script:</p>
<pre class="code-block"><code class="chroma language-text display"> $opts = [
'http' => [
'header' => "Authorization: Token {$clientId}:{$clientSecret}"
],
'ssl' => [
'verify_peer' => false,
'allow_self_signed'=> true ]
];
</code></pre><p dir="auto">maybe its worth to add this as export BS_INSECURE or similar, to allow requests to untrusted certs</p>
21#self signed cert support / localhost#vmario89[email protected]