Skip to content

Use type attribute from visit instead of origin

As origin type attribute will be removed in favor of visit type attribute, remove any reference of it in swh-web codebase and use visit type instead.

As a consequence, the web api endpoint /api/1/origin/(origin_type)/url/(origin_url)/ has been removed. I can add it back for backward compatibility if needed but considering it has been marked as deprecated since a couple of months, I do not think it is necessary.

Related T1891


Migrated from D2167 (view on Phabricator)

Merge request reports