Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 412
    • Issues 412
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !921

API support for restricting results by scope

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Agate requested to merge 594-scope-api into develop Oct 10, 2019
  • Overview 7
  • Commits 7
  • Pipelines 5
  • Changes 7

See #594 (closed): added support for filtering API results (tracks, albums, artists, uploads, playlists, radios, listenings and favorites) by scope, e.g:

  • GET /api/v1/artists/?scope=me: list all artists available in my libraries
  • GET /api/v1/albums/?scope=all: list all albums (equivalent to omitting the scope parameter)

The scope=me parameter will be used to allow creating a UI to browse personal content, as part of #594 (closed). In the future, we me also allow scope=user@domain for browsing a specific user public content, or scope=followed to browse content from followed people.

(There is also an unrelated commit to enable MusicBrainz ID filtering on artists/albums/tracks endpoints)

cc @funkwhale/reviewers-python

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 594-scope-api