ListTextbookAssistantArticleDetails

更新时间:
复制 MD 格式

Batch get article details

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

aicontent:ListTextbookAssistantSceneDetails

list

*All Resource

*

None None

Request syntax

POST /api/v1/textbookAssistant/teachingResource/ListArticleDetails HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

authToken

string

Yes

The authorization token obtained from the "Get Authorization Token for the English Textbook-Style AI Teacher" API.

tc_e6dc70c890866f4028ca685b6fa29874

articleIdList

array

No

A list of article IDs to retrieve.

string

No

The article ID.

0c05700d4d9411efbe6e0c42a106bb02

Response elements

Element

Type

Description

Example

object

Response object.

requestId

string

The request ID.

xxxx-xxxx-xxxx-xxxxxxxx

success

boolean

Indicates if the API call succeeded.

  • true: Success

  • false: Failure

true

errCode

string

The error code.

UNKNOWN_ERROR

errMessage

string

The error message.

未知错误

httpStatusCode

integer

The HTTP status code.

200

data

array<object>

An array of article detail objects.

array<object>

An article detail object.

articleId

string

The article ID.

0c05700d4d9411efbe6e0c42a106bb02

target

string

The learning objectives.

1.能够在自我介绍时运用句型“What's your name? My name is/I‘m...”进行询问及回答。\n2.能够和新朋友运用句型“Nice to meet you(too).”进行问候。

questionList

array<object>

A list of Q&A objects.

object

A Q&A object.

question

string

The question.

From the book, how does Mike Black introduce himself?

questionTranslate

string

The translated question.

根据文章,迈克·布莱克是如何介绍自己的?

answer

string

The answer.

I'm Mike Black

sceneList

array<object>

A list of scene objects.

object

A scene object.

sceneId

string

The scene ID.

38cddd70509911efbe6e0c42a106bb02

scene

string

The scene description.

In the park, you introduce yourself to John and ask his name.

sceneImageList

array

A list of image URLs for the scene.

string

An image URL.

https://xxxxxxx/file_service/dialog/xxxxxx.png

sceneTranslate

string

The translated scene description.

theme

object

The theme object.

themeName

string

The theme name.

自我认知与提升

themeTranslate

string

The translated theme name.

Self-awareness, self-management, self-improvement

themeImageList

array

A list of image URLs for the theme.

string

An image URL.

https://xxxxxxx/file_service/dialog/xxxxxx.png

topic

object

The topic object.

topicName

string

The topic name.

打招呼与自我介绍

topicTranslate

string

The translated topic name.

Greetings and self-introduction

topicImageList

array

A list of image URLs for the topic.

string

An image URL.

https://xxxxxxx/file_service/dialog/xxxxxx.png

sentenceList

array<object>

A list of sentence objects.

object

A sentence object.

sentenceId

string

The sentence ID.

4de677d2509811efbe6e0c42a106bb02

sentenceText

string

The sentence text.

I'm Mike Black

sentenceAnalysis

string

The sentence analysis.

主语 + be动词(am/is/are) + 姓名.

wordList

array<object>

A list of word objects.

object

A word object.

wordId

string

The word ID.

a94df134ed8c11eebe6e0c42a106bb02

wordText

string

The word text.

nice

wordAnalysis

string

The word analysis.

令人愉快的;友好的

Examples

Success response

JSON format

{
  "requestId": "xxxx-xxxx-xxxx-xxxxxxxx",
  "success": true,
  "errCode": "UNKNOWN_ERROR",
  "errMessage": "未知错误",
  "httpStatusCode": 200,
  "data": [
    {
      "articleId": "0c05700d4d9411efbe6e0c42a106bb02",
      "target": "1.能够在自我介绍时运用句型“What's your name? My name is/I‘m...”进行询问及回答。\\n2.能够和新朋友运用句型“Nice to meet you(too).”进行问候。",
      "questionList": [
        {
          "question": "From the book, how does Mike Black introduce himself?",
          "questionTranslate": "根据文章,迈克·布莱克是如何介绍自己的?",
          "answer": "I'm Mike Black"
        }
      ],
      "sceneList": [
        {
          "sceneId": "38cddd70509911efbe6e0c42a106bb02",
          "scene": "In the park, you introduce yourself to John and ask his name.",
          "sceneImageList": [
            "https://xxxxxxx/file_service/dialog/xxxxxx.png"
          ],
          "sceneTranslate": ""
        }
      ],
      "theme": {
        "themeName": "自我认知与提升",
        "themeTranslate": "Self-awareness, self-management, self-improvement",
        "themeImageList": [
          "https://xxxxxxx/file_service/dialog/xxxxxx.png"
        ]
      },
      "topic": {
        "topicName": "打招呼与自我介绍",
        "topicTranslate": "Greetings and self-introduction",
        "topicImageList": [
          "https://xxxxxxx/file_service/dialog/xxxxxx.png"
        ]
      },
      "sentenceList": [
        {
          "sentenceId": "4de677d2509811efbe6e0c42a106bb02",
          "sentenceText": "I'm Mike Black",
          "sentenceAnalysis": "主语 + be动词(am/is/are) + 姓名."
        }
      ],
      "wordList": [
        {
          "wordId": "a94df134ed8c11eebe6e0c42a106bb02",
          "wordText": "nice",
          "wordAnalysis": "令人愉快的;友好的"
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.