mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-25 16:34:00 +02:00
title
| title |
|---|
| Series Update |
Series Update Endpoint
The series update endpoint updates a series and returns the updated series resource.
For example, the /api/series/monogatari?name=Monogatari endpoint will update the Monogatari series name attribute and return the updated Monogatari resource.
URL
PUT|PATCH /api/series/{slug}
Authentication
Required Permission: update series
Roles with Permission: Wiki Editor, Admin
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"
}
}