Skip to content

How do I query entries, even if they are disabled in GraphQL? #9953

Discussion options

You must be logged in to vote

If the schema has the "Allow listing non-live and otherwise inactive elements" setting enabled, you should be able to do

{
  entries (status:["live","disabled"]) {
    id
    title
    status
  }
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@toddpadwick
Comment options

Answer selected by toddpadwick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants