Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Documentation missing #126

Closed
kenokenobingo opened this issue Jun 28, 2019 · 5 comments
Closed

Documentation missing #126

kenokenobingo opened this issue Jun 28, 2019 · 5 comments
Labels
Documentation Missing documents and help

Comments

@kenokenobingo
Copy link

A documentation for the front-end would be cool. In particular, I’m wondering where to change the location Lychee loads the photos from.

@ildyria
Copy link
Member

ildyria commented Jun 28, 2019

I don't understand your question. The URLs are provided by the back end.

Sure the JavaScript code is lacking a bit of documentation but the API interface has already be described (see API.md)

@ildyria ildyria added the Documentation Missing documents and help label Jun 29, 2019
@kenokenobingo
Copy link
Author

kenokenobingo commented Jun 29, 2019

I don't understand your question. The URLs are provided by the back end.

How does the front-end get the URLs from the back-end?

EDIT: They’re included in the API responses for each file, right?

@ildyria
Copy link
Member

ildyria commented Jun 29, 2019

yes. Basically you query a photo with API/Photo::get given an photoID and albumID and as a result you get a bunch of information, including the urls of the pictures for each size.

@ildyria
Copy link
Member

ildyria commented Apr 17, 2020

Fixed with the updated API file in the wiki of Lychee.

@ildyria ildyria closed this as completed Apr 17, 2020
@kenokenobingo
Copy link
Author

Thanks! :)

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Missing documents and help
Projects
None yet
Development

No branches or pull requests

2 participants