[Koha-devel] REST API + DataTables

Jonathan Druart jonathan.druart at bugs.koha-community.org
Fri Sep 3 09:31:04 CEST 2021


admin/cities.pl and /api/v1/cities ?
Same for branches/libraries


Le ven. 3 sept. 2021 à 08:26, <dcook at prosentient.com.au> a écrit :

> Hi all,
>
>
>
> Do we have any examples of using the Mojolicious REST API to provide data
> for DataTables in Koha?
>
>
>
> I think the answer is probably no since the DataTables calls aren’t really
> RESTful.
>
>
>
> Yet, we have this growing API, and we want to use that API to make more
> efficient user interfaces. Does anyone know how we might do that with
> DataTables?
>
>
>
> On a different project, I ended up writing a specific controller just for
> handling DataTables AJAX calls since they’re very particular. But even
> that’s easier said than done in a generic way because of business rules and
> authorization.
>
>
>
> Thoughts?
>
>
>
> David Cook
>
> Senior Software Engineer
>
> Prosentient Systems
>
> Suite 7.03
>
> 6a Glen St
>
> Milsons Point NSW 2061
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210903/ad5f9b40/attachment.htm>


More information about the Koha-devel mailing list