-
Notifications
You must be signed in to change notification settings - Fork 0
/
pronghorn.json
60 lines (60 loc) · 1.57 KB
/
pronghorn.json
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
{
"id": "@acme/app-ip_address",
"type": "Application",
"title": "ip-address",
"displayName": "IP Address",
"export": "IpAddress",
"summary": "The IP Address application performs operations on IP addresses.",
"src": "main.js",
"encrypted": false,
"roles": [
"admin",
"engineering",
"support",
"apiread",
"apiwrite"
],
"methods": [
{
"name": "getFirstIpAddress",
"display_name": "Get First IP Address",
"deprecated": false,
"summary": "Get Subnet's First IP Address",
"description": "Calculates and returns the first host IP address from a CIDR subnet.",
"input": [
{
"name": "cidrStr",
"description": "The IPv4 subnet expressed in CIDR format.",
"type": "string",
"info": "Request subnet from IPAM.",
"required": true,
"schema": {
"title": "cidrStr",
"$ref": "ipAddresses#/definitions/ipv4CIDR"
}
}
],
"output": {
"name": "firstIpAddress",
"description": "An object containing both an IPv4 address and its mapped ipv6 address.",
"type": "object",
"schema": {
"title": "cidrStr",
"$ref": "ipAddresses#/definitions/hostIpv4AndIpv6Address"
}
},
"route": {
"path": "/firstIpAddress/:cidrStr",
"verb": "GET"
},
"roles": [
"admin",
"engineering",
"support",
"apiread"
],
"task": true
}
],
"views": []
}