This repository was archived by the owner on Nov 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
API Documentation
James edited this page Aug 8, 2015
·
3 revisions
NOTE: ALL API CALLS MUST BE WITH SESSION SET (LOGIN COMPLETED)
##Library## ###Queries###
Access to the Library API is available at API/library/
API/library/ will list all entries limited to Refcode, artist, album, and status
- Refcode is the unique identifier for each entry in the database
- artist is the artist entry as entered into the database
- album is the album name as entered
- status is a integer value representing the situation of the entry based on the following values:
- NULL = no data
- 0 = rejected
- 1 = accepted
- 2 = review [currently unused]
- 3 = damaged/destroyed/lost
API/library/artist/<artist> will list all entries for and return all database information for that artist
API/library/<artist>/<album> will list all entries for and return all database information for the specified artist and album combination
####OPTIONS#### exact can be passed to force a more exact search (restricted wildcard) passing 1 will enable the strict search
eg.
API/library/hawksley%20workman/old%20cheetah/?exact=1
or
API/library/401251/?exact=1