Skip to content

Which fields are nullable and which are required? #34

@sspenst

Description

@sspenst

The docs specify some fields as required and some nullable, but most have no annotation.

E.g. [artist(https://developer.spotify.com/documentation/web-api/reference/get-an-artist)

followers.href says nullable, so I assumed the unmarked fields were required. In reality, at least followers, genres and images have shown to be nullable. Which fields are actually required? Can I rely on name?

Artists is just an example, I'm wondering the same for all models.

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions