• Poetry GraphQL document
  • The front-end display

Open GraphQL Playground to test

poetry

query POEMS {
  poems {
    id
    uuid
    # titles
    title

    # Poetry and prose
    kind

    # introduction
    intro

    # Poetry content
    paragraphs

    # appreciation
    appreciation

    translation
    annotations

    # :
    phrases {
      id
    }

    # label
    tags {
      id
    }

    # the author
    author {
      id
    }
  }
}
Copy the code

The author

query AUTHORS {
  authors {
    id
    uuid
    name
    intro
    birthYear
    deathYear

    # dynasty
    dynasty
    baikeUrl

    # The author's poetry
    poems {
      id
    }
  }
}
Copy the code

:

# :
query PHRASES {
  phrases {
    id
    # in the poem
    poem {
      id
    }
  }
}
Copy the code

The label

query TAGS {
  tags {
    id
    name
  }
}
Copy the code