v1

latestOpenAPI 3.1.02026-07-1740131135.9 KB

Get Metadata

Fetch specific metadata for a specific problem.

Fetch specific metadata for a specific problem. See all the possible metadata types from DESDEO/desdeo/api/models/problem.py Problem Metadata section.

Args: request (MetaDataGetRequest): the requested metadata type. user (Annotated[User, Depends]): the current user. session (Annotated[Session, Depends]): the database session.

Returns: list[ForestProblemMetadata | RepresentativeNonDominatedSolutions]: list containing all the metadata defined for the problem with the requested metadata type. If no match is found, returns an empty list.

post/problem/get_metadata

Request body

problem_idinteger required
metadata_typestring required

Response

Successful Response