Just encountered a issue in while using a apigility.
As i am new i am not sure this is issue or existing flow of application.
This is the current situation i Created 3 module in api.
Status - containing ping API
Customer - containing test API
User - containing test API
Eariler http://test.api/ping was working fine
but when i updated user module to version 2 and set its default version to 2.
my ping api of Status module stopped working and returned 404
but when i hit http://test.api/v1/ping
It works fine.
while debugging i found it was due to
'zf-versioning' => array(
'uri' => array(
0 => 'user.rest.test',
),
'default_version' => 2, //<this
),
in module config.
as its default version is changed to 2 but my other api is on default version of 1.
Just encountered a issue in while using a apigility. As i am new i am not sure this is issue or existing flow of application. This is the current situation i Created 3 module in api.
Eariler http://test.api/ping was working fine but when i updated user module to version 2 and set its default version to 2.
my ping api of Status module stopped working and returned 404 but when i hit http://test.api/v1/ping It works fine.
while debugging i found it was due to
'zf-versioning' => array( 'uri' => array( 0 => 'user.rest.test', ), 'default_version' => 2, //<this ), in module config.
as its default version is changed to 2 but my other api is on default version of 1.