11 Sep 2020 05:11 PM - last edited on 21 Aug 2024 11:31 AM by Michal_Gebacki
I know I'm an idiot so forgive the stupidity of this post.
Does anyone know a tutorial on using the API explorer to configure URLs? I've spent the day trying it out and I can't work out from the description how to enter the data in a the way it wants me to.
For example I thought I'd try out the "Monitored entities - Custom Tags" get request configurator. I've tagged a number of synthetic browser monitors with Chrome.
And you can add one or several of the following criteria:
tag("value")
. Tags in [context]key:value
, key:value
, and value
formats are detected and parsed automatically. If a value-only tag has a colon (:
) in it, you must escape the colon with a backslash(\
). Otherwise, the tag will be parsed as a key:value
tag. All tag values are case-sensitive.Solved! Go to Solution.
12 Sep 2020 10:37 AM
Hi @Lisa S.
You need to add to the tag also a type of entity for example:
And then you will get response:
However ,IMO there is no SYNTHETIC entity type hence you should use Synthetic API v1
with the tag you need
and get your output just fine.
Hope that will help you to smile a bit.
BTW If you are going to use REST API consider to use Sergio's Rest Api GitHub great PostMan collections.
All the best an stay safe and happy
Yos
14 Sep 2020 07:11 AM
Thank you @Yos N. I might just go with the api v.1. I liked that v.2 let you use human readable and relative dates rather than UTC timestamps but maybe v.1 is the way to go. Hmmm...
21 Sep 2020 10:56 AM
Hi @Lisa S.
Good news for you : you can use the v2 with tag("test"),type("SYNTHETIC_TEST")
Which mean bad news for me as my IMO was not right 🙂
All the Best
Yos