Closed ramonski closed 1 year ago
This PR always adds the portal_type to the catalog query if set, e.g. for resource routes.
portal_type
Mixed results are returned e.g. for the Analysis Service route:
http://localhost:8080/senaite/@@API/senaite/v1/analysisservice
Resource URLs return only requested portal type
-- I confirm I have tested the PR thoroughly and coded it according to PEP8 standards.
Description of the issue/feature this PR addresses
This PR always adds the
portal_type
to the catalog query if set, e.g. for resource routes.Current behavior before PR
Mixed results are returned e.g. for the Analysis Service route:
http://localhost:8080/senaite/@@API/senaite/v1/analysisservice
Desired behavior after PR is merged
Resource URLs return only requested portal type
-- I confirm I have tested the PR thoroughly and coded it according to PEP8 standards.