Sitecore XM Cloud API repository is a set of useful GraphQL queries aiming to accelerate integration with XM Cloud leveraging the native Authoring and Management GraphQL APIs.
..\src\AuthoringAPI\GetItemById.graphql- to get an Item by Item Id..\src\AuthoringAPI\SearchItemByTitle.graphql- to search an Item by Title field..src\AuthoringAPI\SearchItemByCustomField.graphql- to search an Item by a custom field
Hope you found these GraphQL queries helpful, your contributions and suggestions will be very much appreciated. Please submit a pull request.
Sitecore XM Cloud API repository is released under the MIT license which means that you can modify and use queries how you want even for commercial use. Please give this repository a star if you like any of queries and your experience was positive.