Get Problems

Get information on all the current user's problems.

Args: user (Annotated[User, Depends): the current user.

Returns: list[ProblemInfoSmall]: a list of information on all the problems.

get/problem/all

Response

Successful Response

namestring required
descriptionstring required
is_convexboolean nullable required
is_linearboolean nullable required
is_twice_differentiableboolean nullable required
scenario_keysstring[] nullable required
variable_domain'continuous' | 'binary' | 'integer' | 'mixed' required

An enumerator for the possible variable type domains of a problem.

idinteger required
user_idinteger required

Changes

Changed in 2 of the 2 revisions of this API.13

    • the endpoint scheme security APIKeyCookie was added to the API

      api-security-added

    • added the required property items/problem_metadata to the response with the 200 status

      response-required-property-added

    This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • bbcc40488a7211See the full diff
    • removed the required property items/problem_metadata from the response with the 200 status

      response-required-property-removed

    • the endpoint scheme security APIKeyCookie was removed from the API

      api-security-removed

    This revision also has 103 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog