Provide Endpoints to Modify Series Metadata #4

Open
opened 2024-08-07 20:31:36 +00:00 by Neshura · 2 comments
Owner

JNC Epubs do not auto populate:

  • Genre
  • Tags
  • Summary
  • Age Rating
  • Web Links

The Following Endpoints are needed:

  • /series/get
  • /series/put

Parameters for get tbd
Parameters for put should include all possible fields

JNC Epubs do not auto populate: - Genre - Tags - Summary - Age Rating - Web Links The Following Endpoints are needed: - /series/get - /series/put Parameters for get tbd Parameters for put should include all possible fields
Neshura self-assigned this 2024-08-07 20:31:39 +00:00
Neshura added the
enhancement
label 2024-08-07 20:32:30 +00:00
Author
Owner

Endpoint changes (including existing file endpoint):

POST /process/start -> process_id (creates directory under same name in temp folder)
POST /file?pid={process_id} > stores file in process temp folder
POST /metadata/file?pid={process_id} > stores metadata file in temp folder
POST /metadata/volume?pid={process_id} > volume metadata (ComicInfo.xml/Content.opf Format)
POST /metadata/kavita?pid={process_id} > override Kavita metadata fields
GET /metadata/kavita?pid={process_id} -> Kavita Metadata for the Series (if Series exists)
POST /library?pid={process_id} > sets the target library
POST /process/end?pid={process_id} -> finalizes process, bundles metadata correctly and uploads to the server. Returns success bool

Endpoint changes (including existing file endpoint): `POST /process/start` -> process_id (creates directory under same name in temp folder) `POST /file?pid={process_id}` > stores file in process temp folder `POST /metadata/file?pid={process_id}` > stores metadata file in temp folder `POST /metadata/volume?pid={process_id}` > volume metadata (ComicInfo.xml/Content.opf Format) `POST /metadata/kavita?pid={process_id}` > override Kavita metadata fields `GET /metadata/kavita?pid={process_id}` -> Kavita Metadata for the Series (if Series exists) `POST /library?pid={process_id}` > sets the target library `POST /process/end?pid={process_id}` -> finalizes process, bundles metadata correctly and uploads to the server. Returns success bool
Author
Owner

process_id will be semi-random but guaranteed unique at any point in time

process_id will be semi-random but guaranteed unique at any point in time
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Kavita-Web-Manager/api-backend#4
No description provided.