kevinobee / SSC.ItemService

Sitecore Services Client Item Service API documentation
http://docs.itemserviceapi.apiary.io/
MIT License
2 stars 3 forks source link

Running Sitecore Search Url #1

Open Denford29 opened 7 years ago

Denford29 commented 7 years ago

just noticed the url example you gave for the search is wrong, i think, as i been trying to use it and wasn't working and i believe its missing the word search, which actually triggers the search logic so currently its: http://xyz.com/item/?term&pageSize&page&database&language&includeStandardTemplateFields&fields&sorting&facet

but it should be:

http://xyz.com/item/search?term&pageSize&page&database&language&includeStandardTemplateFields&fields&sorting&facet

Not sure if you can edit that and update it to help someone else, took me ages to work that out.

kevinobee commented 7 years ago

Thank you for the research. I will get that fixed now. Apologies for the error.

-Kevin

On 30 Aug 2017 04:45, "Denford" notifications@github.com wrote:

just noticed the url example you gave for the search is wrong, i think, as i been trying to use it and wasn't working and i believe its missing the word search, which actually triggers the search logic so currently its: http://xyz.com/item/?term&pageSize&page&database&language& includeStandardTemplateFields&fields&sorting&facet

but it should be:

http://xyz.com/item/search?term&pageSize&page&database&language& includeStandardTemplateFields&fields&sorting&facet

Not sure if you can edit that and update it to help someone else, took me ages to work that out.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kevinobee/SSC.ItemService/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABnDotyuVXx2MahzkUM6s0Lc5xtru5Ibks5sdNregaJpZM4PG1Io .

Denford29 commented 7 years ago

No worries, the Sitecore documentation is the same as well (and that needs changing but don't know how to raise that issue).

On another note it might also be worth adding in the create and modify notes that these operations are dependent on the user API user rights i.e. by default the anonymous user once enabled has only got read access and will need the write and modify access explicitly set from the access viewer.

As you can imagine, without that knowledge took me a lot of digging around to figure that out, avian not documented at all within the Sitecore documentation.

Other than the few niggles above, great documentation especially on the c# side as the basic documentation has only got JavaScript examples.