Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chad 18 posts 122 karma points
    Apr 19, 2019 @ 15:27
    Chad
    0

    Examine Searcher Umbraco Api returning invalid JSON

    I'm trying to implement an example for adding examine results for a node as a content app. The network response however is invalid JSON. Is this a bug with umbraco 8 right now?

    Here is what the content app controller is doing:

    $http.get(umbRequestHelper.getApiUrl("examineMgmtBaseUrl", "GetSearcherDetails"))
    

    On my network tab this is calling: "/umbraco/backoffice/UmbracoApi/ExamineManagement/GetSearcherDetails"

    The response is:

    )]}',
    []
    

    This seems like a bug to me.

    I'm also curious as to how content app creators are finding documentation about how to perform the api call in question. I haven't been able to find anything referencing what api calls exist or how to call them, but I can see other users examples.

    I was following this this project

    Thanks!

  • SteveV 54 posts 240 karma points
    Apr 20, 2019 @ 17:12
  • Chad 18 posts 122 karma points
    Apr 22, 2019 @ 12:55
    Chad
    0

    So if that is the case what it's returning is an empty array of searchers. If I call "GetIndexerDetails" it returns all of my indexers. What am I missing to get the searchers to show up? Aren't those created from the indexers?

    I would like to see some documentation on these methods.

Please Sign in or register to post replies

Write your reply to:

Draft