#
a8f218d4 |
| 15-Mar-2025 |
Andreas Gohr <andi@splitbrain.org> |
API doc block updates
|
#
0e1bcd98 |
| 15-Mar-2025 |
Andreas Gohr <andi@splitbrain.org> |
increased API version
|
#
72b0e523 |
| 15-Mar-2025 |
Andreas Gohr <andi@splitbrain.org> |
API: proper access to the current media revision
Even when the revision is explictly given instead of set to 0. See #4419 for ponderings about why this is necessary and a different approach.
|
#
61d21e86 |
| 15-Mar-2025 |
kuangfio <kuangfionaly@gmail.com> |
Added API endpoint core.getMediaHistory #4147
squashed commits of #4369
|
#
56bbc10d |
| 17-Dec-2024 |
Andreas Gohr <andi@splitbrain.org> |
init rendering correctly in API
When rendering a page, the ID should be passed.
|
#
99a3dafa |
| 10-Apr-2024 |
Andreas Gohr <andi@splitbrain.org> |
increase API version for new call, remove unused parameter
|
#
fb93418d |
| 10-Apr-2024 |
Andreas Gohr <andi@splitbrain.org> |
remove obsolete TODO comment
|
#
885b0fb0 |
| 21-Mar-2024 |
Anushka Trivedi <21999998+opheliagame@users.noreply.github.com> |
added API core.getMediaUsage
|
#
d48c2b25 |
| 07-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: code style fixes
|
#
d1f06eb4 |
| 06-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: ApiCore tests fixed and extended
|
#
9e6b19e6 |
| 06-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: fix listPages
Not all needed fields are returned by the search callback
|
#
5bef72be |
| 06-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: getPageHistory is nicer than getPageVersions
|
#
0eb4820c |
| 06-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: checkPage needs to consider revision
|
#
b115d6db |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: always pass revision as integer
|
#
7288c5bd |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API fix depth handling in listPages
|
#
58ae4747 |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: initialize responses explicitly
Instead of passing unknown arrays, explicit parameters are passed. Revision handling should now work correctly since we can pass revision=0 but a mtime.
|
#
d3856637 |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: clean up error codes
Error codes are now extracted from API core and printed on the OpenAPI overview page. This makes it easier to see what is in use.
Error messages have been cleaned up, some
API: clean up error codes
Error codes are now extracted from API core and printed on the OpenAPI overview page. This makes it easier to see what is in use.
Error messages have been cleaned up, some new codes have been assigned.
Some errors have been removed. Eg. it is fine to iterate a media namespace you don't have read access to. The result will either be empty or contain files from lower namespaces that you *do* have access to.
show more ...
|
#
902647e6 |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: Do not assume the start page for empty pageIDs
|
#
0caa81c7 |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
API: move create/delete user calls to usermanager
This only moves the calls. A proper refactoring of the user manager would make sense:
1) introduce a helper component covering the basic operations
API: move create/delete user calls to usermanager
This only moves the calls. A proper refactoring of the user manager would make sense:
1) introduce a helper component covering the basic operations including proper error signalling using Exceptions 2) refactor admin and cli components to make use of 1) 3) make the operations in 1) available via the API
show more ...
|
#
6cce3332 |
| 05-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Reworked API definition
This cleans up the API:
* no more compatibility with obsolete wiki API * no more difference between wiki.* and dokuwiki.* calls -> core.* * use of optional parameters avoids
Reworked API definition
This cleans up the API:
* no more compatibility with obsolete wiki API * no more difference between wiki.* and dokuwiki.* calls -> core.* * use of optional parameters avoids double definitions * use Response objects for complex results * always use named primitives as input * major cleanup of docblock descriptions
show more ...
|
#
dd7472d3 |
| 04-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
OpenAPI Gen: handle Object to Schema transformation correctly
All the basic mechanisms should now be in place to clean up the API
|
#
8ddd9b69 |
| 22-Dec-2023 |
Andreas Gohr <andi@splitbrain.org> |
OpenAPI Generator. Better DocBlock parsing [WIP]
This introduces a new DocBlock parser to properly generate API specifications. It also introduces the concept of Response classes to better specify t
OpenAPI Generator. Better DocBlock parsing [WIP]
This introduces a new DocBlock parser to properly generate API specifications. It also introduces the concept of Response classes to better specify the response format.
This is still very much in progress.
show more ...
|
#
fe9f11e2 |
| 07-Dec-2023 |
Andreas Gohr <andi@splitbrain.org> |
improved API docs
|
#
0ff4031c |
| 01-Dec-2023 |
Andreas Gohr <andi@splitbrain.org> |
rename $id to be more clear
It should be more clear if a media or page ID is passed. Also openapi-explorer will not prefill examples for any parameters called *id*.
|
#
8a9282a2 |
| 01-Dec-2023 |
Andreas Gohr <andi@splitbrain.org> |
improve the doc blocks in ApiCore
|