Catalogs

Perform actions on a catalog file

Changed on

Perform actions on local catalog files. Single file versions of catalog add, clean, verify and remove (delete) Make sure you remember to urlencode those file names!

post/catalogs/{catalog_id}/file

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/catalogs/{catalog_id}/file
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Path parameters

catalog_idstring required

Unique identifier of the catalog.

Query parameters

filestring
taskstring

add,clean,verify,remove (comma-separated allowed)

Request body

filestring required
taskstring required

add,clean,verify,remove (comma-separated allowed)

Response

Success

successstring

Changes

    • info

      api operation id catalogFile was added

    • info

      added optional request body

    • info

      the query request parameter file became optional

    • info

      the query request parameter task became optional

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status