Closed urld closed 5 months ago
This is often the case with private/internal resources; as there is no guarantee of the endpoint's support/continuity they are not added to the resource list.The get_resource
handler is specifically designed to perform these checks and this wont change anytime soon.
However, get_resource
is just a wrapper for get_items
& get_json
which can be used the way you expect. Use get_items
if you'd like it as a paginated generator or get_json
for the raw json response.
I am trying to iterate through all projects that belong to certain project groups, that are known by name. e.g.
client.get_resource("project-groups")
. Hovewer i am just getting the following error, since project-groups is not listed in the root api request for some reason.If i handcraft a request to
/api/project-groups
however, i get a valid response.Is there some way to skip the validation of the listed resources? I dont really get why the list is not complete, even though the resources are accessible if i just ignore the root endpoint.