SpareRoom

查询空课室信息。鉴权:请求头 token(或 Authorization: Bearer)由 JwtSessionIdFilter 注入 session。

Changed on
post/api/spare/query

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

classNumberinteger required
endTimeinteger required
maxSeatinginteger
maxWeekinteger required
minSeatinginteger
minWeekinteger required
startTimeinteger required
typeinteger required
weekTypeinteger required
zoneinteger required

Response

Successful HTTP response; legacy business endpoints may return success=false in this envelope, while social endpoints use matching 4xx/5xx statuses

codeinteger
errorCodestring
messagestring
successboolean

Changes

    • breaking

      added required request body

    • info

      api operation id SpareRoomController_querySpareRoomList_post__api_spare_query was added

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      api tag SpareRoom added

    • info

      api tag campus-service removed

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status