Topview-api-English version
    Topview-api-English version
    • API Document
    • Avatar Marketing Video
      • script
        • List script content
        • Update script content
      • Submit task
        POST
      • Query task
        GET
      • Export
        POST
    • Video Avatar
      • submit task
        POST
      • query task
        GET
    • Scraper
      • submit scraper task
        POST
      • query scraper task
        GET
    • Upload
      • Get Upload Credential
        GET
      • Get Upload Check
        GET
    • Product Avatar
      • Replace Product Image
        • submit task
        • query task
      • Image2Video
        • submit task
        • query task
      • Category Query
        GET
      • Public product avatar Query
        GET
    • Common Task
      • image2Video
        • submit task
        • query task
    • Product AnyShoot
      • Replace Product Image
        • submit task
        • query task
      • Template Category
        GET
      • Template List
        GET
    • Caption List
      GET
    • Voice Query
      GET
    • AiAvatar Query
      GET
    • check notice url
      POST
    • Ethnicity Query
      GET

      Ethnicity Query

      Developing
      GET
      /v1/ethnicity/list
      查询人种列表

      Request

      Query Params
      scene
      enum<string> 
      required
      The scene of using ethnicity.
      Allowed values:
      video_avatarproduct_avatar
      pageNo
      integer 
      optional
      page number
      pageSize
      integer 
      optional
      data size per page
      Header Params
      Authorization
      string 
      optional
      Topview-Uid
      string 
      optional

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://api.topview.ai/v1/ethnicity/list?scene&pageNo&pageSize' \
      --header 'Authorization;' \
      --header 'Topview-Uid;'

      Responses

      🟢200OK
      application/json
      Body
      code
      string 
      required
      message
      string 
      required
      result
      array [object {2}] 
      required
      ethnicityId
      string 
      required
      ethnicityName
      string 
      required
      Example
      {
          "code": "string",
          "message": "string",
          "result": [
              {
                  "ethnicityId": "string",
                  "ethnicityName": "string"
              }
          ]
      }
      Modified at 2025-05-16 06:29:00
      Previous
      check notice url
      Built with