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
1 answer

How can get the query sql instruction from this code zf2?

how can get an sql query for this code in zf2 is only that don't return my all records that i need only some ones columns don.t get (nombre_pais, genero, ocupacion,sitio_web ) i'm trying this code in mysql console (query) it returns ok SELECT…
BlackHack123
  • 349
  • 1
  • 10
0
votes
1 answer

How to SELECT on tables in zf2 using sql

How would you make this query on zf2 with Zend\Db\Sql\Select? SELECT album.id, album.artist, album.title, pais.nombre_pais, biografia.genero, biografia.ocupacion, biografia.sitio_web FROM album INNER JOIN pais…
BlackHack123
  • 349
  • 1
  • 10
0
votes
0 answers

Best way for two apps to share data

EDIT: App1 and App2 are web based systems. So I have two applications, the one is an auth system, think SSO, payments, affiliate earnings and the other is a game plugged into the auth system. App 1 = SSO & Payments App 2 = Game Affiliates log into…
HappyCoder
  • 5,985
  • 6
  • 42
  • 73
0
votes
1 answer

apigility set default value for the date field

I try to create the simple api using apigility to save some data. I have the table structure as below. Using apigility admin ui, I created the Resetful post service for below entity. createdAt field is optional but I want make sure the field should…
Gowri
  • 16,587
  • 26
  • 100
  • 160
0
votes
2 answers

Inject DB adapter in mapper

I am quite confused about how to inject (Zend/Apigility) in a mapper class a specific db adapter (here named music) concerning following mapper: AlbumMapper.php
E Sturzenegger
  • 159
  • 4
  • 12
0
votes
1 answer

error e.rest apigility how create db connect services?

i'm try created db connect services but don't work i'm have the error e.rest to try create services enter image description here i'm try with this solution but not working have the same error "zfcampus/zf-apigility-admin-ui": "dev-master" maybe…
Diego Avila
  • 700
  • 7
  • 24
0
votes
1 answer

Where to put calls to 3rd party APIs in Apigility/ZF2?

I have just completed my first API in Apigility. Right now it is basically a gateway to a database, storing and retrieving multi-page documents uploaded through an app. Now I want to run some processing on the documents, e.g. process them through a…
0
votes
1 answer

Zend Framework 2 & Apigility - insert link into collection

I have an Apigility resource with a patchList method. The method returns a collection. I need to set a link to another resource on the returned collection. So, if a collection looks like this: { _links: { self: '//foo.bar', }, _embedded:…
0
votes
1 answer

Apigility with Doctrine - The creation service never return any entity

I have a little problem. I am using Apigility within Doctrine to do a one project. But every time I try to get tables in the database to generate the entities, never finds... Is there something I forgot to set?
0
votes
1 answer

How can I resolve Fatal Error:Uncaught exception with Resource not found in ZF2 Apigility?

Fatal error: Uncaught exception 'Zend\Permissions\Acl\Exception\InvalidArgumentException' with message 'Resource 'welcome' not found' in /home/prateek.parekh/catalystapi/vendor/zendframework/zendframework/library/Zend/Permissions/Acl/Acl.php on line…
Prateek
  • 95
  • 2
  • 13
0
votes
2 answers

Apigility + Doctrine2 QueryProvider - Can't use created function on query builder

I'm using Apigility to create a rest application, where the back-end and front-end are pretty much independent applications. Ok, on the Back-end I'm using 'zf-apigility-doctrine-query-provider' to create queries depending on the parameters sent via…
0
votes
1 answer

Zend Http Client - Invalid Content Type Error

I am getting an invalid content type error with a POST request to an ApiGility API. array (size=4) 'type' => string 'http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html' (length=54) 'title' => string 'Unsupported Media Type' (length=22) …
HappyCoder
  • 5,985
  • 6
  • 42
  • 73
0
votes
2 answers

Apigility: How to render embedded objects?

How do I render embedded objects in Apigility? For example, if I have a 'user' object and it composes a 'country' object, should I be rendering the 'country' object as an embedded object? And how should I do this? I am using the…
DatsunBing
  • 8,684
  • 17
  • 87
  • 172
0
votes
1 answer

What directory permissions does Apigility require?

I realise that the Apigility UI requires write access to the /modules directory and /config directory. My question is, what permissions does it require to the sub-directories that it creates? In my case, it creates sub-directories (such as…
DatsunBing
  • 8,684
  • 17
  • 87
  • 172
0
votes
1 answer

How get apigility JSON and put in autocomplete of jquery ui

I facing a huge problem here i have a zf apigility as my backend and a simple dropdown in my front-end, and i want to get all the results of REST in apigility URL and put as autocomplete in my dropdown, but my problem is that i have about 72,000…