Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [item-web-api]

All the questions related to Item Web APIs directly or indirectly related to Sitecore.

0
votes
0answers
40 views

Is it possible to trigger publishing from Sitecore Item WebAPI

Is it somehow possible to trigger publishing of the item via Sitecore item web api? I found how to get items and similar things, but can't find the way to publish it. For instance, to get an item I ...
2
votes
1answer
44 views

Receive display names when retrieving Sitecore Items using the REST API

Using the REST API for ItemService to retrieve Sitecore Items with Multilist fields. curl --cookie ".ASPXAUTH=abcd" -X GET "https://localhost/sitecore/api/ssc/item/7ff9d310-abcd-abcd-abcd-...
2
votes
1answer
135 views

ItemService REST API - retrieve children of an item in batches

I'm wondering if there is a way to retrieve the item children in batches, I saw this ability other REST APIs where we can set pagination parameters like startIndex and itemPerPage.
1
vote
1answer
261 views

Share Sitecore content to Native Mobile Apps (IOS swift and Android java)

If we wanted to provide data (get/set operations on content tree, analytics, personalization, tracking data) from Sitecore 9 to native mobile apps (not based on Sitecore Mobile SDK and Xamarin but ...
0
votes
0answers
81 views

Create item through ItemService REST API fails with InternalServerError (500)

I'm trying to create an item through the ItemService RESTful API, but when I call this I get an InternalServerError (500), and in the log file there's this error: ERROR [Sitecore Services]: System....
1
vote
2answers
527 views

Authentication / Login for Custom ServicesApiController

I've created a custom API Controller that inherits from ServicesApiController. I've created also custom route and it all works fine. Something like the following: public class ExampleController : ...
4
votes
1answer
600 views

Getting a list of items from the ItemService API matching a specific field value

I'm trying to get a list of items from Sitecore that match a custom tag field. This is from an external application so I need to use one of the APIs to do this. I've tried using the Sitecore ...
2
votes
2answers
402 views

How to correctly login as Virtual User to use the Sitecore Content Editor? (Avoid Media Library Search redirects)

I have a situation where I need to use VirtualLogin to enable a user to access the sitecore shell and use the Content Editor / Media Library editor. This is the code for the Virtual Login (from many ...
5
votes
0answers
212 views

How do you update an attachment in the Media Library using Sitecore's Web API?

I am currently using Sitecore's RESTful ItemService API and CURL to create assets in the Media Library and have that working just fine. However, in some cases, I need to update the attachment (i.e. ...
0
votes
1answer
114 views

Item Web API returning field with empty string

In Sitecore 7.2, I am using the Item Web API to retrieve an item. The thing is, I get some fields as empty, and when I look in the content tree they are not empty, specifically an image type. Any ...
1
vote
1answer
62 views

WebApi queries on nonexistent resource returns 200

I am using the Sitecore 7.2 Item Web API to retrieve some items. Using fast queries I am not able get a "404" in case an item doesn't exist (even if i don't use fast queries, i still don't get 404). ...