problem
列出题目 (problem:read)
get/problem/
Query parameters
keywordstring
按关键词查找题目
problemset_idinteger
只显示指定比赛或作业中的题目
cursorinteger
分页指针
Response
查询成功
Example response
{
"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"
}
],
"next": "/OnlineJudge/api/v1/endpoint?cursor=42"
}Changes
Changed in 3 of the 11 revisions of this API.212
- ▲
the response property
nextbecame nullable for the status200response-property-became-nullable
- ●
removed the optional property
submissionsfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
problemsto the response with the200statusresponse-optional-property-added
- ▲
- ○
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
- ▲