AlexVeeBee's Wiki

LocalHouse media API

Base url : "api/v1" for version 0.0.3

User

GET : /user

Auth is required
{.is-info}
Get data from the current user

Parameters

Body

{
	"username": string,
	"password": string
}

Response

{
	"token": string,
	"expires": strong
}

PUT : /user

Auth is required

Update the current user

DELETE : /user

Auth is required

Admin or user privlages only

Delete the user and the files
Cannot be undone