Does Liferay DXP 7.2 has GraphQL support?Does Liferay DXP 7.2 has GraphQL support?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1177138852024-03-29T09:29:36Z2024-03-29T09:29:36ZRE: Does Liferay DXP 7.2 has GraphQL support?Fernando Fernandezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180578912019-12-11T19:40:29Z2019-12-11T19:40:29ZYup. Somehow I messed up the base64 in my previous atempt. It works now. :-)Fernando Fernandez2019-12-11T19:40:29ZRE: Does Liferay DXP 7.2 has GraphQL support?ANKIT SRIVASTAVAhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180547852019-12-11T16:44:41Z2019-12-11T16:44:41ZYou can add header "AUTHORIZATION" as "<strong>Basic dGVzdEBsaWZlcmF5LmNvbTp0ZXN0" </strong> where I have provided Base64 encoding for <a href="">"test@liferay.com</a>:test". You need to change it as per your setup.ANKIT SRIVASTAVA2019-12-11T16:44:41ZRE: Does Liferay DXP 7.2 has GraphQL support?Fernando Fernandezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180558482019-12-11T16:29:07Z2019-12-11T16:29:07ZAre you able to do queries that require authentication with Altair? I still don't know how you authenticate the requests... I read that you can add a Basic auth header but I couldn't make it work up to now (working with curl, though).<br /><br />Fernando Fernando Fernandez2019-12-11T16:29:07ZRE: Does Liferay DXP 7.2 has GraphQL support?ANKIT SRIVASTAVAhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180537632019-12-11T16:02:53Z2019-12-11T16:02:53Z<a href="https://liferay.dev/blogs/-/blogs/new-graphql-apis-in-liferay-7-2">https://liferay.dev/blogs/-/blogs/new-graphql-apis-in-liferay-7-2</a><br />RestBuilder tool in DXP 7.2 creates the Rest Services with OpenAPI and GraphQL support. ANKIT SRIVASTAVA2019-12-11T16:02:53ZRE: Does Liferay DXP 7.2 has GraphQL support?Jack Bakkerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180513712019-12-11T14:37:42Z2019-12-11T14:37:42Z<strong>Hey Andre, that moment of success is exciting. </strong>Jack Bakker2019-12-11T14:37:42ZRE: Does Liferay DXP 7.2 has GraphQL support?Andre Kreienbringhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180496172019-12-11T13:32:06Z2019-12-11T13:32:06Z<html><head></head><body>Sorry I was wrong:<br>Using Altair, a GraphQL Client extension of Firefox and sending a query works fine:<br><pre><code>query {
&nbsp; messageBoardThreads(siteKey: "Guest") {
&nbsp;&nbsp;&nbsp; items {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aggregateRating {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ratingCount
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ratingValue
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; articleBody
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; messageBoardMessages {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; items {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; headline
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; page
&nbsp;&nbsp;&nbsp; pageSize
&nbsp;&nbsp;&nbsp; totalCount
&nbsp; }
}
</code></pre></body></html>Andre Kreienbring2019-12-11T13:32:06ZRE: Does Liferay DXP 7.2 has GraphQL support?Andre Kreienbringhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180468912019-12-11T12:42:24Z2019-12-11T12:42:24ZI have a Liferay 7.2 CE GA2 up and running but<br />The URL <br /><a href="http://localhost:8080/o/graphql">http://localhost:8080/o/graphql</a> <br />like documented here<br /><a href="https://portal.liferay.dev/docs/7-2/frameworks/-/knowledge_base/f/get-started-discover-the-api">https://portal.liferay.dev/docs/7-2/frameworks/-/knowledge_base/f/get-started-discover-the-api</a><br />returns nothingAndre Kreienbring2019-12-11T12:42:24ZRE: Does Liferay DXP 7.2 has GraphQL support?Denis Signorettohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1178305102019-11-20T08:49:27Z2019-11-20T08:49:27ZHi Gwowen,<br /> as announced here, <a href="https://liferay.dev/blogs/-/blogs/liferay-portal-7-2-ce-ga2-release">https://liferay.dev/blogs/-/blogs/liferay-portal-7-2-ce-ga2-release</a><br />Liferay GraphQL support has been added to Liferay 7.2 CE GA2 (recently released) and to 7.2 DXP SP1.Denis Signoretto2019-11-20T08:49:27ZRE: Does Liferay DXP 7.2 has GraphQL support?David H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1177304202019-11-09T11:24:07Z2019-11-09T11:24:07ZDocumentation is being worked on Gwowen, not sure though of ETA.David H Nebinger2019-11-09T11:24:07ZRE: Does Liferay DXP 7.2 has GraphQL support?Jack Bakkerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1177125812019-11-08T22:40:00Z2019-11-08T22:40:00ZI have also heard GraphQL support in Liferay is still a work in progress. I have a project with a golang server app handling the GraphQL api from a frontend PWA (lit-html, lit-apollo) where in turn the golang app interfaces with the new headless api . For the golang code (consuming the Liferay REST apis) I used the openapi-generator: which can generate code for many languages and supports openapi3. On my radar for the future is looking at the GraphQL in Liferay itself, but have not dove into it yet. Jack Bakker2019-11-08T22:40:00ZRE: Does Liferay DXP 7.2 has GraphQL support?Gwowen Fuhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1177146522019-11-08T22:17:12Z2019-11-08T22:17:12ZThanks! This page, <a href="https://www.liferay.com/solutions/headless-apis">https://www.liferay.com/solutions/headless-apis</a>, says GraphQL is supported, but I was not able to find any documentation at all.Gwowen Fu2019-11-08T22:17:12ZRE: Does Liferay DXP 7.2 has GraphQL support?Jack Bakkerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1177122012019-11-08T20:36:50Z2019-11-08T20:36:50ZIn Liferay's slack I was told support for GraphQL is available in 7.2 SP1 and 7.1 FP12 onwards, will be released in 7.2 GA2. But I don't work for Liferay so can't confirm this <img alt="emoticon" src="@