Idea Delivered

Yes you can already do this with GraphQL.

{

  publication(namespaceId: 2, publicationId: 759917)

  {

    title

    customMetas {

      edges {

        node {

          key

          value

        }

      }

    }

  }

}

 

It will list all properties and one of them is:

 

          {

            "node": {

              "key": "FISHPUBSTATUS.lng.element",

              "value": "VPUBSTATUSPUBLISHEDDRAFT"

            }

          },

PCA endpoint for retrieving only "Draft" or "Released" publications

One of the desired use cases we've seen is to allow control over which publications of the drafts and released ones to display on the front-end (e.g. display drafts on a staging site and released publications on a production site). We could not find an easy way to do this on the Content Delivery side. Maybe it could be a filter added to a GraphQL request...