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

Api import Items #1423

Open
wants to merge 2 commits into
base: 2.x
Choose a base branch
from
Open

Conversation

andreacasarin
Copy link

Allows to import Items in an optimistic way, to enable bulk Items import.
Under the hood it tries to match the Application from the Item title and fill all the details.

Usage:

curl -X POST 'http://localhost:8000/api/item' \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data-raw '{
  "title": "Jellyfin",
  "url": "http://jellyfin.lan",
  "tags": [
    0
  ],
  "pinned": "1",
  "optimistic": "true"
}'

@LinuxServer-CI
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants