Loading...
 
Skip to main content

Proposition: REST API "adaptor" code

Status
Open
Subject
Proposition: REST API "adaptor" code
Version
22.x
21.x
Category
  • Community projects
  • Less than 30-minutes fix
Resolution status
New
Submitted by
Philippe
Lastmod by
Philippe
Rating
(0)
Description

Hi,
TW newbie here, not sure if it's the right category and the right format. Please deal with humans willing to help 😊
This post is to solve:
-+Add an Application Programming Interface (API) to improve Federation capabilities, and for BPMN, hopefully in Tiki22
Mainly add a REST API "adaptor" code to make all services available over REST +-
from https://dev.tiki.org/Tiki21

I needed a REST API now and really start to enjoy tikiwiki 21 in my docker container.
I successfully installed a PHP script to solve it for me:
https://github.com/mevdschee/php-crud-api
It serves the whole database with rest api endpoints, so you need to configure which tables you want to serve (trackers, pages, ...)

About integrating it in TW ... unfortunately I'm not a great coder and new to tikiwiki, so not of great help for now 😑
If you share with me how you solve this, I might help to code directly in the future.

If any TW guru would like to test. I went through hurdles with docker:
https://github.com/mevdschee/php-crud-api/issues/669

Not sure if it's popular for other TW members but it was mandatory for me.
Easy to solve? Yes for working solution, I don't know for integration.

TW solves the IP thing so I guess it will a walk in the park for you 😊
Have a great day!

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7374
Created
Monday 18 May, 2020 14:58:02 UTC
by Philippe
LastModif
Monday 18 May, 2020 14:58:02 UTC


Show PHP error messages