forked from KelvinTegelaar/AzGlue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
itglue-endpoints.yml
1067 lines (1040 loc) · 46.1 KB
/
itglue-endpoints.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# WARNING: None of the content here has been tested.
# Please validate everything yourself, and check it against
# the IT Glue documentation. https://api.itglue.com/developer/
related_items:
endpoints:
- /:id/:id/relationships/related_items
- /:id/:id/relationships/related_items/:id
methods:
- DELETE
- PATCH
- POST
allowed_parameters:
required_parameters:
createbody:
data:
- type: string
attributes:
destination_id: int
destination_type: string
notes: string
id: int
returnbody:
data:
- type: string
attributes:
destination_id: int
destination_type: string
notes: string
id: int
configurations:
endpoints:
- /configurations
- /configurations/:id
- /organizations/:id/relationships/configurations
- /organizations/:id/relationships/configurations/:id
methods:
- DELETE
- GET
- PATCH
- POST
allowed_parameters:
- filter[asset_tag]
- filter[configuration_status_id]
- filter[configuration_type_id]
- filter[contact_id]
- filter[id]
- filter[name]
- filter[organization_id]
- filter[psa_id]
- filter[psa_integration_type]
- filter[rmm_id]
- filter[rmm_integration_type]
- filter[serial_number]
required_parameters:
createbody:
data:
- type: string
attributes:
id: int
returnbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
resource-url: string
name: string
hostname: string
primary-ip: int
mac-address: int
serial-number: string
asset-tag: string
position: string
installed-by: string
purchased-by: string
notes: string
operating-system-notes: string
warranty-expires-at: datetime
installed-at: datetime
purchased-at: datetime
created-at: datetime
updated-at: datetime
organization-short-name: string
configuration-type-id: int
configuration-type-name: string
configuration-type-kind: string
configuration-status-id: int
configuration-status-name: string
manufacturer-id: int
manufacturer-name: string
model-id: int
model-name: string
operating-system-id: int
operating-system-name: string
location-id: int
location-name: string
relationships:
configuration-interfaces:
data:
- id: int
type: string
accounts_users:
endpoints:
- /users
- /users/:id
methods:
- GET
- PATCH
allowed_parameters:
- filter[email]
- filter[id]
- filter[name]
- filter[role_name]
required_parameters:
createbody:
data:
- type: string
attributes:
id: int
first-name: string
last-name: string
avatar:
content: string
file_name: string
returnbody:
data:
- id: int
type: string
attributes:
first-name: string
last-name: string
role-name: string
email: string
avatar: string
invitation-sent-at: datetime
invitation-accepted-at: datetime
current-sign-in-at: datetime
current-sign-in-ip: int
last-sign-in-at: datetime
last-sign-in-ip: int
reputation: int
my-glue: bool
my-glue-account-id: string
attachments:
endpoints:
- /:id/:id/relationships/attachments
- /:id/:id/relationships/attachments/:id
methods:
- DELETE
- PATCH
- POST
allowed_parameters:
required_parameters:
createbody:
data:
- type: string
attributes:
content: int
file_name: string
returnbody:
data:
- type: string
attributes:
id: int
groups:
endpoints:
- /groups
- /groups/:id
methods:
- GET
allowed_parameters:
- filter[name]
required_parameters:
createbody:
returnbody:
data:
- id: int
type: string
attributes:
name: string
created-at: datetime
updated-at: datetime
organization_types:
endpoints:
- /organization_types
- /organization_types/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[name]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
returnbody:
data:
- id: int
type: string
attributes:
name: string
created-at: datetime
updated-at: datetime
organizations:
endpoints:
- /organizations
- /organizations/:id
methods:
- DELETE
- GET
- PATCH
- POST
allowed_parameters:
- filter[created_at]
- filter[exclude]
- filter[exclude][id]
- filter[exclude][name]
- filter[exclude][organization_status_id]
- filter[exclude][organization_type_id]
- filter[group_id]
- filter[id]
- filter[my_glue_account_id]
- filter[name]
- filter[organization_status_id]
- filter[organization_type_id]
- filter[psa_id]
- filter[psa_integration_type]
- filter[range]
- filter[range][my_glue_account_id]
- filter[updated_at]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
alert: string
description: string
organization-type-id: int
organization-type-name: string
organization-status-id: int
organization-status-name: string
primary: bool
logo: string
quick-notes: string
short-name: string
returnbody:
data:
- id: int
type: string
attributes:
name: string
alert: string
description: string
organization-type-id: int
organization-type-name: string
organization-status-id: int
organization-status-name: string
primary: bool
logo: string
quick-notes: string
short-name: string
created-at: datetime
updated-at: datetime
flexible_assets:
endpoints:
- /flexible_assets
- /flexible_assets/:id
methods:
- DELETE
- GET
- PATCH
- POST
allowed_parameters:
- filter[flexible_asset_type_id]
- filter[name]
- filter[organization_id]
required_parameters:
createbody:
data:
- type: string
attributes:
id: int
organization-id: int
traits:
name-field: string
returnbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
resource-url: string
restricted: bool
my-glue: bool
flexible-asset-type-id: int
flexible-asset-type-name: string
name: string
traits:
# Backup, Disaster Recovery
backup-platform: string
backup-description: string
backup-technology: string
next-verification: date
backup-window: string
backup-frequency: string
local-location: string
offsite-provider: string
offsite-replication: string
additional-details: string
protected-servers:
type: string
values:
- resource-url: string
id: int
name: string
hostname: string
organization-name: string
configuration-type-name: string
local-backup-server-s:
type: string
values:
- resource-url: string
id: int
name: string
hostname: string
organization-name: string
configuration-type-name: string
who-approves-restore-requests:
type: string
values:
- resource-url: string
id: int
first-name: string
last-name: string
organization-name: string
# Used for "Device logbook - Autodoc"
device-name: string
events: string
user-profiles: string
installed-updates: string
installed-software: string
device: int
# ADDS Documentation
domain-name: string
forest-summary: string
site-summary: string
domain-controllers: string
fsmo-roles: string
optional-features: string
upn-suffixes: string
default-password-policies: string
domain-admins: string
user-count: string
created-at: datetime
updated-at: datetime
manufacturers:
endpoints:
- /manufacturers
- /manufacturers/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[name]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
returnbody:
data:
- id: int
type: string
attributes:
name: string
created-at: datetime
updated-at: datetime
operating_systems:
endpoints:
- /operating_systems
- /operating_systems/:id
methods:
- GET
allowed_parameters:
- filter[name]
required_parameters:
createbody:
returnbody:
data:
- id: int
type: string
attributes:
name: string
platform-id: int
platform-name: string
created-at: datetime
updated-at: datetime
organization_statuses:
endpoints:
- /organization_statuses
- /organization_statuses/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[name]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
returnbody:
data:
- id: int
type: string
attributes:
name: string
created-at: datetime
updated-at: datetime
passwords:
endpoints:
- /passwords
- /passwords/:id
- /organizations/:id/relationships/passwords
- /organizations/:id/relationships/passwords/:id
methods:
- DELETE
- GET
- PATCH
- POST
allowed_parameters:
- filter[cached_resource_name]
- filter[id]
- filter[name]
- filter[organization_id]
- filter[password_category_id]
- filter[url]
required_parameters:
createbody:
data:
- type: string
attributes:
id: int
name: string
username: string
password: string
url: string
notes: string
resource_id: int
resource_type: string
password-category-id: int
password-category-name: string
returnbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
resource-url: string
restricted: bool
my-glue: bool
name: string
autofill-selectors: string
username: string
password: string
url: string
notes: string
password-updated-at: datetime
updated-by: int
resource-id: int
resource-type: string
cached-resource-type-name: string
cached-resource-name: string
password-category-id: int
password-category-name: string
created-at: datetime
updated-at: datetime
requestbodyError:
accounts_user_metrics_daily:
endpoints:
- /user_metrics
methods:
- GET
allowed_parameters:
- filter[date]
- filter[organization_id]
- filter[resource_type]
- filter[user_id]
required_parameters:
createbody:
returnbody:
data:
- id: int
type: string
attributes:
user-id: int
organization-id: int
resource-type: string
created: int
viewed: int
edited: int
deleted: int
date: date
contacts:
endpoints:
- /contacts
- /contacts/:id
methods:
- DELETE
- GET
- PATCH
- POST
allowed_parameters:
- filter[contact_type_id]
- filter[first_name]
- filter[id]
- filter[important]
- filter[last_name]
- filter[organization_id]
- filter[primary_email]
- filter[psa_id]
- filter[psa_integration_type]
- filter[title]
required_parameters:
createbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
name: string
first-name: string
last-name: string
title: string
contact-type-id: int
contact-type-name: string
location-id: int
location-name: string
important: string
notes: string
contact-emails:
- value: string
primary: bool
label-name: string
contact-phones:
- value: int
extension: string
primary: bool
label-name: string
label-type: string
formatted-value: (415) 555-2156
relationships:
attachments:
data:
- id: int
type: string
returnbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
name: string
first-name: string
last-name: string
title: string
contact-type-id: int
contact-type-name: string
location-id: int
location-name: string
important: string
notes: string
created-at: datetime
updated-at: datetime
contact-emails:
- value: string
primary: bool
label-name: string
contact-phones:
- value: string
extension: string
primary: bool
label-name: string
label-type: string
formatted-value: string
relationships:
attachments:
data:
- id: int
type: string
included:
- id: int
type: string
attributes:
name: string
attachment-file-name: string
attachment-content-type: string
attachment-file-size: int
ext: string
viewable: bool
download-url: string
created-at: datetime
updated-at: datetime
configuration_interfaces:
endpoints:
- /configuration_interfaces
- /configuration_interfaces/:id
- /configurations/:id/relationships/configuration_interfaces
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[id]
- filter[ip_address]
required_parameters:
createbody:
data:
- type: string
attributes:
primary: bool
name: string
ip-address: int
mac-address: string
returnbody:
data:
- type: string
attributes:
primary: bool
name: string
ip-address: int
mac-address: string
notes: string
id: int
created-at: datetime
updated-at: datetime
requestbodyError:
configuration_statuses:
endpoints:
- /configuration_statuses
- /configuration_statuses/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[name]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
returnbody:
data:
- id: int
type: string
attributes:
name: string
created-at: datetime
updated-at: datetime
configuration_types:
endpoints:
- /configuration_types
- /configuration_types/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[name]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
returnbody:
data:
- id: int
type: string
attributes:
name: string
configurations-count: int
created-at: datetime
updated-at: datetime
contact_types:
endpoints:
- /contact_types
- /contact_types/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[name]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
returnbody:
data:
- id: int
type: string
attributes:
name: string
created-at: datetime
updated-at: datetime
countries:
endpoints:
- /countries
- /countries/:id
methods:
- GET
allowed_parameters:
- filter[iso]
- filter[name]
required_parameters:
createbody:
returnbody:
data:
- id: int
type: string
attributes:
name: string
iso: string
domains:
endpoints:
- /domains
methods:
- GET
allowed_parameters:
- filter[id]
- filter[organization_id]
required_parameters:
createbody:
returnbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
resource-url: string
name: string
screenshot: /system/domains/screenshots/000/000/003/thumb/httphappyfrogcom.png?1488587288
registrar-name: string
notes: string
expires-on: int
updated-at: datetime
expirations:
endpoints:
- /expirations
- /expirations/:id
methods:
- GET
allowed_parameters:
- filter[description]
- filter[expiration_date]
- filter[id]
- filter[organization_id]
- filter[range]
- filter[range][expiration_date]
- filter[resource_id]
- filter[resource_name]
- filter[resource_type_name]
required_parameters:
createbody:
returnbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
resource-url: string
description: string
expiration-date: date
created-at: datetime
updated-at: datetime
resource-id: int
resource-type: string
resource-type-name: string
resource-name: string
flexible_asset_fields:
endpoints:
- /flexible_asset_fields
- /flexible_asset_fields/:id
- /flexible_asset_types/:id/relationships/flexible_asset_fields
methods:
- DELETE
- GET
- PATCH
- POST
allowed_parameters:
- filter[id]
required_parameters:
createbody:
data:
- type: string
attributes:
id: int
order: int
name: string
kind: string
hint: string
default-value: string
use-for-title: bool
returnbody:
data:
- id: int
type: string
attributes:
flexible-asset-type-id: int
order: int
name: string
kind: string
hint: string
decimals: int
default-value: string
tag-type: string
required: bool
use-for-title: bool
expiration: bool
show-in-list: bool
name-key: string
created-at: datetime
updated-at: datetime
relationships:
flexible-asset-type:
data:
- id: int
type: string
flexible_asset_types:
endpoints:
- /flexible_asset_types
- /flexible_asset_types/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[enabled]
- filter[icon]
- filter[id]
- filter[name]
required_parameters:
createbody:
data:
- type: string
attributes:
name: string
description: string
icon: string
show-in-menu: bool
relationships:
flexible-asset-fields:
data:
- type: string
attributes:
order: int
name: string
kind: string
hint: string
tag-type: string
required: bool
options: string
use-for-title: bool
show-in-list: bool
returnbody:
data:
- id: int
type: string
attributes:
name: string
description: string
created-at: datetime
updated-at: datetime
icon: string
show-in-menu: bool
relationships:
flexible-asset-fields:
data:
- id: int
type: string
locations:
endpoints:
- /locations
- /locations/:id
- /organizations/:id/relationships/locations
methods:
- DELETE
- GET
- PATCH
- POST
allowed_parameters:
- filter[city]
- filter[country_id]
- filter[id]
- filter[name]
- filter[organization_id]
- filter[psa_id]
- filter[psa_integration_type]
- filter[region_id]
required_parameters:
createbody:
data:
- type: string
attributes:
id: int
returnbody:
data:
- id: int
type: string
attributes:
organization-id: int
organization-name: string
name: string
primary: bool
address-1: int
address-2: string
city: string
postal-code: int
region-id: int
region-name: string
country-id: int
country-name: string
phone: int
fax: int
notes: string
created-at: datetime
updated-at: datetime
formatted-phone: (415) 213-2000
formatted-fax: (415) 213-2004
models:
endpoints:
- /models
- /models/:id
methods:
- GET
- PATCH
- POST
allowed_parameters:
- filter[id]
required_parameters:
createbody:
data:
- type: string
attributes:
id: int
name: string
manufacturer-id: int
returnbody:
data:
- id: int
type: string
attributes:
name: string
manufacturer-id: int
manufacturer-name: string
created-at: datetime