
Albert Marrero • about 6 years ago
Does anyone know how to access data for Public Safety RESTful service?
I am trying to get data using /v1/assets/search or v1/location/search? is there a list of parameters that we can use. Can someone provide an example of proper API url? :D
Comments are closed.
7 comments
Janine Zhu Manager • about 6 years ago
You can use the bounding box from this page: http://currentbyge.github.io/GE_Current_Documentation/#c_overview_of_general_apis.html
Here are some example
http://currentbyge.github.io/GE_Current_Documentation/#r_get_list_of_assets_api.html
http://currentbyge.github.io/GE_Current_Documentation/#r_get_list_of_locations_api.html
Albert Marrero • about 6 years ago
Thank you so much Janine. One more question. Do you know how access the media type for a certain asset?
Janine Zhu Manager • about 6 years ago
You welcome.. You have to subscribe to the public safety service: https://www.predix.io/services/service.html?id=1767
Albert Marrero • about 6 years ago
did that!! thank ^.^
Anthony Nowaya • about 6 years ago
@Albert Marrero where you able to access data for Public Safety RESTful service? after subscribing. if yes how, thanks
Janine Zhu Manager • about 6 years ago
@Anthony Nowaya, have you tried following instructions on these two pages:
http://currentbyge.github.io/GE_Current_Documentation/#t_quick_start_predix_security.html
http://currentbyge.github.io/GE_Current_Documentation/#t_quick_start_predix_and_security.html
Albert Marrero • about 6 years ago
@Anthony Nowaya
I was able to gain access to the data by following instruction on this page and the video was kinda of helpful:
http://currentbyge.github.io/GE_Current_Documentation/#t_quick_start_predix_security.html
As a piece of a advice, create a predix app and you are able to call the API from there.