JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
The Grid - Public Docs
Welcome to The Grid Docs
More
Using the API
Example GraphQL queries
https://cloud.hasura.io/public/graphiql?endpoint=https://maximum-grackle-73.hasura.app/v1/graphql
Note: The endpoint URL will change.
query JJProfiles {
profiles {
name
logo
urlMain
profileType {
name
}
profileStatus {
name
}
profileSector {
name
}
tagLine
descriptionShort
descriptionLong
products {
name
urlToProduct
isMainProduct
productType {
name
}
productDeployedOnProduct {
name
}
}
assets {
name
shortDescription
urlToAssetDocs
assetType {
name
}
assetDeployedOnProductId {
name
}
}
}
}
An example query, to get all the profiles that have products that are deployed on Solana would look something like this: (id 22 =Solana Mainnet)
query MyQuery {
profiles(where: {products: {deployedOnProductId: {_eq: 22}}}) {
name
logo
urlMain
profileType {
name
}
profileStatus {
name
}
profileSector {
name
}
tagLine
descriptionShort
descriptionLong
products {
name
urlToProduct
isMainProduct
productType {
name
}
productDeployedOnProduct {
name
}
}
}
}
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.