Skip to content

Commit b92fc8f

Browse files
authored
HTTP Garden (Independent Publisher) (#1958)
* Add files via upload * Update apiDefinition.swagger.json
1 parent bfbd9a9 commit b92fc8f

File tree

3 files changed

+123
-0
lines changed

3 files changed

+123
-0
lines changed
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "http garden",
5+
"description": "Gardening for every Hyper Text Transfer Protocol response status code. Provides an image for each status code.",
6+
"version": "1.0",
7+
"contact": {
8+
"name": "Troy Taylor",
9+
"url": "https://www.hitachisolutions.com",
10+
"email": "ttaylor@hitachisolutions.com"
11+
}
12+
},
13+
"host": "http.garden",
14+
"basePath": "/",
15+
"schemes": [
16+
"https"
17+
],
18+
"consumes": [],
19+
"produces": [],
20+
"paths": {
21+
"/{code}.{file}": {
22+
"get": {
23+
"responses": {
24+
"200": {
25+
"description": "default",
26+
"schema": {
27+
"type": "object",
28+
"properties": {
29+
"$content-type": {
30+
"type": "string",
31+
"description": "The content file type.",
32+
"title": "Content Type"
33+
},
34+
"$content": {
35+
"type": "string",
36+
"description": "The file content.",
37+
"title": "Content"
38+
}
39+
}
40+
}
41+
}
42+
},
43+
"summary": "Get status code",
44+
"description": "Retrieve an image based on the requested status code.",
45+
"operationId": "StatusGet",
46+
"parameters": [
47+
{
48+
"name": "code",
49+
"in": "path",
50+
"required": true,
51+
"type": "integer",
52+
"default": 200,
53+
"description": "The requested code number.",
54+
"x-ms-url-encoding": "single",
55+
"x-ms-summary": "Code"
56+
},
57+
{
58+
"name": "file",
59+
"in": "path",
60+
"required": true,
61+
"type": "string",
62+
"default": "jpg",
63+
"description": "The file type.",
64+
"x-ms-url-encoding": "single",
65+
"x-ms-summary": "File Type",
66+
"enum": [
67+
"jpg",
68+
"webp",
69+
"jxl",
70+
"avif"
71+
]
72+
}
73+
]
74+
}
75+
}
76+
},
77+
"definitions": {},
78+
"parameters": {},
79+
"responses": {},
80+
"securityDefinitions": {},
81+
"security": [],
82+
"tags": [],
83+
"x-ms-connector-metadata": [
84+
{
85+
"propertyName": "Website",
86+
"propertyValue": "https://http.garden/"
87+
},
88+
{
89+
"propertyName": "Privacy policy",
90+
"propertyValue": "https://http.garden/"
91+
},
92+
{
93+
"propertyName": "Categories",
94+
"propertyValue": "Data"
95+
}
96+
]
97+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"properties": {
3+
"connectionParameters": {},
4+
"iconBrandColor": "#da3b01",
5+
"capabilities": [],
6+
"publisher": "Troy Taylor",
7+
"stackOwner": "Fili"
8+
}
9+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# HTTP Garden
2+
Gardening for every Hyper Text Transfer Protocol response status code. Provides a image for each status code.
3+
4+
## Publisher: Troy Taylor, Hitachi Solutions
5+
6+
## Prerequisites
7+
There are no prerequisites to use this service.
8+
9+
## Obtaining Credentials
10+
There are no credentials needed to use this service.
11+
12+
## Supported Operations
13+
### Get status code
14+
Retrieve a image based on the requested status code.
15+
16+
## Known Issues and Limitations
17+
There are no known issues at this time.

0 commit comments

Comments
 (0)