Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add print queue functionality to api #280

Merged
merged 3 commits into from Feb 10, 2022
Merged

Add print queue functionality to api #280

merged 3 commits into from Feb 10, 2022

Conversation

RocketMan
Copy link
Owner

This PR adds print queue functionality to the api/v1/album API.

Supported requests are as follows:

  • GET api/v1/album/printq - retrieve collection of albums in the user's print queue
  • POST api/v1/album/:id/printq - add album with tag :id to the print queue
  • DELETE api/v1/album/:id/printq - remove album with tag :id from the print queue

All requests require X-APIKEY authentication, and you must belong to the 'm' group.

Upon success, POST and DELETE return an HTTP 204 No Content response.

The POST request will fail if the album is already in the user's queue.

@RocketMan RocketMan merged commit ff53c22 into master Feb 10, 2022
@RocketMan RocketMan deleted the printq-api branch February 10, 2022 15:09
@RocketMan RocketMan added this to the v2.11.1 milestone Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant