6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12740] Implement API for non-RPC friendly API calls.
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___..__ . ..___. [ __ _/ [__)|_/ _/ [_././__.| | \./__.
Comment
>> Anything returned from the API should be compatible with a RPC call >> as well. Requiring logic in the returned object to access the >> requested data will not work over e.g., json-rpc calls. > > Huh? How is this supposed to work? See mail/imapOb - that returns a > Horde_Imap_Client_Base object. That is most certainly NOT something > that can be returned via a JSON-RPC call. (or mail/flagList. Or > mail/createMailbox). > > And that is extremely concerning if you are saying that > inter-application API calls are restricted to simple data structures > . That is a **crippling** limitation for a feature that came AFTER > the original API design - which allowed PHP objects to be returned. > > If you disgaree, than there needs to be a separate RPC framework in > the future. Or at least a separate search call that is RPC specific. > > But you absolutely cannot be expected to know the structure of the > photo data object, so at a minimum this ticket cannot be closed. > This needs to be documented somewhere.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers