Files
animethemes-api-docs/docs/jsonapi/reference/admin/dump/update/index.md
T
2025-07-29 00:56:10 +02:00

850 B

title
title
Dump Update

Dump Update Endpoint

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

For example, the /dump/1?path=animethemes-db-dump-wiki-1663559663946.sql endpoint will update the dump path attribute and return the updated dump resource.

URL

PUT|PATCH /dump/{id}

Authentication

Required Permission: update dump

Roles with Permission: Admin

Parameters

Name Required Rules
path No string, max:192

Response

{
    dump: {
        id: id,
        path: "path",
        created_at: "created_at",
        updated_at: "updated_at",
        link: "link"
    }
}

Example

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