Skip to content

Commit c237518

Browse files
OAS Update
1 parent 88fd9e5 commit c237518

File tree

1 file changed

+68
-183
lines changed

1 file changed

+68
-183
lines changed

services/object-storage/v1/object-storage.json

Lines changed: 68 additions & 183 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,19 @@
6262
"title": "Bucket",
6363
"type": "object"
6464
},
65+
"CreateAccessKeyPayload": {
66+
"properties": {
67+
"expires": {
68+
"description": "Expiration date. Null means never expires.",
69+
"example": "2020-09-04T00:00:00.000Z",
70+
"format": "date-time",
71+
"title": "Expires",
72+
"type": "string"
73+
}
74+
},
75+
"title": "CreateAccessKeyRequest",
76+
"type": "object"
77+
},
6578
"CreateAccessKeyResponse": {
6679
"properties": {
6780
"accessKey": {
@@ -134,46 +147,40 @@
134147
"title": "CreateBucketResponse",
135148
"type": "object"
136149
},
137-
"CreateCredentialsGroupResponse": {
150+
"CreateCredentialsGroupPayload": {
138151
"properties": {
139-
"credentialsGroup": {
140-
"$ref": "#/components/schemas/CredentialsGroup"
141-
},
142-
"project": {
143-
"description": "Project ID",
144-
"example": "cd5e788d-5b7b-4ab9-a20d-e790205df10b",
145-
"title": "Project",
152+
"displayName": {
153+
"description": "Name of the group holding credentials",
154+
"example": "group-name-1",
155+
"maxLength": 32,
156+
"minLength": 1,
157+
"title": "Credentials group name",
146158
"type": "string"
147159
}
148160
},
149161
"required": [
150-
"project",
151-
"credentialsGroup"
162+
"displayName"
152163
],
153-
"title": "CreateCredentialsGroupResponse",
164+
"title": "CreateCredentialsGroupRequest",
154165
"type": "object"
155166
},
156-
"CreateServiceAccountResponse": {
167+
"CreateCredentialsGroupResponse": {
157168
"properties": {
158-
"accessKey": {
159-
"$ref": "#/components/schemas/CreateAccessKeyResponse"
169+
"credentialsGroup": {
170+
"$ref": "#/components/schemas/CredentialsGroup"
160171
},
161172
"project": {
162173
"description": "Project ID",
163174
"example": "cd5e788d-5b7b-4ab9-a20d-e790205df10b",
164175
"title": "Project",
165176
"type": "string"
166-
},
167-
"serviceAccounts": {
168-
"$ref": "#/components/schemas/ServiceAccount"
169177
}
170178
},
171179
"required": [
172180
"project",
173-
"serviceAccounts",
174-
"accessKey"
181+
"credentialsGroup"
175182
],
176-
"title": "CreateServiceAccountResponse",
183+
"title": "CreateCredentialsGroupResponse",
177184
"type": "object"
178185
},
179186
"CredentialsGroup": {
@@ -271,28 +278,6 @@
271278
"title": "DeleteCredentialsGroupResponse",
272279
"type": "object"
273280
},
274-
"DeleteServiceAccountResponse": {
275-
"properties": {
276-
"project": {
277-
"description": "Project ID",
278-
"example": "cd5e788d-5b7b-4ab9-a20d-e790205df10b",
279-
"title": "Project",
280-
"type": "string"
281-
},
282-
"serviceAccountId": {
283-
"description": "The ID of the service account",
284-
"example": "svc-3969597f-d2f3-4c07-8533-1a4bf8159c0e",
285-
"title": "Service account ID",
286-
"type": "string"
287-
}
288-
},
289-
"required": [
290-
"project",
291-
"serviceAccountId"
292-
],
293-
"title": "DeleteServiceAccountResponse",
294-
"type": "object"
295-
},
296281
"DetailedError": {
297282
"properties": {
298283
"key": {
@@ -348,29 +333,6 @@
348333
"title": "GetBucketResponse",
349334
"type": "object"
350335
},
351-
"GetServiceAccountsResponse": {
352-
"properties": {
353-
"project": {
354-
"description": "Project ID",
355-
"example": "cd5e788d-5b7b-4ab9-a20d-e790205df10b",
356-
"title": "Project",
357-
"type": "string"
358-
},
359-
"serviceAccounts": {
360-
"items": {
361-
"$ref": "#/components/schemas/ServiceAccount"
362-
},
363-
"title": "Serviceaccounts",
364-
"type": "array"
365-
}
366-
},
367-
"required": [
368-
"project",
369-
"serviceAccounts"
370-
],
371-
"title": "GetServiceAccountsResponse",
372-
"type": "object"
373-
},
374336
"HTTPValidationError": {
375337
"properties": {
376338
"detail": {
@@ -384,106 +346,6 @@
384346
"title": "HTTPValidationError",
385347
"type": "object"
386348
},
387-
"ProjectScope": {
388-
"description": "The scope of a STACKIT project can be public (default) or\ncan have client specific special requirements.",
389-
"enum": [
390-
"PUBLIC",
391-
"SCHWARZ"
392-
],
393-
"title": "ProjectScope"
394-
},
395-
"ServiceAccount": {
396-
"properties": {
397-
"ServiceAccountId": {
398-
"description": "The ID of the service account",
399-
"example": "3969597f-d2f3-4c07-8533-1a4bf8159c0e",
400-
"title": "Service account ID",
401-
"type": "string"
402-
},
403-
"displayName": {
404-
"description": "Name of the Service Account",
405-
"example": "service-account-1",
406-
"title": "Service Account name",
407-
"type": "string"
408-
},
409-
"urn": {
410-
"description": "Service account URN",
411-
"example": "urn:sgws:identity::12345678901234567890:user/service-account-1",
412-
"title": "Urn",
413-
"type": "string"
414-
}
415-
},
416-
"required": [
417-
"ServiceAccountId",
418-
"urn",
419-
"displayName"
420-
],
421-
"title": "ServiceAccount",
422-
"type": "object"
423-
},
424-
"ValidationError": {
425-
"properties": {
426-
"loc": {
427-
"items": {
428-
"anyOf": [
429-
{
430-
"type": "string"
431-
},
432-
{
433-
"type": "integer"
434-
}
435-
]
436-
},
437-
"title": "Location",
438-
"type": "array"
439-
},
440-
"msg": {
441-
"title": "Message",
442-
"type": "string"
443-
},
444-
"type": {
445-
"title": "Error Type",
446-
"type": "string"
447-
}
448-
},
449-
"required": [
450-
"loc",
451-
"msg",
452-
"type"
453-
],
454-
"title": "ValidationError",
455-
"type": "object"
456-
},
457-
"CreateAccessKeyPayload": {
458-
"properties": {
459-
"expires": {
460-
"description": "Expiration date. Null means never expires.",
461-
"example": "2020-09-04T00:00:00.000Z",
462-
"format": "date-time",
463-
"title": "Expires",
464-
"type": "string"
465-
}
466-
},
467-
"title": "CreateAccessKeyRequest",
468-
"type": "object"
469-
},
470-
"CreateCredentialsGroupPayload": {
471-
"properties": {
472-
"displayName": {
473-
"description": "Name of the group holding credentials",
474-
"example": "group-name-1",
475-
"maxLength": 32,
476-
"minLength": 1,
477-
"title": "Credentials group name",
478-
"type": "string"
479-
}
480-
},
481-
"required": [
482-
"displayName"
483-
],
484-
"title": "CreateCredentialsGroupRequest",
485-
"type": "object"
486-
},
487349
"ListAccessKeysResponse": {
488350
"properties": {
489351
"accessKeys": {
@@ -553,6 +415,14 @@
553415
"title": "GetCredentialsGroupsResponse",
554416
"type": "object"
555417
},
418+
"ProjectScope": {
419+
"description": "The scope of a STACKIT project can be public (default) or\ncan have client specific special requirements.",
420+
"enum": [
421+
"PUBLIC",
422+
"SCHWARZ"
423+
],
424+
"title": "ProjectScope"
425+
},
556426
"ProjectStatus": {
557427
"properties": {
558428
"project": {
@@ -577,6 +447,39 @@
577447
],
578448
"title": "ProjectResponse",
579449
"type": "object"
450+
},
451+
"ValidationError": {
452+
"properties": {
453+
"loc": {
454+
"items": {
455+
"anyOf": [
456+
{
457+
"type": "string"
458+
},
459+
{
460+
"type": "integer"
461+
}
462+
]
463+
},
464+
"title": "Location",
465+
"type": "array"
466+
},
467+
"msg": {
468+
"title": "Message",
469+
"type": "string"
470+
},
471+
"type": {
472+
"title": "Error Type",
473+
"type": "string"
474+
}
475+
},
476+
"required": [
477+
"loc",
478+
"msg",
479+
"type"
480+
],
481+
"title": "ValidationError",
482+
"type": "object"
580483
}
581484
}
582485
},
@@ -1667,23 +1570,5 @@
16671570
}
16681571
}
16691572
}
1670-
],
1671-
"tags": [
1672-
{
1673-
"description": "Manage access keys.",
1674-
"name": "access-key"
1675-
},
1676-
{
1677-
"description": "Manage buckets.",
1678-
"name": "bucket"
1679-
},
1680-
{
1681-
"description": "Manage groups that hold access credentials",
1682-
"name": "credentials-group"
1683-
},
1684-
{
1685-
"description": "Manage projects.",
1686-
"name": "project"
1687-
}
16881573
]
16891574
}

0 commit comments

Comments
 (0)