solarwinds-itsm-api-definitions 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/definitions/common/components.json +222 -58
- data/lib/definitions/common/examples/catalog_item.json +70 -0
- data/lib/definitions/common/examples/change.json +123 -0
- data/lib/definitions/common/examples/change_catalog.json +72 -0
- data/lib/definitions/common/examples/configuration_item.json +110 -0
- data/lib/definitions/common/examples/hardware.json +100 -0
- data/lib/definitions/common/examples/incident.json +130 -109
- data/lib/definitions/common/examples/problem.json +6 -4
- data/lib/definitions/common/examples/release.json +128 -0
- data/lib/definitions/common/examples/service_request.json +28 -0
- data/lib/definitions/common/examples/solution.json +44 -0
- data/lib/definitions/common/examples/user.json +6 -6
- data/lib/definitions/common/schemas/analytics/audit.json +28 -0
- data/lib/definitions/common/schemas/analytics/risk.json +28 -0
- data/lib/definitions/common/schemas/inventory/hardware.json +104 -0
- data/lib/definitions/common/schemas/inventory/mobile.json +73 -0
- data/lib/definitions/common/schemas/inventory/other_asset.json +74 -0
- data/lib/definitions/common/schemas/inventory/printer.json +41 -0
- data/lib/definitions/common/schemas/inventory/software.json +28 -0
- data/lib/definitions/common/schemas/inventory/warranty.json +40 -0
- data/lib/definitions/common/schemas/procurement/contract.json +67 -0
- data/lib/definitions/common/schemas/procurement/item.json +51 -0
- data/lib/definitions/common/schemas/procurement/purchase.json +57 -0
- data/lib/definitions/common/schemas/procurement/purchase_order.json +82 -0
- data/lib/definitions/common/schemas/procurement/vendor.json +67 -0
- data/lib/definitions/common/schemas/service_desk/catalog_item.json +71 -0
- data/lib/definitions/common/schemas/service_desk/change.json +88 -0
- data/lib/definitions/common/schemas/service_desk/change_catalog.json +77 -0
- data/lib/definitions/common/schemas/service_desk/comment.json +52 -0
- data/lib/definitions/common/schemas/service_desk/configuration_item.json +119 -0
- data/lib/definitions/common/schemas/service_desk/incident.json +89 -0
- data/lib/definitions/common/schemas/service_desk/problem.json +81 -0
- data/lib/definitions/common/schemas/service_desk/release.json +86 -0
- data/lib/definitions/common/schemas/service_desk/service_request.json +31 -0
- data/lib/definitions/common/schemas/service_desk/solution.json +61 -0
- data/lib/definitions/common/schemas/service_desk/time_track.json +37 -0
- data/lib/definitions/common/schemas/setup/category.json +54 -0
- data/lib/definitions/common/schemas/setup/department.json +48 -0
- data/lib/definitions/common/schemas/setup/group.json +65 -0
- data/lib/definitions/common/schemas/setup/role.json +51 -0
- data/lib/definitions/common/schemas/setup/site.json +64 -0
- data/lib/definitions/common/schemas/setup/user.json +67 -0
- data/lib/definitions/common/schemas/tasks/task.json +52 -0
- data/lib/definitions/openapi.json +91 -4
- data/lib/definitions/paths/attachments/attachments.json +12 -0
- data/lib/definitions/paths/audits/audits.json +35 -0
- data/lib/definitions/paths/audits/audits_by_id.json +37 -0
- data/lib/definitions/paths/catalog_items/catalog_item_by_id.json +83 -0
- data/lib/definitions/paths/catalog_items/catalog_items.json +69 -0
- data/lib/definitions/paths/categories/categories.json +62 -0
- data/lib/definitions/paths/categories/category_by_id.json +70 -0
- data/lib/definitions/paths/change_catalogs/change_catalog_by_id.json +83 -0
- data/lib/definitions/paths/change_catalogs/change_catalogs.json +69 -0
- data/lib/definitions/paths/changes/change_by_id.json +83 -0
- data/lib/definitions/paths/changes/changes.json +69 -0
- data/lib/definitions/paths/comments/comment_by_id.json +65 -0
- data/lib/definitions/paths/comments/comments.json +31 -0
- data/lib/definitions/paths/configuration_items/append_dependent_assets.json +24 -0
- data/lib/definitions/paths/configuration_items/configuration_item_by_id.json +83 -0
- data/lib/definitions/paths/configuration_items/configuration_items.json +69 -0
- data/lib/definitions/paths/configuration_items/delete_asset_link.json +24 -0
- data/lib/definitions/paths/contracts/contract_by_id.json +74 -0
- data/lib/definitions/paths/contracts/contracts.json +62 -0
- data/lib/definitions/paths/contracts/item_by_id.json +75 -0
- data/lib/definitions/paths/contracts/items.json +30 -0
- data/lib/definitions/paths/departments/department_by_id.json +70 -0
- data/lib/definitions/paths/departments/departments.json +62 -0
- data/lib/definitions/paths/groups/group_by_id.json +70 -0
- data/lib/definitions/paths/groups/groups.json +62 -0
- data/lib/definitions/paths/hardwares/hardware_by_id.json +83 -0
- data/lib/definitions/paths/hardwares/hardwares.json +69 -0
- data/lib/definitions/paths/hardwares/warranties.json +64 -0
- data/lib/definitions/paths/hardwares/warranty_by_id.json +75 -0
- data/lib/definitions/paths/incidents/incident_by_id.json +7 -7
- data/lib/definitions/paths/incidents/incidents.json +10 -10
- data/lib/definitions/paths/memberships/membership_by_id.json +20 -0
- data/lib/definitions/paths/memberships/memberships.json +29 -0
- data/lib/definitions/paths/mobiles/mobile_by_id.json +74 -0
- data/lib/definitions/paths/mobiles/mobiles.json +62 -0
- data/lib/definitions/paths/other_assets/other_asset_by_id.json +74 -0
- data/lib/definitions/paths/other_assets/other_assets.json +62 -0
- data/lib/definitions/paths/printers/printer_by_id.json +53 -0
- data/lib/definitions/paths/printers/printers.json +36 -0
- data/lib/definitions/paths/problems/problem_by_id.json +7 -8
- data/lib/definitions/paths/problems/problems.json +10 -10
- data/lib/definitions/paths/purchase_orders/purchase_order_by_id.json +74 -0
- data/lib/definitions/paths/purchase_orders/purchase_orders.json +62 -0
- data/lib/definitions/paths/purchases/purchase_by_id.json +65 -0
- data/lib/definitions/paths/purchases/purchases.json +31 -0
- data/lib/definitions/paths/releases/release_by_id.json +83 -0
- data/lib/definitions/paths/releases/releases.json +69 -0
- data/lib/definitions/paths/risks/risks.json +34 -0
- data/lib/definitions/paths/roles/role_by_id.json +70 -0
- data/lib/definitions/paths/roles/roles.json +62 -0
- data/lib/definitions/paths/service_requests/request_by_id.json +37 -0
- data/lib/definitions/paths/sites/site_by_id.json +74 -0
- data/lib/definitions/paths/sites/sites.json +62 -0
- data/lib/definitions/paths/softwares/software_by_id.json +24 -0
- data/lib/definitions/paths/softwares/softwares.json +36 -0
- data/lib/definitions/paths/solutions/solution_by_id.json +83 -0
- data/lib/definitions/paths/solutions/solutions.json +69 -0
- data/lib/definitions/paths/tasks/task_by_id.json +65 -0
- data/lib/definitions/paths/tasks/tasks.json +31 -0
- data/lib/definitions/paths/time_tracks/time_track_by_id.json +65 -0
- data/lib/definitions/paths/time_tracks/time_tracks.json +66 -0
- data/lib/definitions/paths/users/user_by_id.json +8 -9
- data/lib/definitions/paths/users/users.json +11 -11
- data/lib/definitions/paths/vendors/vendor_by_id.json +74 -0
- data/lib/definitions/paths/vendors/vendors.json +62 -0
- data/lib/resolved_schema/resolved_schema.json +1 -1
- metadata +100 -5
- data/lib/definitions/common/schemas/incident.json +0 -70
- data/lib/definitions/common/schemas/problem.json +0 -67
- data/lib/definitions/common/schemas/user.json +0 -54
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"components": {
|
3
|
+
"schemas": {
|
4
|
+
"request": {
|
5
|
+
"post": {
|
6
|
+
"type": "object",
|
7
|
+
"xml": { "name": "/" },
|
8
|
+
"properties": {
|
9
|
+
"department": {
|
10
|
+
"type": "object",
|
11
|
+
"required": ["name"],
|
12
|
+
"properties": { "$ref": "department.json#/components/schemas/request_properties" }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"put": {
|
17
|
+
"type": "object",
|
18
|
+
"xml": { "name": "/" },
|
19
|
+
"properties": {
|
20
|
+
"department": {
|
21
|
+
"type": "object",
|
22
|
+
"properties": { "$ref": "department.json#/components/schemas/request_properties" }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"request_properties": {
|
28
|
+
"name": { "type": "string", "example": "Support" },
|
29
|
+
"description": { "type": "string", "example": "Support Department" }
|
30
|
+
},
|
31
|
+
"response": {
|
32
|
+
"type": "object",
|
33
|
+
"xml": { "name": "/", "wrapped": true },
|
34
|
+
"properties": {
|
35
|
+
"department": {
|
36
|
+
"type": "object",
|
37
|
+
"required": ["name"],
|
38
|
+
"properties": {
|
39
|
+
"id": { "$ref": "../../components.json#/components/response/schemas/id" },
|
40
|
+
"name": { "type": "string", "example": "Support" },
|
41
|
+
"description": { "type": "string", "example": "Support Department" }
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
{
|
2
|
+
"components": {
|
3
|
+
"schemas": {
|
4
|
+
"request": {
|
5
|
+
"post": {
|
6
|
+
"type": "object",
|
7
|
+
"xml": { "name": "/" },
|
8
|
+
"properties": {
|
9
|
+
"group": {
|
10
|
+
"type": "object",
|
11
|
+
"required": ["name"],
|
12
|
+
"properties": { "$ref": "group.json#/components/schemas/request_properties" }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"put": {
|
17
|
+
"type": "object",
|
18
|
+
"xml": { "name": "/" },
|
19
|
+
"properties": {
|
20
|
+
"group": {
|
21
|
+
"type": "object",
|
22
|
+
"properties": { "$ref": "group.json#/components/schemas/request_properties" }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"request_properties": {
|
28
|
+
"name": { "type": "string", "example": "Group Name" },
|
29
|
+
"description": { "type": "string", "example": "Group Description" },
|
30
|
+
"superviser_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
|
31
|
+
"custom_fields_values": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values" },
|
32
|
+
"custom_fields_values_attributes": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values_attributes" }
|
33
|
+
},
|
34
|
+
"response": {
|
35
|
+
"type": "object",
|
36
|
+
"xml": { "name": "/", "wrapped": true },
|
37
|
+
"properties": {
|
38
|
+
"group": {
|
39
|
+
"type": "object",
|
40
|
+
"required": ["name"],
|
41
|
+
"properties": {
|
42
|
+
"id": { "$ref": "../../components.json#/components/response/schemas/id" },
|
43
|
+
"name": { "type": "string", "example": "Group Name" },
|
44
|
+
"description": { "type": "string", "example": "Group Description" },
|
45
|
+
"is_user": { "type": "boolean", "example": false },
|
46
|
+
"reports_to": { "$ref": "../../components.json#/components/response/schemas/group_details" },
|
47
|
+
"avatar": { "$ref": "../../components.json#/components/response/schemas/avatar" },
|
48
|
+
"send_notifications": { "type": "boolean", "example": true },
|
49
|
+
"memberships": {
|
50
|
+
"type": "array",
|
51
|
+
"items": {
|
52
|
+
"type": "object",
|
53
|
+
"properties": {
|
54
|
+
"id": { "$ref": "../../components.json#/components/response/schemas/id" },
|
55
|
+
"user": { "type": "string", "example": "John Doe" }
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
{
|
2
|
+
"components": {
|
3
|
+
"schemas": {
|
4
|
+
"request": {
|
5
|
+
"post": {
|
6
|
+
"type": "object",
|
7
|
+
"xml": { "name": "/" },
|
8
|
+
"properties": {
|
9
|
+
"role": {
|
10
|
+
"type": "object",
|
11
|
+
"required": ["name"],
|
12
|
+
"properties": { "$ref": "role.json#/components/schemas/request_properties" }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"put": {
|
17
|
+
"type": "object",
|
18
|
+
"xml": { "name": "/" },
|
19
|
+
"properties": {
|
20
|
+
"role": {
|
21
|
+
"type": "object",
|
22
|
+
"properties": { "$ref": "role.json#/components/schemas/request_properties" }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"request_properties": {
|
28
|
+
"name": { "type": "string", "example": "Support Agent" },
|
29
|
+
"description": { "type": "string", "example": "Support Agent role" },
|
30
|
+
"portal": { "type": "boolean", "example": true }
|
31
|
+
},
|
32
|
+
"response": {
|
33
|
+
"type": "object",
|
34
|
+
"xml": { "name": "/", "wrapped": true },
|
35
|
+
"properties": {
|
36
|
+
"role": {
|
37
|
+
"type": "object",
|
38
|
+
"required": ["name"],
|
39
|
+
"properties": {
|
40
|
+
"id": { "$ref": "../../components.json#/components/response/schemas/id" },
|
41
|
+
"name": { "type": "string", "example": "Support Agent" },
|
42
|
+
"description": { "type": "string", "example": "Support Agent role" },
|
43
|
+
"portal": { "type": "boolean", "example": true },
|
44
|
+
"show_my_tasks": { "type": "boolean", "example": false }
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
{
|
2
|
+
"components": {
|
3
|
+
"schemas": {
|
4
|
+
"request": {
|
5
|
+
"post": {
|
6
|
+
"type": "object",
|
7
|
+
"xml": { "name": "/" },
|
8
|
+
"properties": {
|
9
|
+
"site": {
|
10
|
+
"type": "object",
|
11
|
+
"required": ["name", "location"],
|
12
|
+
"properties": { "$ref": "site.json#/components/schemas/request_properties" }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"put": {
|
17
|
+
"type": "object",
|
18
|
+
"xml": { "name": "/" },
|
19
|
+
"properties": {
|
20
|
+
"site": {
|
21
|
+
"type": "object",
|
22
|
+
"properties": { "$ref": "site.json#/components/schemas/request_properties" }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"request_properties": {
|
28
|
+
"name": { "type": "string", "example": "Austin TX, USA" },
|
29
|
+
"location": { "type": "string", "example": "AUS" },
|
30
|
+
"description": { "type": "string", "example": "Description Austin TX, USA" },
|
31
|
+
"time_zone": { "type": "string", "example": "Texas" },
|
32
|
+
"language": { "type": "string", "minLength": 2, "maxLength": 2, "example": "en" },
|
33
|
+
"manager_id": {
|
34
|
+
"$ref": "../../components.json#/components/common/schemas/association_by_id",
|
35
|
+
"description": "user only, not group"
|
36
|
+
},
|
37
|
+
"default_assignee_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
|
38
|
+
"business_record": {
|
39
|
+
"type": "object",
|
40
|
+
"properties": { "id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" } }
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"response": {
|
44
|
+
"type": "object",
|
45
|
+
"xml": { "name": "/", "wrapped": true },
|
46
|
+
"properties": {
|
47
|
+
"site": {
|
48
|
+
"type": "object",
|
49
|
+
"required": ["name"],
|
50
|
+
"properties": {
|
51
|
+
"id": { "$ref": "../../components.json#/components/response/schemas/id" },
|
52
|
+
"name": { "type": "string", "example": "Austin TX, USA" },
|
53
|
+
"location": { "type": "string", "example": "AUS" },
|
54
|
+
"description": { "type": "string", "example": "Description Austin TX, USA" },
|
55
|
+
"time_zone": { "type": "string", "example": "Texas" },
|
56
|
+
"language": { "type": "string", "minLength": 2, "maxLength": 2, "example": "en" },
|
57
|
+
"business_record": { "type": "string", "example": "1" }
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
{
|
2
|
+
"components": {
|
3
|
+
"schemas": {
|
4
|
+
"request": {
|
5
|
+
"post": {
|
6
|
+
"type": "object",
|
7
|
+
"xml": { "name": "/" },
|
8
|
+
"properties": {
|
9
|
+
"user": {
|
10
|
+
"type": "object",
|
11
|
+
"required": ["name", "email"],
|
12
|
+
"properties": { "$ref": "user.json#/components/schemas/request_properties" }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"put": {
|
17
|
+
"type": "object",
|
18
|
+
"xml": { "name": "/" },
|
19
|
+
"properties": {
|
20
|
+
"user": {
|
21
|
+
"type": "object",
|
22
|
+
"properties": { "$ref": "user.json#/components/schemas/request_properties" }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"request_properties": {
|
28
|
+
"name": { "type": "string", "example": "John Doe" },
|
29
|
+
"title": { "type": "string", "example": "Support Agent" },
|
30
|
+
"email": { "type": "string", "format": "email", "example": "john.doe@email.com" },
|
31
|
+
"disabled": { "type": "boolean", "example": false },
|
32
|
+
"phone": { "type": "string", "example": "+10000000" },
|
33
|
+
"mobile_phone": { "type": "string", "example": "+10000000" },
|
34
|
+
"role": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
|
35
|
+
"site": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
|
36
|
+
"department": { "$ref": "../../components.json#/components/request/schemas/association_by_name" },
|
37
|
+
"reports_to": { "$ref": "../../components.json#/components/request/schemas/reports_to" },
|
38
|
+
"custom_fields_values": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values" }
|
39
|
+
},
|
40
|
+
"response": {
|
41
|
+
"type": "object",
|
42
|
+
"xml": { "name": "/", "wrapped": true },
|
43
|
+
"properties": {
|
44
|
+
"user": {
|
45
|
+
"type": "object",
|
46
|
+
"properties": {
|
47
|
+
"id": { "$ref": "../../components.json#/components/response/schemas/id" },
|
48
|
+
"name": { "type": "string", "example": "John Doe" },
|
49
|
+
"title": { "type": "string", "example": "Support Agent" },
|
50
|
+
"email": { "type": "string", "format": "email", "example": "john.doe@email.com" },
|
51
|
+
"phone": { "type": "string", "example": "+10000000" },
|
52
|
+
"mobile_phone": { "type": "string", "example": "+10000000" },
|
53
|
+
"role": { "$ref": "../../components.json#/components/response/schemas/role" },
|
54
|
+
"site": { "$ref": "../../components.json#/components/response/schemas/site_response" },
|
55
|
+
"department": { "$ref": "../../components.json#/components/response/schemas/department_response" },
|
56
|
+
"custom_fields_values": { "$ref": "../../components.json#/components/response/schemas/custom_fields_values" },
|
57
|
+
"avatar": { "$ref": "../../components.json#/components/response/schemas/avatar" },
|
58
|
+
"reports_to": { "$ref": "../../components.json#/components/response/schemas/group_details" },
|
59
|
+
"group_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" },
|
60
|
+
"created_at": { "type": "string", "example": "2020-01-01T00:00:00.000+00:00" }
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
{
|
2
|
+
"components": {
|
3
|
+
"schemas": {
|
4
|
+
"request": {
|
5
|
+
"post": {
|
6
|
+
"type": "object",
|
7
|
+
"xml": { "name": "/" },
|
8
|
+
"properties": {
|
9
|
+
"task": {
|
10
|
+
"type": "object",
|
11
|
+
"required": ["name"],
|
12
|
+
"properties": { "$ref": "task.json#/components/schemas/request_properties" }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"put": {
|
17
|
+
"type": "object",
|
18
|
+
"xml": { "name": "/" },
|
19
|
+
"properties": {
|
20
|
+
"task": {
|
21
|
+
"type": "object",
|
22
|
+
"properties": { "$ref": "task.json#/components/schemas/request_properties" }
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"request_properties": {
|
28
|
+
"name": { "type": "string", "example": "Task Name" },
|
29
|
+
"assignee": { "$ref": "../../components.json#/components/request/schemas/association_by_email" },
|
30
|
+
"due_at": { "type": "string", "example": "Jan 01, 2030" },
|
31
|
+
"is_complete": { "type": "boolean", "example": false }
|
32
|
+
},
|
33
|
+
"response": {
|
34
|
+
"type": "object",
|
35
|
+
"xml": { "name": "/", "wrapped": true },
|
36
|
+
"properties": {
|
37
|
+
"task": {
|
38
|
+
"type": "object",
|
39
|
+
"properties": {
|
40
|
+
"id": { "$ref": "../../components.json#/components/response/schemas/id" },
|
41
|
+
"name": { "type": "string", "example": "Task Name" },
|
42
|
+
"due_at": { "type": "string", "example": "2030-01-01T00:00:00.000+01:00" },
|
43
|
+
"requester": { "$ref": "../../components.json#/components/response/schemas/user_details" },
|
44
|
+
"assignee": { "$ref": "../../components.json#/components/response/schemas/group_details" },
|
45
|
+
"parent": { "$ref": "../../components.json#/components/response/schemas/parent_object" }
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"info": {
|
4
4
|
"title": "SolarWinds ITSM API",
|
5
5
|
"description": "All SolarWinds ITSM API definitions",
|
6
|
-
"version": "0.1.
|
6
|
+
"version": "0.1.4",
|
7
7
|
"contact": {
|
8
8
|
"name": "API Support",
|
9
9
|
"url": "samanage.com/support",
|
@@ -17,14 +17,101 @@
|
|
17
17
|
"paths": {
|
18
18
|
"/incidents/{id}": { "$ref": "paths/incidents/incident_by_id.json" },
|
19
19
|
"/incidents": { "$ref": "paths/incidents/incidents.json" },
|
20
|
+
"/problems/{id}": { "$ref": "paths/problems/problem_by_id.json" },
|
21
|
+
"/problems": { "$ref": "paths/problems/problems.json" },
|
22
|
+
"/changes/{id}": { "$ref": "paths/changes/change_by_id.json" },
|
23
|
+
"/changes": { "$ref": "paths/changes/changes.json" },
|
24
|
+
"/change_catalogs/{id}": { "$ref": "paths/change_catalogs/change_catalog_by_id.json" },
|
25
|
+
"/change_catalogs": { "$ref": "paths/change_catalogs/change_catalogs.json" },
|
26
|
+
"/releases/{id}": { "$ref": "paths/releases/release_by_id.json" },
|
27
|
+
"/releases": { "$ref": "paths/releases/releases.json" },
|
28
|
+
"/solutions/{id}": { "$ref": "paths/solutions/solution_by_id.json" },
|
29
|
+
"/solutions": { "$ref": "paths/solutions/solutions.json" },
|
30
|
+
"/catalog_items/{id}": { "$ref": "paths/catalog_items/catalog_item_by_id.json" },
|
31
|
+
"/catalog_items": { "$ref": "paths/catalog_items/catalog_items.json" },
|
32
|
+
"/catalog_items/{id}/service_requests": { "$ref": "paths/service_requests/request_by_id.json" },
|
33
|
+
"/configuration_items/{id}": { "$ref": "paths/configuration_items/configuration_item_by_id.json" },
|
34
|
+
"/configuration_items": { "$ref": "paths/configuration_items/configuration_items.json" },
|
35
|
+
"/configuration_items/{id}/append_multiple_dependent_assets": { "$ref": "paths/configuration_items/append_dependent_assets.json" },
|
36
|
+
"/asset_links/delete_asset_link_by_id": { "$ref": "paths/configuration_items/delete_asset_link.json" },
|
20
37
|
"/users/{id}": { "$ref": "paths/users/user_by_id.json" },
|
21
38
|
"/users": { "$ref": "paths/users/users.json" },
|
22
|
-
"/
|
23
|
-
"/
|
39
|
+
"/sites/{id}": { "$ref": "paths/sites/site_by_id.json" },
|
40
|
+
"/sites": { "$ref": "paths/sites/sites.json" },
|
41
|
+
"/departments/{id}": { "$ref": "paths/departments/department_by_id.json" },
|
42
|
+
"/departments": { "$ref": "paths/departments/departments.json" },
|
43
|
+
"/roles/{id}": { "$ref": "paths/roles/role_by_id.json" },
|
44
|
+
"/roles": { "$ref": "paths/roles/roles.json" },
|
45
|
+
"/groups/{id}": { "$ref": "paths/groups/group_by_id.json" },
|
46
|
+
"/groups": { "$ref": "paths/groups/groups.json" },
|
47
|
+
"/categories/{id}": { "$ref": "paths/categories/category_by_id.json" },
|
48
|
+
"/categories": { "$ref": "paths/categories/categories.json" },
|
49
|
+
"/hardwares/{id}": { "$ref": "paths/hardwares/hardware_by_id.json" },
|
50
|
+
"/hardwares": { "$ref": "paths/hardwares/hardwares.json" },
|
51
|
+
"/mobiles/{id}": { "$ref": "paths/mobiles/mobile_by_id.json" },
|
52
|
+
"/mobiles": { "$ref": "paths/mobiles/mobiles.json" },
|
53
|
+
"/other_assets/{id}": { "$ref": "paths/other_assets/other_asset_by_id.json" },
|
54
|
+
"/other_assets": { "$ref": "paths/other_assets/other_assets.json" },
|
55
|
+
"/softwares/{id}": { "$ref": "paths/softwares/software_by_id.json" },
|
56
|
+
"/softwares": { "$ref": "paths/softwares/softwares.json" },
|
57
|
+
"/printers/{id}": { "$ref": "paths/printers/printer_by_id.json" },
|
58
|
+
"/printers": { "$ref": "paths/printers/printers.json" },
|
59
|
+
"/contracts/{id}": { "$ref": "paths/contracts/contract_by_id.json" },
|
60
|
+
"/contracts": { "$ref": "paths/contracts/contracts.json" },
|
61
|
+
"/purchase_orders/{id}": { "$ref": "paths/purchase_orders/purchase_order_by_id.json" },
|
62
|
+
"/purchase_orders": { "$ref": "paths/purchase_orders/purchase_orders.json" },
|
63
|
+
"/vendors/{id}": { "$ref": "paths/vendors/vendor_by_id.json" },
|
64
|
+
"/vendors": { "$ref": "paths/vendors/vendors.json" },
|
65
|
+
"/contracts/{id}/items": { "$ref": "paths/contracts/items.json" },
|
66
|
+
"/contracts/{contract_id}/items/{item_id}": { "$ref": "paths/contracts/item_by_id.json" },
|
67
|
+
"/{object_type}/{id}/tasks": { "$ref": "paths/tasks/tasks.json" },
|
68
|
+
"/{object_type}/{id}/tasks/{task_id}": { "$ref": "paths/tasks/task_by_id.json" },
|
69
|
+
"/{object_type}/{id}/comments": { "$ref": "paths/comments/comments.json" },
|
70
|
+
"/{object_type}/{id}/comments/{comment_id}": { "$ref": "paths/comments/comment_by_id.json" },
|
71
|
+
"/hardwares/{id}/warranties": { "$ref": "paths/hardwares/warranties.json" },
|
72
|
+
"/hardwares/{hardware_id}/warranties/{warranty_id}": { "$ref": "paths/hardwares/warranty_by_id.json" },
|
73
|
+
"/{object_type}/{id}/time_tracks": { "$ref": "paths/time_tracks/time_tracks.json" },
|
74
|
+
"/{object_type}/{id}/time_tracks/{time_track_id}": { "$ref": "paths/time_tracks/time_track_by_id.json" },
|
75
|
+
"/{object_type}/{id}/purchases": { "$ref": "paths/purchases/purchases.json" },
|
76
|
+
"/{object_type}/{id}/purchases/{purchase_id}": { "$ref": "paths/purchases/purchase_by_id.json" },
|
77
|
+
"/memberships": { "$ref": "paths/memberships/memberships.json" },
|
78
|
+
"/memberships/{id}": { "$ref": "paths/memberships/membership_by_id.json" },
|
79
|
+
"/audits": { "$ref": "paths/audits/audits.json" },
|
80
|
+
"/{object_type}/{id}/audits": { "$ref": "paths/audits/audits_by_id.json" },
|
81
|
+
"/risks": { "$ref": "paths/risks/risks.json" },
|
82
|
+
"/attachments": { "$ref": "paths/attachments/attachments.json" }
|
24
83
|
},
|
25
84
|
"tags": [
|
26
85
|
{ "name": "Incident", "description": "Incident operations" },
|
86
|
+
{ "name": "Problem", "description": "Problem operations" },
|
87
|
+
{ "name": "Change", "description": "Change operations" },
|
88
|
+
{ "name": "Change Catalog", "description": "Change catalog operations" },
|
89
|
+
{ "name": "Release", "description": "Release operations" },
|
90
|
+
{ "name": "Solution", "description": "Solution operations" },
|
91
|
+
{ "name": "Catalog Item", "description": "Catalog Item operations" },
|
92
|
+
{ "name": "Service Request", "description": "Requesting a service" },
|
93
|
+
{ "name": "Configuration Item", "description": "Configuration Item operations" },
|
27
94
|
{ "name": "User", "description": "User operations" },
|
28
|
-
{ "name": "
|
95
|
+
{ "name": "Site", "description": "Site operations" },
|
96
|
+
{ "name": "Department", "description": "Department operations" },
|
97
|
+
{ "name": "Role", "description": "Role operations" },
|
98
|
+
{ "name": "Group", "description": "Group operations" },
|
99
|
+
{ "name": "Membership", "description": "Membership operations" },
|
100
|
+
{ "name": "Category", "description": "Category operations" },
|
101
|
+
{ "name": "Hardware", "description": "Hardware operations" },
|
102
|
+
{ "name": "Mobile Device", "description": "Mobile device operations" },
|
103
|
+
{ "name": "Other Asset", "description": "Other asset operations" },
|
104
|
+
{ "name": "Software", "description": "Software operations" },
|
105
|
+
{ "name": "Printer", "description": "Printer operations" },
|
106
|
+
{ "name": "Contract", "description": "Contract operations" },
|
107
|
+
{ "name": "Purchase Order", "description": "Purchase order operations" },
|
108
|
+
{ "name": "Vendor", "description": "Vendor operations" },
|
109
|
+
{ "name": "Task", "description": "Task operations" },
|
110
|
+
{ "name": "Comment", "description": "Comment operations" },
|
111
|
+
{ "name": "Time Track", "description": "Time Track operations" },
|
112
|
+
{ "name": "Purchase", "description": "Purchase operations" },
|
113
|
+
{ "name": "Audit", "description": "Audit operations" },
|
114
|
+
{ "name": "Risk", "description": "Risk operations" },
|
115
|
+
{ "name": "Attachment", "description": "Attachment operations" }
|
29
116
|
]
|
30
117
|
}
|