Questions tagged [api]
Any questions related to API integration including various API services provided by Sitecore like JSS, LayoutService etc
How to use the REST API to fetch data from Content Hub using Postman
Using Content Hub v4.2 I would like to fetch the data in Content Hub using the REST API, but couldn't find any Postman related examples. I tried this to get the token with no luck. Is it the right ...
Create item with branch as template using ItemService API
Good afternoon, I'm trying to create Item using REST API and branch ID as the Template ID the service returns a 400 "Template is invalid" error. Does anyone know if there is a way to create ...
Stored Sitecore search using API returns 400 error
I am trying to use stored Sitecore search using an API call from console application, but it is throwing 400 error. I have followed the sitecore documentation https://doc.sitecore.com/xp/en/developers/...
Sitecore.Context.User not persisted in api call from angular end [duplicate]
We are using Sitecore 9.3 (SXA) with Angular in frontend and Azure as Identity Provider. After user is logged in, a post request (/api/sitecore/track/customevent) is sent to AbcController from angular ...
Sitecore Role Management customization [closed]
How to Access the sitecore.Context from my custom web api to manage the Roles? I am trying to connect to sitecore context using custom APIs.
Scheduled Job loses Context after api call
I have a standard Command and Schedule Task items in Sitecore that is being executed based on interval. I am trying to track progress of this job in jobs.aspx or code but everytime code calls another ...
Get the content from third party API
We have requirement to create a dynamic Pages in SXA. This dynamic page will have a template. These template will have a page design with partial designs. All of the partial designs get the content ...
How do I force the Sitecore FieldRenderer or Glass.Mapper, when rendering rich text fields, to always render absolute urls for my API?
I have an API in Sitecore that takes content from Sitecore and provides it to an external non-Sitecore site. While retrieving content, the API renders a rich text field using a glass mapper. This rich ...
Change sort order with Sitecore Restful API
Can sortorder of a sitecore item be change or set during a Create or Edit through the Sitecore Restfull API. It seems you can only read standard fields? Sitecore Version 9.3
Get Experience Forms Performance statistics using API
Is there an API to use the form performance? I'm using Sitecore 9.3.
Sitecore OData MaxDepth $expand
I need to retrieve Sitecore item fields and its properties with more than few levels and while running the below query https://sc92instance/sitecore/api/ssc/aggregate/content/Items('76516a9f-203d-4006-...
Azure search Synonyms implementation using SXA 1.9 and Sitecore 9.2 using postman API
I have requirement to work with the synonyms for the similar group of words in search. I did load the synonyms using Postman API to SXA web index and able to see them on the index. For example: home,...
Contacts not enrolling in Automation Plan in XP Scaled topology
I am using events to enrol contacts in a Marketing Automation plan, and it works fine in XP Single topology, but in an XP Scaled topology (Azure PaaS) the contacts are not being enrolled. The plan is ...
Sitecore custom api routing is not working
Is there any known performance difference between Item.Axes.GetDescendants() and recursive Item.GetChildren()?
I was wondering if there is any known difference (mostly performance related) between those two methods of retrieving all children of a given Item. The first one will give me all levels of children in ...