Allows youto retrieve details of the data configuration for each type of entity (eg, project, organisation) in the GtR API. This information could be useful in helping you structure queries.

get_configs(resource)

Arguments

resource

Specify the type of data for which you want to retrieve the configuration. Names must be as per gtr_endpoints.

Value

A list holding two dataframes - one ('parameters') covering query parameters and another ('fields') holding details about the fields you return.