Skip to content

assets/webapp-utils: Add SWHID validation in search inputs

Check a SWHID entered in a search input is valid by sending a request to the resolve endpoint of the Web API.

If the SWHID is not valid, precise parsing error will be extracted from the Web API response and displayed in the Web UI to indicate the search form can not be validated.

As the resolve endpoint will be more requested, we should change its rate limit settings to allow more requests (120 per minute for instance).

image image

Related to #3247 (closed)


Migrated from D5484 (view on Phabricator)

Merge request reports