aiondemand/AIOD-rest-api

Add endpoint for resources to check if they exist

Open

#498 opened on Mar 18, 2025

 (8 comments) (0 reactions) (1 assignee)Python (77 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (35 stars)
PR merge metrics
 (PR metrics pending)

Description

Add a GET endpoint under e.g., /datasets/exists/v1/{identifier} which only returns whether or not the asset with that identifier exists (the asset should be public or the user should have read permissions). As it should be available for all resources, it makes sense to add this to the resource router.

Suggestions is based on #409.

Contributor guide