Get Metadata
Changed onFetch 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
- The document declares no server URL.
- Auth
- OAuth 2PasswordToken URLlogin
- or API key in cookie access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking