Get Memes Categories

This feature is for retrieving categories of memes in RocketMeme Platform. Detaied look at the schema is seen below:

Using the GraphQL API

Quickly fetch a list of meme categories on Rocketmemes

query GetMemeCategories {
    meme_categories() {
        id
        category_title
        no_of_memes
        thumb_nail
    }
}

For getting paginated results, use an aggregate with limit and offset values set.

query GetMemeCategories {
    meme_categories_aggregate(limit: 10, offset: 0) {
        nodes {
            id
            category_title
            no_of_memes
            thumb_nail
        }
    }
}

Good to know: The graphql api gives more flexibility to what and what data is needed.

Using the REST API

Still under development

Good to know: This API was auto generated by Hasura

Last updated