Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphQL issue - getMintedMoments #220

Open
xaviers1998 opened this issue Aug 1, 2023 · 0 comments
Open

GraphQL issue - getMintedMoments #220

xaviers1998 opened this issue Aug 1, 2023 · 0 comments

Comments

@xaviers1998
Copy link

We have been using the GraphQL endpoint to make queries for data on Top Shot for a while and one of the queries we were running seems like it stopped working.

getMintedMoments
https://developers.nbatopshot.com/docs/GraphQL/queries/get-minted-moments

I tried running the query on postman as well and we're constantly getting null results:

{
    "data": {
        "getMintedMoments": {
            "data": [
                null
            ]
        }
    }
}

Here is my query, which we supply an array of moment Ids:

query getMomentMedia($momentIds: [ID!]!) {
  getMintedMoments(input: { momentIds: $momentIds }) {
    data {
        id
        set {
            flowName
            assetPath
        }
        flowId
        forSale
        flowSerialNumber
        tier
        setPlay {
            flowRetired
            circulations {
                circulationCount
            }
        }
        play {
            stats {
                playType
            }
            headline
            shortDescription
            description
            assets {
                images {
                    url
                }
                videos {
                    url
                }
            }
        }
    }
  }
}
@xaviers1998 xaviers1998 changed the title GraphGL issue - getMintedMoments GraphQL issue - getMintedMoments Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant