Skip to content

Implement endpoint for project thumbnail #4702

@leoll2

Description

@leoll2

Endpoint: GET /api/projects/{project_id}/thumbnail.

The endpoint should return the thumbnail of the first media of the project, so that the response is consistent over time and not affected e.g. by the addition of new items. If the dataset item is deleted, it is okay if the thumbnail changes to the next available media. Note that this endpoint is not responsible for generating thumbnails, just returning it.
If the project dataset is empty, return 404.

For reference, check the dataset item thumbnail endpoints:

def get_dataset_item_thumbnail(

Metadata

Metadata

Assignees

Labels

Geti Tune BackendIssues related to Geti Tune Studio backend

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions