Skip to content

Replace myCollections query with collectionsV2  #18817

@insomnious

Description

@insomnious

Chore

Outline

Vortex is the only client using an deprecated myCollections query which is due for removal.
This call should be replaced with using collectionsV2 along with a suitable filter. Ideally this should be done ASAP, so we can remove this old code path on the backend.

Supporting Information

The web UI already requests 'my collections' by using collectionsV2.

filter
  collectionStatus
    {op: "EQUALS", value: "listed"}
    {op: "EQUALS", value: "published"}
    {op: "EQUALS", value: "under_moderation"}
    {op: "EQUALS", value: "unlisted"}
  userId
    {op: "EQUALS", value: "132008723"}

Nexus-Mods/node-nexus-api#29 needs merging in as it contains the extra search options necessary to filter by userid

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions