Catalogs

Upload a media file to the upload catalog

Changed on

Add a media file to the catalog named by the upload_catalog preference.

post/upload

Request

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

Query parameters

filenamestring

File name, required when the file is sent as the request body rather than as the upl form field

licenseinteger

License id, required when licensing is enabled

artist_idinteger
artist_namestring

Create or reuse an artist you own

album_idinteger
album_namestring

Create or reuse an album you own

Request body multipart/form-data

uplstring binary

Response

Uploaded

successstring

Changes