0% found this document useful (0 votes)
183 views2 pages

Pulse Api Version 1.1: Sunoutage

IDirect DevTools document

Uploaded by

Aboud Khalil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
183 views2 pages

Pulse Api Version 1.1: Sunoutage

IDirect DevTools document

Uploaded by

Aboud Khalil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

4/21/2019 iDirect | DevTools

Pulse API version 1.1

API 1.1 has been developed to o er improved speed and


reliability to API 1.0 using di erent technology. API 1.1 should
be used in preference to API 1.0, although the API load can be
shared between the two API versions as they have identical
schemas.

The following resources are available on API 1.1:

[GET] /dde/event
[GET] /dde/alarm
[GET] /dde/event/{id}
[GET] /dde/alarm/{id}
[GET] /stats
[GET] /status

Additional resources are available in API 1.1. Full details of each


are available in the Dev Tools API Documentation Interface

SunOutage

The sunoutage endpoints return sets of timestamp ranges


when sunoutages are likely to occur.

[GET] /sunoutage
[GET] /sunoutage/terminal
[GET] /sunoutage/site

Request:

curl -sk
"http://demo:[email protected]/api/1.1/sunoutage
/site?site_id=2247&band=C&season=Spring&year=2017" \
-X GET | json_pp

Response:

https://195.122.70.206/pulse/velocity/api-versions/api11 1/2
4/21/2019 iDirect | DevTools

{ "errors": [], "data": [ { "end_epoch":


"1488975976", "start_epoch": "1488974011", "id":
"2247", "end": "2017-03-08 12:26:16", "start": "2017-
03-08 11:53:31" }, { "end_epoch": "1489062293",
"start_epoch": "1489060463", "id": "2247", "end":
"2017-03-09 12:24:53", "start": "2017-03-09 11:54:23"
} ], "meta": { "count": 17 } }

Update Actionplan

The Update Actionplan endpoint gives information about


outstanding actionplans .

[GET] /update/actionplan

Request:

curl -sk
"http://demo:[email protected]/api/1.1/update/ac
tionplan?limit=1" | json_pp

Response:

{ "errors": [], "data": [ { "targets": [ {


"service_attributes": { "SERVICE_EXTRA_ID":
"Site4_Stats_Reader_XDR_1" }, "element_id": 67,
"target_type": 601 } ], "transmission_protocol":
"TCP", "umd_instance_id": 0, "created_time":
1504799407, "site_id": 4, "umd_service_name":
"update_manager_NMS_SVC_XDR", "finished_time": 0,
"execution_time": 1504799412, "modified_time":
1504799407, "plan_id": 723, "destination_ip":
"INET;10.1.242.167;15962", "plan_state": 3 }, {
"targets": [ { "service_attributes": {
"SERVICE_EXTRA_ID":
"Site4_Hist_Stats_Mgr_Reader_XDR_1" }, "element_id":
67, "target_type": 601 } ], "transmission_protocol":
"TCP", "umd_instance_id": 0, "created_time":
1504799407, "site_id": 4, "umd_service_name":
"update_manager_NMS_SVC_XDR", "finished_time": 0,
"execution_time": 1504799412, "modified_time":
Back
1504799407, "plan_id": 724, "destination_ip":

© 2019 VT iDirect, Inc. All rights reserved. 13861 Sunrise Valley Drive, Suite 300, Herndon, Virginia 20171.
Phone: +1.703.648.8000 Toll-free: +1.866.345.0983

https://195.122.70.206/pulse/velocity/api-versions/api11 2/2

You might also like