Files

1.1 KiB

title
title
Series Update

Series Update Endpoint

The series update endpoint updates a series and returns the updated series resource.

For example, the /series/monogatari?name=Monogatari endpoint will update the Monogatari series name attribute and return the updated Monogatari resource.

URL

PUT|PATCH /series/{slug}

Authentication

Required Permission: update series

Roles with Permission: Content Moderator, Encoder, Admin

Other Requirements: Series must not be soft deleted

Parameters

Name Required Rules
name No string, max:192
slug No string, max:192, alpha_dash, unique

Response

{
    series: {
        id: id,
        name: "name",
        slug: "slug",
        created_at: "created_at",
        updated_at: "updated_at",
        deleted_at: "deleted_at"
    }
}

Example

curl -X PATCH -H "Authorization: Bearer {token}" https://api.animethemes.moe/series/monogatari