user
problemset

查询用户加入的比赛与作业 (problemset:read)

get/user/problemsets

Response

查询成功

Example response

{
  "problemsets": [
    {
      "id": 42,
      "course": {
        "id": 42,
        "tag": {
          "id": 42
        },
        "term": {
          "id": 42
        },
        "url": "/OnlineJudge/api/v1/course/42",
        "join_url": "/OnlineJudge/api/v1/course/42/join",
        "quit_url": "/OnlineJudge/api/v1/course/42/quit",
        "html_url": "/OnlineJudge/course/42"
      },
      "problems": [
        {
          "id": 1000,
          "title": "A+B",
          "url": "/OnlineJudge/api/v1/problem/42",
          "submit_url": "/OnlineJudge/api/v1/problem/42/submit",
          "html_url": "/OnlineJudge/problem/42"
        }
      ],
      "url": "/OnlineJudge/api/v1/problemset/42",
      "join_url": "/OnlineJudge/api/v1/problemset/42/join",
      "quit_url": "/OnlineJudge/api/v1/problemset/42/quit",
      "html_url": "/OnlineJudge/problemset/42"
    }
  ]
}

Changes

Changed in 4 of the 11 revisions of this API.112

    • added the optional property problemsets/items/late_submission_deadline to the response with the 200 status

      response-optional-property-added

    • the response property problemsets/items/course/join_url became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/course/quit_url became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/course/tag became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/course/term became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/join_url became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/problems/items/html_url became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/problems/items/submit_url became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/problems/items/title became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/problems/items/url became nullable for the status 200

      response-property-became-nullable

    • the response property problemsets/items/quit_url became nullable for the status 200

      response-property-became-nullable

    • endpoint added

      endpoint-added

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

    • api path removed without deprecation

      api-path-removed-without-deprecation

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