Dashboard endpoints in API #73
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This continues efforts to keep API-like stuff in the API project where it belongs (#72). Here that's involved adding a few new endpoint specifically for the artists dashboard:
/artists/[artist_id]/streams/artists/[artist_id]/tracks/users/[user_id]/artistsOn the dashboard side I've switched to remote functions in keeping with the new normal for Soli (#55, #60, #64).
At least for me this all feels a lot easier to reason with than the the pre-remote functions world. The app and dashboard are interfaces that hit the API. The API does all the actual work.