Updated on 2026-03-20 GMT+08:00

Scenario

Scenario

This example describes how to use the DataArts DataService module of DataArts Studio to develop an API for querying exam scores. The API is expected to provide the following query capabilities:

  • Querying the scores of all examinees
  • Querying the score of an examinee
  • Checking whether an examinee passed the exam
  • Querying the list of examinees who passed the exam
  • Sorting the examinees who passed the exam by score

Procedure

  1. Preparations: Prepare a database, data table, and cluster, and add an API reviewer.
  2. Developing an API: Create, test, and publish an API.
  3. Authorizing API calling: Authorize the API so that it can be called.
  4. Calling the API: Call the API to query information about the exam.