HomeSoftware Heritage

api/graph: Handle query parameters that might be passed in graph_query

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

api/graph: Handle query parameters that might be passed in graph_query

It is possible to pass query parameters in the graph_query URL argument
of the Web API graph endpoint if the ? character is quoted.

So add extra processing in the endpoint implementation to merge the
query parameters extracted from the graph_query value and those
coming from the django request.

The purpose is to avoid some query parameters to be silently ignored
when requesting the graph API.

Details

Provenance
anlambertAuthored on Jan 11 2022, 5:40 PM
anlambertPushed on Jan 12 2022, 3:00 PM
Differential Revision
D6919: api/graph: Handle query parameters that might be passed in graph_query
Build Status
Buildable 25974
Build 40596: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.