Property | Type | Description |
---|---|---|
author | Pointer to User | post author |
caption | String | user-made caption |
artpath | String | link to album art |
likes | Relation of Users | maps relation of users who liked the post |
uri | String | Spotify-specific track uri |
Property | Type | Description |
---|---|---|
user | Pointer to User | user whose relationships are being tracked |
followers | Relation of Users | others who follow user |
following | Relation of Users | friends that user follows |
Property | Type | Description |
---|---|---|
user | Pointer to User | user whose likes are being tracked |
likedTracks | Array | liked tracks |
likedGenres | Array | liked genres |
likedArtists | Array | liked artists |
- Feed screen
- (Read/GET) Query all posts in descending order by time
- (Create/POST) Create new like on a post
- (Delete) Delete existing like
- (Create/POST) Create a new comment on a post
- (Delete) Delete existing comment
- (Create/POST) Add song to playlist (can be existing or not)
- Swipe screen
- (Read/GET) Retrieve recommended songs
- "Liked" screen
- (Create/POST) Create new post
- Profile screen
- (Read/GET) Retrieve user data
Base URL: https://api.spotify.com/v1
HTTP Verb | Endpoint | Description |
---|---|---|
GET | /me/top/{type} | gets current user's top artists/tracks (type is "artists" or "tracks" based on calculated affinity |
GET | /me | get profile information |
GET | /recommendations | generated based on given "seed entity," which can be artists, generes, or tracks |