Updated on 2026-11-12 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

Table 1 Procedure

Step

Description

Preparations

Prepare a database, data table, and cluster, and add an API reviewer.

Developing APIs

Create, test, and publish an API.

Authorizing API Calling

Authorize the API so that it can be called.

Calling an API

Call the API to query information about the exam.