Skip to content

example of WJ api returned data #15

Description

@A-lexisL

wj.sjtu.edu.cn provides a development API to fetch submission data. Find it in Edit page of one questionnaire, and it will generate a specific url to post request to.
The official documentation: apidoc_v3.
The returned data may look like this:

{
  "success": true,
  "message": "ok",
  "data": {
    "rows": [
      {
        "answers": [
          {
            "answer": "qqqq",
            "question": {
              "answer_name": "qqqq",
              "id": 10469990, //question_id
              "question_type": "填空题",
              "title": "请输入8位随机码"
            }
          }
        ],
        "id": 3913814, //answer_id
        "ip_address": "127.0.0.1",
        "status": 0,
        "submitted_at": "2025-09-10T15:34:07.972+08:00",
        "tags": [],
        "user": {
          "account": "xxxxx", //JAccount
          "name": "xxx", //real name
          "organization": "密西根学院"
        }
      }
    ],
    "total": 2
  },
  "code": 0
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions