Skip to content

Commit

Permalink
Spinpanel, bugfixes, quality improvements (#1174)
Browse files Browse the repository at this point in the history
* Spinpanel, bugfixes, quality improvements

* Syntax, cleanup
  • Loading branch information
VincentMejan authored Oct 12, 2021
1 parent 0f8f77a commit cd8b6c2
Showing 1 changed file with 147 additions and 142 deletions.
289 changes: 147 additions & 142 deletions certified-connectors/Spinpanel/apiDefinition.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@
]
}
},
"/graph/v1.0/users/{microsoftObjectId}/assignlicense": {
"/graph/v1/organizations/{organizationId}/v1.0/users/{microsoftObjectId}/assignlicense": {
"post": {
"responses": {
"201": {
Expand Down Expand Up @@ -885,6 +885,15 @@
}
},
"parameters": [
{
"name": "organizationId",
"in": "path",
"required": true,
"type": "string",
"description": "Spinpanel organization identifier.",
"x-ms-summary": "Spinpanel organization id.",
"x-ms-url-encoding" : "single"
},
{
"name": "microsoftObjectId",
"in": "path",
Expand All @@ -908,9 +917,7 @@
"properties": {
"disabledPlans": {
"type": "array",
"items": {
"type": "string"
},
"items": {},
"description": "Disabled plans."
},
"skuId": {
Expand All @@ -924,12 +931,9 @@
},
"removeLicenses": {
"type": "array",
"items": {
"type": "string",
"description": "A collection of GUIDs that identify the licenses to remove.",
"title": "Remove licenses"
},
"description": "Remove licenses."
"items": {},
"description": "A collection of GUIDs that identify the licenses to remove.",
"title": "Remove licenses"
}
}
}
Expand Down Expand Up @@ -1181,130 +1185,7 @@
"operationId": "GetADSecurityGroups",
"summary": "Get Azure AD security groups",
"description": "Get a list of Azure AD security groups of all organizations you are authorized to view."
}
},
"/graph/v1/organizations/{organizationId}/v1.0/domains": {
"get": {
"responses": {
"200": {
"description": "Ok.",
"schema": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"authenticationType": {
"type": "string",
"description": "Authentication type of the domain.",
"title": "Authentication type"
},
"availabilityStatus": {
"type": "string",
"description": "Availability status of the domain.",
"title": "Availability status"
},
"id": {
"type": "string",
"description": "Identifier of the domain.",
"title": "Id"
},
"isAdminManaged": {
"type": "boolean",
"description": "Indicates if the domain is admin managed.",
"title": "Admin managed",
"enum": [
true,
false
]
},
"isDefault": {
"type": "boolean",
"description": "Indicates if this is the default domain.",
"title": "Default",
"enum": [
true,
false
]
},
"isInitial": {
"type": "boolean",
"description": "Indicates if this is the initial domain.",
"title": "Initial",
"enum": [
true,
false
]
},
"isRoot": {
"type": "boolean",
"description": "Indicates if this is the root domain.",
"title": "Root",
"enum": [
true,
false
]
},
"isVerified": {
"type": "boolean",
"description": "Indicates if the domain is verified.",
"title": "Verified",
"enum": [
true,
false
]
},
"supportedServices": {
"type": "array",
"items": {
"type": "string"
},
"description": "Supported services."
},
"passwordValidityPeriodInDays": {
"type": "integer",
"format": "int32",
"description": "Indicates the password validity in days.",
"title": "Password validity"
},
"passwordNotificationWindowInDays": {
"type": "integer",
"format": "int32",
"description": "Indicates the password notifcation window in days.",
"title": "Password notification windows"
},
"state": {
"type": "string",
"description": "State of the domain.",
"title": "State"
}
}
},
"description": "Value."
}
}
}
}
},
"parameters": [
{
"name": "organizationId",
"in": "path",
"required": true,
"type": "string",
"description": "Spinpanel organization identifier.",
"x-ms-summary": "Spinpanel organization id.",
"x-ms-url-encoding" : "single"
}
],
"operationId": "GetGraphDomains",
"description": "Retrieve a list of domain objects.",
"summary": "List organization domains"
}
},
"/graph/v1/organizations/{organizationId}v1.0/groups": {
},
"post": {
"responses": {
"201": {
Expand Down Expand Up @@ -1526,6 +1407,127 @@
"description": "Create azure AD group."
}
},
"/graph/v1/organizations/{organizationId}/v1.0/domains": {
"get": {
"responses": {
"200": {
"description": "Ok.",
"schema": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "object",
"properties": {
"authenticationType": {
"type": "string",
"description": "Authentication type of the domain.",
"title": "Authentication type"
},
"availabilityStatus": {
"type": "string",
"description": "Availability status of the domain.",
"title": "Availability status"
},
"id": {
"type": "string",
"description": "Identifier of the domain.",
"title": "Id"
},
"isAdminManaged": {
"type": "boolean",
"description": "Indicates if the domain is admin managed.",
"title": "Admin managed",
"enum": [
true,
false
]
},
"isDefault": {
"type": "boolean",
"description": "Indicates if this is the default domain.",
"title": "Default",
"enum": [
true,
false
]
},
"isInitial": {
"type": "boolean",
"description": "Indicates if this is the initial domain.",
"title": "Initial",
"enum": [
true,
false
]
},
"isRoot": {
"type": "boolean",
"description": "Indicates if this is the root domain.",
"title": "Root",
"enum": [
true,
false
]
},
"isVerified": {
"type": "boolean",
"description": "Indicates if the domain is verified.",
"title": "Verified",
"enum": [
true,
false
]
},
"supportedServices": {
"type": "array",
"items": {
"type": "string"
},
"description": "Supported services."
},
"passwordValidityPeriodInDays": {
"type": "integer",
"format": "int32",
"description": "Indicates the password validity in days.",
"title": "Password validity"
},
"passwordNotificationWindowInDays": {
"type": "integer",
"format": "int32",
"description": "Indicates the password notifcation window in days.",
"title": "Password notification windows"
},
"state": {
"type": "string",
"description": "State of the domain.",
"title": "State"
}
}
},
"description": "Value."
}
}
}
}
},
"parameters": [
{
"name": "organizationId",
"in": "path",
"required": true,
"type": "string",
"description": "Spinpanel organization identifier.",
"x-ms-summary": "Spinpanel organization id.",
"x-ms-url-encoding" : "single"
}
],
"operationId": "GetGraphDomains",
"description": "Retrieve a list of domain objects.",
"summary": "List organization domains"
}
},
"/directory/v1/organizations/{organizationId}/usergroups/{userGroupId}": {
"delete": {
"responses": {
Expand Down Expand Up @@ -1673,7 +1675,7 @@
"properties": {
"@odata.id": {
"type": "string",
"description": "JSON representation of a directoryObject, user, group, or organizational contact object to be added.",
"description": "URI of the directory, user, group, or organizational contact object to be added.",
"title": "Member"
}
},
Expand Down Expand Up @@ -1933,7 +1935,9 @@
}
],
"operationId": "GetSubscriptions"
},
}
},
"/partnercenter/v1/partners/{partnerId}/organizations/{customerId}/v1.0/customers/{tenantId}/subscriptions/{subscriptionId}": {
"patch": {
"responses": {
"200": {
Expand Down Expand Up @@ -1970,12 +1974,13 @@
"x-ms-url-encoding" : "single"
},
{
"name": "quantityOnly",
"in": "query",
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "boolean",
"default": true,
"x-ms-visibility": "internal"
"type": "string",
"description": "Subscription identifier of the customer.",
"x-ms-summary": "Subsription id.",
"x-ms-url-encoding" : "single"
},
{
"name": "body",
Expand All @@ -1987,7 +1992,7 @@
"quantity": {
"type": "integer",
"format": "int32",
"description": "Quantity of the susbscription.",
"description": "Quantity of the subscription.",
"title": "Quantity"
}
}
Expand Down

0 comments on commit cd8b6c2

Please sign in to comment.