# 网络抄袭

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/plagiarism/check:
    post:
      summary: 网络抄袭
      deprecated: false
      description: >-
        通过多语言抄袭检查来检查任何语言的抄袭行为。


        ### 文字成本


        **字数：** 1x-3x

        **字数说明：**字数由输入文本决定。 API 字数成本是字数的 1 倍。 API 字数成本是“googleScholarSearch:
        true”字数的 3 倍。
      tags:
        - 抄袭
      parameters:
        - name: content-type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                language:
                  type: string
                text:
                  type: string
              required:
                - language
                - text
              x-apifox-orders:
                - language
                - text
            example:
              language: auto
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  language:
                    type: string
                  percentPlagiarism:
                    type: integer
                  sources:
                    type: array
                    items:
                      type: object
                      properties:
                        reference:
                          type: object
                          properties:
                            id:
                              type: integer
                            url:
                              type: string
                            title:
                              type: string
                            dateAccessed:
                              type: string
                            authors:
                              type: array
                              items:
                                type: object
                                properties:
                                  firstName:
                                    type: string
                                  lastName:
                                    type: string
                                  fullName:
                                    type: string
                                x-apifox-orders:
                                  - firstName
                                  - lastName
                                  - fullName
                            texts:
                              type: array
                              items:
                                type: object
                                properties:
                                  text:
                                    type: string
                                  type:
                                    type: string
                                x-apifox-orders:
                                  - text
                                  - type
                            metadata:
                              type: object
                              properties:
                                source:
                                  type: string
                              required:
                                - source
                              x-apifox-orders:
                                - source
                          required:
                            - id
                            - url
                            - title
                            - dateAccessed
                            - authors
                            - texts
                            - metadata
                          x-apifox-orders:
                            - id
                            - url
                            - title
                            - dateAccessed
                            - authors
                            - texts
                            - metadata
                        matches:
                          type: array
                          items:
                            type: object
                            properties:
                              context:
                                type: object
                                properties:
                                  after:
                                    type: string
                                  before:
                                    type: string
                                required:
                                  - after
                                  - before
                                x-apifox-orders:
                                  - after
                                  - before
                              matchScore:
                                type: integer
                              matchText:
                                type: string
                              startIndex:
                                type: integer
                              endIndex:
                                type: integer
                            x-apifox-orders:
                              - context
                              - matchScore
                              - matchText
                              - startIndex
                              - endIndex
                      x-apifox-orders:
                        - reference
                        - matches
                required:
                  - language
                  - percentPlagiarism
                  - sources
                x-apifox-orders:
                  - language
                  - percentPlagiarism
                  - sources
              example:
                language: string
                percentPlagiarism: 0
                sources:
                  - reference:
                      id: 0
                      url: string
                      title: string
                      dateAccessed: string
                      authors:
                        - firstName: string
                          lastName: string
                          fullName: string
                      texts:
                        - text: string
                          type: aiGenerated
                      metadata:
                        source: web
                    matches:
                      - context:
                          after: string
                          before: string
                        matchScore: 0
                        matchText: string
                        startIndex: 0
                        endIndex: 0
          headers: {}
          x-apifox-name: 成功
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  error:
                    type: string
                  statusCode:
                    type: integer
                required:
                  - message
                  - error
                  - statusCode
                x-apifox-orders:
                  - message
                  - error
                  - statusCode
          headers: {}
          x-apifox-name: 请求有误
      security: []
      x-apifox-folder: 抄袭
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/4355615/apis/api-166427532-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: http://dev-cn.your-api-server.com
    description: 开发环境
  - url: http://test-cn.your-api-server.com
    description: 测试环境
  - url: https://api.smodin.io
    description: 正式环境
security: []

```
