Skip to content

Commit 1639cd4

Browse files
AmjedAyoub94farhansaferoombizthomasio101johannesheesterman
authored
Master branch sync (#2199)
* Partner Center connector - new fields and deal registration actions (#2130) * Update apiDefinition.swagger.json * Latest changes * fix format warning * X-Caller_Id should be optional * Update apiDefinition.swagger.json Review changes - ->Added reg status and sub status fields. ->Update the fields descriptions as per api's details available on Microsoft public site. ->Remove submission related fields. ->Mark registration status field as read only. ->Remove offerId from root. ->Use Enum values in Create deal registration model. ->Create a separate model for update deal registration. Create a separate action for update deal registration. * Update apiDefinition.swagger.json * Update apiDefinition.swagger.json Add deprecate text in Update a referral by Id action * Update apiDefinition.swagger.json Connector status keep as Preview and UpdateReferralById deprecated keep as false but deprecated word in description. * Update apiDefinition.swagger.json update deal registration success message. * Update apiDefinition.swagger.json added title for registration object * Bitskout Connector (#2140) * Bitskout Connector * Requested changes * EC-14395 Make it so fields aren't required anymore for updates (#2150) * Added orderby parameter * Added orderby parameter * feat: add x-ms-pageable extension * feat: add updatenextlink policy instance * refactor: whitespace refactoring * Update apiProperties.json * fix(EC-14395): Integrate the patch schema endpoint * fix(EC-14395): Add specs for the schema endpoint's responses * fix(EC-14395): Add required fields to the schema Co-authored-by: Johannes Heesterman <johannes@elfsquad.io> Co-authored-by: johannesheesterman <heestermanj@gmail.com> Co-authored-by: Stan van Rooy <stanvanrooy6@gmail.com> Co-authored-by: Farhan <103836444+94farhan@users.noreply.github.com> Co-authored-by: saferoombiz <32263053+saferoombiz@users.noreply.github.com> Co-authored-by: Tess Ellenoir Duursma <thomasduursma@outlook.com> Co-authored-by: Johannes Heesterman <johannes@elfsquad.io> Co-authored-by: johannesheesterman <heestermanj@gmail.com> Co-authored-by: Stan van Rooy <stanvanrooy6@gmail.com>
1 parent 2840df4 commit 1639cd4

File tree

5 files changed

+979
-5
lines changed

5 files changed

+979
-5
lines changed

certified-connectors/Elfsquad Data/apiDefinition.swagger.json

Lines changed: 108 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,49 @@
194194
"x-ms-visibility": "internal"
195195
}
196196
},
197+
"/data/1/{entity_name}/$patch-schema": {
198+
"get": {
199+
"responses": {
200+
"200": {
201+
"description": "Sucessfully fetched the schema",
202+
"schema": {
203+
"type": "object",
204+
"properties": {
205+
"type": {
206+
"$ref": "#/definitions/type"
207+
},
208+
"format": {
209+
"$ref": "#/definitions/format"
210+
},
211+
"properties": {
212+
"type": "object",
213+
"additionalProperties": {
214+
"$ref": "#/definitions/property"
215+
}
216+
},
217+
"required": {
218+
"type": "array",
219+
"items": {
220+
"type": "string"
221+
}
222+
}
223+
}
224+
}
225+
}
226+
},
227+
"summary": "Get patch schema",
228+
"operationId": "get_patch_schema",
229+
"parameters": [
230+
{
231+
"name": "entity_name",
232+
"in": "path",
233+
"required": true,
234+
"type": "string"
235+
}
236+
],
237+
"x-ms-visibility": "internal"
238+
}
239+
},
197240
"/data/1/{entity_name}": {
198241
"get": {
199242
"responses": {
@@ -393,7 +436,7 @@
393436
"schema": {
394437
"type": "object",
395438
"x-ms-dynamic-schema": {
396-
"operationId": "get_schema",
439+
"operationId": "get_patch_schema",
397440
"parameters": {
398441
"entity_name": {
399442
"parameter": "entity_name"
@@ -439,7 +482,70 @@
439482
}
440483
}
441484
},
442-
"definitions": {},
485+
"definitions": {
486+
"type": {
487+
"type": "string",
488+
"enum": [
489+
"array",
490+
"boolean",
491+
"integer",
492+
"null",
493+
"number",
494+
"object",
495+
"string"
496+
]
497+
},
498+
"format": {
499+
"type": "string",
500+
"enum": [
501+
"binary",
502+
"byte",
503+
"date",
504+
"date-no-tz",
505+
"date-time",
506+
"double",
507+
"email",
508+
"float",
509+
"html",
510+
"int32",
511+
"int64",
512+
"password",
513+
"uri",
514+
"uuid"
515+
]
516+
},
517+
"visibility": {
518+
"type": "string",
519+
"enum": [
520+
"advanced",
521+
"important",
522+
"internal"
523+
]
524+
},
525+
"property": {
526+
"type": "object",
527+
"properties": {
528+
"title": {
529+
"type": "string"
530+
},
531+
"description": {
532+
"type": "string"
533+
},
534+
"x-ms-visibility": {
535+
"$ref": "#/definitions/visibility"
536+
},
537+
"format": {
538+
"$ref": "#/definitions/format"
539+
},
540+
"type": {
541+
"$ref": "#/definitions/type"
542+
},
543+
"items": {
544+
"$ref": "#/definitions/property"
545+
}
546+
}
547+
}
548+
},
443549
"parameters": {
444550
"top": {
445551
"in": "query",

0 commit comments

Comments
 (0)