laminas-api-tools/api-tools-admin

Returns db-connected and code-connected services in REST API dashboard

michalbundyra opened this issue · 4 comments

When you request GET /dashboard API right now, you get a rest and rpc array with the name of the services. We cannot distinguish between db-connected and code-connected from the rest array. It would be nice to have this distinguish to build a better dashboard UI.
I propose to add an optional parameter to return a more detailed result, such as /dashboard?extended.


Originally posted by @ezimuel at zfcampus/zf-apigility-admin#245

👍 I like the extended idea because looking at a list of my resources I'll probably know what I'm looking for before I'd need to break them down by connected type. And while you're at it will you include doctrine-connected ?


Originally posted by @TomHAnderson at zfcampus/zf-apigility-admin#245 (comment)

@TomHAnderson the idea is to split the rest family with all connected type, including doctrine of course.


Originally posted by @ezimuel at zfcampus/zf-apigility-admin#245 (comment)

And I'm actually working on it :)


Originally posted by @jguittard at zfcampus/zf-apigility-admin#245 (comment)

@ezimuel Why don't you detail the payload you want returned, and then we can figure out how to make it happen. :)


Originally posted by @weierophinney at zfcampus/zf-apigility-admin#245 (comment)