Skip to content

Commit 7120714

Browse files
committed
Release v0.2.25
1 parent 63a975a commit 7120714

File tree

3 files changed

+206
-28
lines changed

3 files changed

+206
-28
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
members = ["services/api", "services/cli", "services/lib/*"]
33

44
[workspace.package]
5-
version = "0.2.24"
5+
version = "0.2.25"
66
authors = ["Everett Pompeii <[email protected]>"]
77
edition = "2021"
88

services/ui/src/components/docs/api/swagger.json

Lines changed: 199 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.0.3",
33
"info": {
44
"title": "Bencher API",
5-
"version": "0.2.24"
5+
"version": "0.2.25"
66
},
77
"paths": {
88
"/v0/auth/confirm": {
@@ -2984,6 +2984,131 @@
29842984
}
29852985
}
29862986
},
2987+
"/v0/projects/{project}/results/{result}": {
2988+
"get": {
2989+
"tags": [
2990+
"projects",
2991+
"results"
2992+
],
2993+
"operationId": "get_one",
2994+
"parameters": [
2995+
{
2996+
"in": "path",
2997+
"name": "project",
2998+
"required": true,
2999+
"schema": {
3000+
"$ref": "#/components/schemas/ResourceId"
3001+
},
3002+
"style": "simple"
3003+
},
3004+
{
3005+
"in": "path",
3006+
"name": "result",
3007+
"required": true,
3008+
"schema": {
3009+
"type": "string",
3010+
"format": "uuid"
3011+
},
3012+
"style": "simple"
3013+
}
3014+
],
3015+
"responses": {
3016+
"200": {
3017+
"description": "successful operation",
3018+
"headers": {
3019+
"Access-Control-Allow-Credentials": {
3020+
"style": "simple",
3021+
"schema": {
3022+
"nullable": true,
3023+
"type": "boolean"
3024+
}
3025+
},
3026+
"Access-Control-Allow-Headers": {
3027+
"style": "simple",
3028+
"required": true,
3029+
"schema": {
3030+
"type": "string"
3031+
}
3032+
},
3033+
"Access-Control-Allow-Methods": {
3034+
"style": "simple",
3035+
"required": true,
3036+
"schema": {
3037+
"type": "string"
3038+
}
3039+
},
3040+
"Access-Control-Allow-Origin": {
3041+
"style": "simple",
3042+
"required": true,
3043+
"schema": {
3044+
"type": "string"
3045+
}
3046+
}
3047+
},
3048+
"content": {
3049+
"application/json": {
3050+
"schema": {
3051+
"$ref": "#/components/schemas/JsonResult"
3052+
}
3053+
}
3054+
}
3055+
},
3056+
"4XX": {
3057+
"$ref": "#/components/responses/Error"
3058+
},
3059+
"5XX": {
3060+
"$ref": "#/components/responses/Error"
3061+
}
3062+
}
3063+
},
3064+
"options": {
3065+
"tags": [
3066+
"projects",
3067+
"results"
3068+
],
3069+
"operationId": "one_options",
3070+
"parameters": [
3071+
{
3072+
"in": "path",
3073+
"name": "project",
3074+
"required": true,
3075+
"schema": {
3076+
"$ref": "#/components/schemas/ResourceId"
3077+
},
3078+
"style": "simple"
3079+
},
3080+
{
3081+
"in": "path",
3082+
"name": "result",
3083+
"required": true,
3084+
"schema": {
3085+
"type": "string",
3086+
"format": "uuid"
3087+
},
3088+
"style": "simple"
3089+
}
3090+
],
3091+
"responses": {
3092+
"200": {
3093+
"description": "successful operation",
3094+
"content": {
3095+
"application/json": {
3096+
"schema": {
3097+
"title": "String",
3098+
"type": "string"
3099+
}
3100+
}
3101+
}
3102+
},
3103+
"4XX": {
3104+
"$ref": "#/components/responses/Error"
3105+
},
3106+
"5XX": {
3107+
"$ref": "#/components/responses/Error"
3108+
}
3109+
}
3110+
}
3111+
},
29873112
"/v0/projects/{project}/testbeds": {
29883113
"get": {
29893114
"tags": [
@@ -4773,30 +4898,13 @@
47734898
"JsonNewReport": {
47744899
"type": "object",
47754900
"properties": {
4776-
"adapter": {
4777-
"nullable": true,
4778-
"allOf": [
4779-
{
4780-
"$ref": "#/components/schemas/JsonAdapter"
4781-
}
4782-
]
4783-
},
47844901
"branch": {
4785-
"type": "string",
4786-
"format": "uuid"
4902+
"$ref": "#/components/schemas/ResourceId"
47874903
},
47884904
"end_time": {
47894905
"type": "string",
47904906
"format": "date-time"
47914907
},
4792-
"fold": {
4793-
"nullable": true,
4794-
"allOf": [
4795-
{
4796-
"$ref": "#/components/schemas/JsonFold"
4797-
}
4798-
]
4799-
},
48004908
"hash": {
48014909
"nullable": true,
48024910
"type": "string"
@@ -4807,13 +4915,20 @@
48074915
"type": "string"
48084916
}
48094917
},
4918+
"settings": {
4919+
"nullable": true,
4920+
"allOf": [
4921+
{
4922+
"$ref": "#/components/schemas/JsonReportSettings"
4923+
}
4924+
]
4925+
},
48104926
"start_time": {
48114927
"type": "string",
48124928
"format": "date-time"
48134929
},
48144930
"testbed": {
4815-
"type": "string",
4816-
"format": "uuid"
4931+
"$ref": "#/components/schemas/ResourceId"
48174932
}
48184933
},
48194934
"required": [
@@ -5224,6 +5339,31 @@
52245339
"type": "string",
52255340
"format": "uuid"
52265341
},
5342+
"JsonReportSettings": {
5343+
"type": "object",
5344+
"properties": {
5345+
"adapter": {
5346+
"nullable": true,
5347+
"allOf": [
5348+
{
5349+
"$ref": "#/components/schemas/JsonAdapter"
5350+
}
5351+
]
5352+
},
5353+
"allow_failure": {
5354+
"nullable": true,
5355+
"type": "boolean"
5356+
},
5357+
"fold": {
5358+
"nullable": true,
5359+
"allOf": [
5360+
{
5361+
"$ref": "#/components/schemas/JsonFold"
5362+
}
5363+
]
5364+
}
5365+
}
5366+
},
52275367
"JsonRestart": {
52285368
"type": "object",
52295369
"properties": {
@@ -5235,6 +5375,41 @@
52355375
}
52365376
}
52375377
},
5378+
"JsonResult": {
5379+
"type": "object",
5380+
"properties": {
5381+
"benchmark": {
5382+
"type": "string",
5383+
"format": "uuid"
5384+
},
5385+
"iteration": {
5386+
"type": "integer",
5387+
"format": "uint32",
5388+
"minimum": 0
5389+
},
5390+
"metrics": {
5391+
"type": "object",
5392+
"additionalProperties": {
5393+
"$ref": "#/components/schemas/JsonMetric"
5394+
}
5395+
},
5396+
"report": {
5397+
"type": "string",
5398+
"format": "uuid"
5399+
},
5400+
"uuid": {
5401+
"type": "string",
5402+
"format": "uuid"
5403+
}
5404+
},
5405+
"required": [
5406+
"benchmark",
5407+
"iteration",
5408+
"metrics",
5409+
"report",
5410+
"uuid"
5411+
]
5412+
},
52385413
"JsonServer": {
52395414
"type": "object",
52405415
"properties": {
@@ -5676,6 +5851,9 @@
56765851
"name": "reports",
56775852
"description": "Reports"
56785853
},
5854+
{
5855+
"name": "results"
5856+
},
56795857
{
56805858
"name": "server"
56815859
},

0 commit comments

Comments
 (0)