Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2021-02-08 15:09:16

jatish_khanna@infosys.com
Member
Registered: 2021-01-22
Posts: 4

Using JSON API - Thirdlight

I would like to access the Thirdlight JSON API using custom developed application.

I would like to know the usage of the JSON API, can any body share an example?

1) https://<>.thirdlight.com/docs/api/legacy.html#Search_AdvancedSearch

Offline

#2 2021-02-08 15:40:43

thirdlight
Third Light Staff
Registered: 2013-06-06
Posts: 23

Re: Using JSON API - Thirdlight

Hi Jatish

A good place to start is here; https://www.thirdlight.com/docs/display … l+use+case

Taking an example, if you have a keyword or dropdown called "Approved", with the metadata key being "isApproved", then an example advanced search for things where this field is set to No looks like this:

{"apiVersion":"2.0", "sessionId":"YOUR_SESSION_ID", "inParams":{"query":[{"condition":"IS","value":"No","field":"meta:isApproved"}]}, "action":"Search.AdvancedSearch"}

The scope of the search depends on the session here.

See also: https://www.thirdlight.com/docs/display … quick+tips

Wishing you good luck but do remember the public API is the only preferred way where possible (look for more API methods in Chorus v3.3 coming soon).

Best wishes
Michael

Offline

Board footer