Jeff Steward

Results 10 comments of Jeff Steward

At the moment there is no way to access URLs for images that have rights restrictions with the type of API key you have.

The `hasimages` parameter will find objects that have images regardless of the copyright status. We strip out image data if there are copyright issues hence the empty array and null...

You must use the `q` parameter whenever you are querying a field that is not named in the parameter list. In your case change `imagepermissionlevel=0&hasimage=1` to `q=imagepermissionlevel:0&hasimage=1`.

@heatherca Some of the parameters in your query won't work. `primaryimageurl` isn't a named parameter. The only way to query fields that are not in [the list of named parameters]...

Thanks for the additional info. All signs point to a bad implementation of the keyword parameter. I'm going to log a new issue.

Not exactly. The color endpoint isn't directly associated with images. One way to approach this is to request all objects whose primary image contains certain colors. Use the `color` parameter...

@TwentyPorts At present the API only supports search by exact color hex codes.

You are correct. We did not implement the search API. Just the presentation API.

The spectrum in our API is part of the museum's design system. Each day of the year has an assigned color (aka color of the day). (Check it out the...

Thanks for clarifying. The API accepts only one q parameter per request. Terms must be clustered with boolean operators. See the [Elasticsearch documentation on boolean operators](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/query-dsl-query-string-query.html#_boolean_operators) for more examples.