File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
services/observability/v1 Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 637
637
],
638
638
"type" : " object"
639
639
},
640
+ "CreateCredentialsPayload" : {
641
+ "description" : " Create new credentials with (optional) description" ,
642
+ "properties" : {
643
+ "description" : {
644
+ "description" : " description" ,
645
+ "maxLength" : 1000 ,
646
+ "minLength" : 1 ,
647
+ "type" : " string"
648
+ }
649
+ },
650
+ "type" : " object"
651
+ },
640
652
"CreateCredentialsResponse" : {
641
653
"properties" : {
642
654
"credentials" : {
1103
1115
},
1104
1116
"Credentials" : {
1105
1117
"properties" : {
1118
+ "description" : {
1119
+ "maxLength" : 1000 ,
1120
+ "minLength" : 1 ,
1121
+ "title" : " Description" ,
1122
+ "type" : " string"
1123
+ },
1106
1124
"password" : {
1107
1125
"minLength" : 1 ,
1108
1126
"title" : " Password" ,
2899
2917
"title" : " Credentialsinfo" ,
2900
2918
"type" : " object"
2901
2919
},
2920
+ "description" : {
2921
+ "maxLength" : 1000 ,
2922
+ "minLength" : 1 ,
2923
+ "title" : " Description" ,
2924
+ "type" : " string"
2925
+ },
2902
2926
"id" : {
2903
2927
"maxLength" : 200 ,
2904
2928
"minLength" : 1 ,
7503
7527
"credentials" : [
7504
7528
{
7505
7529
"credentialsInfo" : {
7530
+ "description" : " description" ,
7506
7531
"username" : " test"
7507
7532
},
7508
7533
"id" : " test" ,
7562
7587
}
7563
7588
}
7564
7589
],
7590
+ "requestBody" : {
7591
+ "content" : {
7592
+ "application/json" : {
7593
+ "schema" : {
7594
+ "$ref" : " #/components/schemas/CreateCredentialsPayload"
7595
+ }
7596
+ }
7597
+ }
7598
+ },
7565
7599
"responses" : {
7566
7600
"201" : {
7567
7601
"content" : {
7568
7602
"application/json" : {
7569
7603
"example" : {
7570
7604
"credentials" : {
7605
+ "description" : " description" ,
7571
7606
"password" : " 1fasAELDB234ddeDAfdasfel787oplpj" ,
7572
7607
"username" : " test"
7573
7608
},
7580
7615
},
7581
7616
"description" : " The technical credentials were successfully created."
7582
7617
},
7618
+ "400" : {
7619
+ "content" : {
7620
+ "application/json" : {
7621
+ "example" : {
7622
+ "message" : " Description must not exceed 1000 characters."
7623
+ },
7624
+ "schema" : {
7625
+ "$ref" : " #/components/schemas/Error"
7626
+ }
7627
+ }
7628
+ },
7629
+ "description" : " Provided description must not exceed 1000 characters."
7630
+ },
7583
7631
"403" : {
7584
7632
"content" : {
7585
7633
"application/json" : {
7732
7780
"application/json" : {
7733
7781
"example" : {
7734
7782
"credentialsInfo" : {
7783
+ "description" : " description" ,
7735
7784
"username" : " testing_9449de83-64ac-45dc-9967-e7c75bbdca70_4d92d3d9-d5c2-4c0b-98ad-950878101d9e"
7736
7785
},
7737
7786
"id" : " testing_9449de83-64ac-45dc-9967-e7c75bbdca70_4d92d3d9-d5c2-4c0b-98ad-950878101d9e" ,
You can’t perform that action at this time.
0 commit comments