Questions tagged [laminas-api-tools]

Laminas API Tools provides both a builder and PHP runtime for HTTP APIs, using standards such as Problem Details for HTTP APIs, OAuth2, Hypertext Application Language, and others.

Laminas API Tools, formerly Apigility, provides both a builder and PHP runtime for HTTP APIs, using standards such as Problem Details for HTTP APIs, OAuth2, Hypertext Application Language, and others. It is built on top of , and is a subproject of the project.

251 questions
0
votes
3 answers

How to add and use multiple actions into Apigilities RPC Generated Controller

i need your advice. I need to create multiple Actions in RPC style API Controller generated by Apigility. How do I need to make routing, to make it work like it is in normal zend application. 'application' => array( 'type' =>…
user1418998
  • 625
  • 6
  • 19
0
votes
1 answer

ZF2 aka Apigility SQL with predicates

I'm attempting to use Predicates within ZF2 in order to query on a date type column named column_date Nothing seems to work for the any columns and I am so new I am unsure where to start.. $query = $this->tableGateway->getSql()->select(); …
Erik
  • 2,782
  • 3
  • 34
  • 64
0
votes
1 answer

Apigility v1.0.4 REST API GET methods no longer get valid parameter array

I used Apigility to generate code-connected REST API wrappers for my ZF2 project - it all worked nicely (apart from a few file permissions issues which were easily resolved on the command line). Yesterday I ran a composer update and it updated…
urchino
  • 340
  • 3
  • 13
0
votes
1 answer

403 for Apigility and Cpanel

For some reason, I'm getting a weird 403 issues when I use ZF2 + apigility + Cpanel. I do not know where to look! I have the same code running on my local machine and an aws server. Both do not have the 403 issues when trying to authenticate using…
juworld
  • 140
  • 1
  • 15
0
votes
0 answers

Zend Framework gets trapped in exception, no way back

I'm building an api with apigility over a symfony2 app. After a runtime error in symfony2 app which led to an exception in zend, every call from zend (the error is now solved) leads to the same exception. The error I think is actually not relavant…
K. Weber
  • 2,643
  • 5
  • 45
  • 77
0
votes
1 answer

zf2 oauth2 catching extra params

I'm using apigility under the zf2 framework to build my Rest server So, we are rebuilding the rest server and our client app is calling the /oauth with extra parameters and I'm not sure how to get those parameters. By default, /oauth will require…
juworld
  • 140
  • 1
  • 15
0
votes
2 answers

Apigility is requiring the route_identifier_name for Code-Connected REST POST Entity

I seem to only be able to create new entities when calling /merchant/1, however /merchant will return a 405 status. This is my resource method for POSTs: public function create($data) { return $this->mapper->create($data); } The id for this…
Jason
  • 507
  • 3
  • 10
-1
votes
2 answers

Apigility Error after installation and creation of first service of demo

i have just installed Apigility and following the tutorials i have an error. When i try with Postman to call my service i get an error like this Zend\View\Renderer\PhpRenderer::render: Unable to render template "status/v1/rpc/ping/ping/ping";…
-1
votes
1 answer

how to send a post to apigility with resclientemozilla?

how can I send JSON data to apigility using an HTTP POST? I'm trying to send this data: { "nombre_pais": "MEXICO", "id": "20", "artist": "JUAN AGUIRRES", "title": "CRAZY", "genero": "Balada, Pop", …
BlackHack123
  • 349
  • 1
  • 10
-1
votes
1 answer

how insert record on db zf2?

how can try insert a record on data/mydatabase.db a new record. i'm using zend framework 2 and apiligity for insert a new record on my db now i can get all records but i can't insert have this for insert public function create($data) {…
BlackHack123
  • 349
  • 1
  • 10
-1
votes
1 answer

Apigility throttling

I want to build my first API using Apigility v1.1. It will be a "private" API (consumer must be auhorized through the OAuth2 to use the API). I've already read the tutorial and seen some examples, but I haven't found anything regarding to requests…
Merlin
  • 213
  • 1
  • 9
1 2 3
16
17