Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: progress api #186

Closed
wants to merge 95 commits into from
Closed

Conversation

trim21
Copy link
Contributor

@trim21 trim21 commented Jun 27, 2022

blocked

"/v0/users/-/collections/episodes/{episode_id}":
  put:
    tags:
      - 收藏
    summary: 更新用户章节收藏状态
    description: |
      修改章节收藏状况
      
      ## 限制
      
      只能修改已收藏的条目。
      
      只能修改动画和三次元的章节情况。
    operationId: putUserEpisodesCollection
    parameters:
      - *path_episode_id
    requestBody:
      required: true
      content:
        application/json:
          schema:
            $ref: "./components/put-user-episodes-collection.yaml"
    responses:
      "204":
        description: Successful Response
      "400":
        description: Validation Error
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ErrorDetail"
      
      "401":
        description: Unauthorized
        content:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ErrorDetail"
      
      "404":
        description: 条目不存在或者已经被移除
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ErrorDetail"
      
      "422":
        description: 请求不是 JSON 或者无法以 JSON 解析请求体。
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/ErrorDetail"
    
    security:
      - HTTPBearer: []

close #

@trim21 trim21 closed this Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant