UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

1,921 lines 898 kB
{ "swagger": "2.0", "info": { "version": "preview", "title": "App Center Client", "description": "Microsoft Visual Studio App Center API" }, "host": "api.appcenter.ms", "basePath": "/", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/v0.1/users/{user_id}/devices/register": { "post": { "description": "Registers a user for an existing device", "parameters": [ { "name": "user_id", "type": "string", "in": "path", "description": "The ID of the user", "required": true }, { "name": "body", "description": "The device info.", "in": "body", "required": true, "schema": { "$ref": "#/definitions/DeviceInfoRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/DeviceInfoResponse" } }, "404": { "description": "<b>not_found</b>: The user or the device can't be found.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, "operationId": "devices_registerUserForDevice", "security": [ { "APIToken": [] } ], "tags": [ "distribute" ] } }, "/v0.1/user/notifications/emailSettings": { "get": { "operationId": "notifications_getUserEmailSettings", "description": "Get Default email notification settings for the user", "parameters": [], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/AlertUserEmailSettingsResult" } }, "default": { "description": "Error code with reason", "schema": { "$ref": "#/definitions/AlertingError" } } }, "security": [ { "APIToken": [] } ], "tags": [ "alerting" ] } }, "/v0.1/user/invitations/orgs/{invitation_token}/reject": { "post": { "description": "Rejects a pending organization invitation", "parameters": [ { "$ref": "#/parameters/invitation_token" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_reject", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/user/invitations/orgs/{invitation_token}/accept": { "post": { "description": "Accepts a pending organization invitation for the specified user", "parameters": [ { "$ref": "#/parameters/invitation_token" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_accept", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/user/invitations/distribution_groups/accept": { "post": { "description": "Accepts all pending invitations to distribution groups for the specified user", "parameters": [], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "distributionGroupInvitations_acceptAll", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/user/invitations/apps/{invitation_token}/reject": { "post": { "description": "Rejects a pending invitation for the specified user", "parameters": [ { "$ref": "#/parameters/invitation_token" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "appInvitations_reject", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/user/invitations/apps/{invitation_token}/accept": { "post": { "description": "Accepts a pending invitation for the specified user", "parameters": [ { "$ref": "#/parameters/invitation_token" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "appInvitations_accept", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/user/export/serviceConnections": { "get": { "description": "Gets all service connections of the service type for GDPR export.", "parameters": [], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/SharedConnectionResponse" } } }, "default": { "description": "bad_request: proper details are not provided for connection in body.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, "operationId": "sharedconnection_Connections", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/user/dsr/export/{token}/cancel": { "post": { "operationId": "DataSubjectRight_CancelExportRequest", "parameters": [ { "$ref": "#/parameters/DataSubjectRightRequestToken" } ], "responses": { "202": { "description": "Data subject right cancel export request has been accepted.", "headers": { "Location": { "type": "string", "description": "Link to get details about the cancel export." } }, "schema": { "$ref": "#/definitions/DataSubjectRightResponse" } }, "503": { "description": "Cancel export request cannot be processed yet.", "schema": { "$ref": "#/definitions/ErrorResponse" } }, "default": { "description": "Error code with reason", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "APIToken": [] } ], "tags": [ "gdpr" ] } }, "/v0.1/user/dsr/export/{token}": { "get": { "operationId": "DataSubjectRight_ExportStatusRequest", "parameters": [ { "$ref": "#/parameters/DataSubjectRightRequestToken" } ], "responses": { "200": { "description": "Data subject right export request status successfully retrieved.", "schema": { "$ref": "#/definitions/DataSubjectRightStatusResponse" } }, "default": { "description": "Error code with reason", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "APIToken": [] } ], "tags": [ "gdpr" ] } }, "/v0.1/user/dsr/export": { "post": { "operationId": "DataSubjectRight_ExportRequest", "parameters": [], "responses": { "202": { "description": "Data subject right export request has been accepted.", "headers": { "Location": { "type": "string", "description": "Link to get details about the export." } }, "schema": { "$ref": "#/definitions/DataSubjectRightResponse" } }, "default": { "description": "Error code with reason", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "APIToken": [] } ], "tags": [ "gdpr" ] } }, "/v0.1/user/dsr/delete/{token}/cancel": { "post": { "operationId": "DataSubjectRight_CancelDeleteRequest", "parameters": [ { "$ref": "#/parameters/DataSubjectRightRequestToken" }, { "name": "email", "in": "body", "schema": { "$ref": "#/definitions/DataSubjectRightEmailRequest" } } ], "responses": { "202": { "description": "Data subject right cancel delete request has been accepted.", "headers": { "Location": { "type": "string", "description": "Link to get details about the cancel delete." } }, "schema": { "$ref": "#/definitions/DataSubjectRightResponse" } }, "503": { "description": "Cancel delete request cannot be processed yet.", "schema": { "$ref": "#/definitions/ErrorResponse" } }, "default": { "description": "Error code with reason", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "APIToken": [] } ], "tags": [ "gdpr" ] } }, "/v0.1/user/dsr/delete/{token}": { "get": { "operationId": "DataSubjectRight_DeleteStatusRequest", "parameters": [ { "$ref": "#/parameters/DataSubjectRightRequestToken" }, { "$ref": "#/parameters/DataSubjectRightEmail" } ], "responses": { "200": { "description": "Data subject right delete request status successfully retrieved.", "schema": { "$ref": "#/definitions/DataSubjectRightStatusResponse" } }, "default": { "description": "Error code with reason", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "APIToken": [] } ], "tags": [ "gdpr" ] } }, "/v0.1/user/dsr/delete": { "post": { "operationId": "DataSubjectRight_DeleteRequest", "parameters": [], "responses": { "202": { "description": "Data subject right delete request has been accepted.", "headers": { "Location": { "type": "string", "description": "Link to get details about the delete." } }, "schema": { "$ref": "#/definitions/DataSubjectRightResponse" } }, "default": { "description": "Error code with reason", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "APIToken": [] } ], "tags": [ "gdpr" ] } }, "/v0.1/user/devices/{device_udid}": { "get": { "operationId": "devices_deviceDetails", "description": "Returns the device details.", "parameters": [ { "name": "device_udid", "type": "string", "in": "path", "description": "The UDID of the device", "required": true } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/DeviceInfoResponse" } }, "400": { "description": "<b>bad_request</b>: Devices information can only be requested for iOS apps.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } }, "403": { "description": "<b>forbidden</b>: The user is not allowed to view someone else's device.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } }, "404": { "description": "<b>not_found</b>: The user or device can't be found.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, "security": [ { "APIToken": [] } ], "tags": [ "distribute" ] }, "delete": { "description": "Removes an existing device from a user", "parameters": [ { "name": "device_udid", "type": "string", "in": "path", "description": "The UDID of the device", "required": true } ], "responses": { "200": { "description": "Success" }, "403": { "description": "<b>forbidden</b>: The user is not allowed to delete someone else's device.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } }, "404": { "description": "<b>not_found</b>: The user or the device can't be found.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, "operationId": "devices_removeUserDevice", "security": [ { "APIToken": [] } ], "tags": [ "distribute" ] } }, "/v0.1/user/devices": { "get": { "operationId": "devices_userDevicesList", "description": "Returns all devices associated with the given user.", "parameters": [], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/DeviceInfoResponse" } } }, "400": { "description": "<b>bad_request</b>: Devices information can only be requested for iOS apps.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } }, "403": { "description": "<b>forbidden</b>: The user is not allowed to view someone else's devices.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } }, "404": { "description": "<b>not_found</b>: A user can't be found.\n", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, "security": [ { "APIToken": [] } ], "tags": [ "distribute" ] } }, "/v0.1/user": { "get": { "description": "Returns the user profile data", "parameters": [], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/UserProfileResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "users_get", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "patch": { "description": "Updates the user profile and returns the updated user data", "parameters": [ { "name": "user", "in": "body", "description": "The data for the created user", "required": true, "schema": { "$ref": "#/definitions/UserUpdateRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/UserProfileResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "users_update", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/tester/apps": { "get": { "operationId": "releases_listTesterApps", "description": "Return a list of applications that the user has tester permission to with the latest release for each.", "parameters": [], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/TesterAppWithReleaseResponse" } } } }, "security": [ { "APIToken": [] } ], "tags": [ "distribute" ] } }, "/v0.1/sdk/apps/{app_secret}/releases/{release_hash}": { "get": { "description": "Get a release with hash 'release_hash' or the 'latest' from all the distribution groups assigned to the current user.", "operationId": "releases_getLatestByHash", "parameters": [ { "name": "app_secret", "type": "string", "in": "path", "description": "The secret of the target application", "required": true }, { "name": "release_hash", "type": "string", "in": "path", "description": "The hash of the release or 'latest' to get the latest release from all the distribution groups assigned to the current user.", "required": true }, { "name": "udid", "type": "string", "in": "query", "description": "When passing `udid` in the query string, a provisioning check for the given device ID will be done. Will be ignored for non-iOS platforms.", "required": false } ], "responses": { "200": { "description": "If called with a specific `release_hash` return the app's 'display_name'' and 'buildIdentifier'. If 'release_hash' is 'latest' return the full release details of the latest release that was distributed to the current user (from all the distribution groups).", "schema": { "$ref": "#/definitions/ReleaseDetailsResponse" } }, "404": { "description": "Error codes:\n- `not_found` - A release or an app can't be found.\n- `no_releases_for_user` - No releases available for that user (will only be returned when `release_hash` is `latest`)\n", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, "security": [ { "APIToken": [] } ], "tags": [ "distribute" ] } }, "/v0.1/orgs/{org_name}/users/{user_name}": { "patch": { "description": "Updates the given organization user", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/user_name" }, { "name": "organization_user", "in": "body", "required": true, "schema": { "$ref": "#/definitions/OrganizationUserPatchRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/OrganizationUserResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "users_updateOrgRole", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "delete": { "description": "Removes a user from an organization.", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/user_name" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "users_removeFromOrg", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/users": { "get": { "description": "Returns a list of users that belong to an organization", "parameters": [ { "$ref": "#/parameters/organization_name" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/OrganizationUserResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "users_listForOrg", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/testers": { "get": { "description": "Returns a unique list of users including the whole organization members plus testers in any shared group of that org", "parameters": [ { "$ref": "#/parameters/organization_name" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/DistributionGroupTesterGetResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "distributionGroups_listAllTestersForOrg", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/teams/{team_name}/users/{user_name}": { "delete": { "description": "Removes a user from a team that is owned by an organization", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" }, { "$ref": "#/parameters/user_name" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_removeUser", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/teams/{team_name}/users": { "get": { "description": "Returns the users of a team which is owned by an organization", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/TeamUserResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_getUsers", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "post": { "description": "Adds a new user to a team that is owned by an organization", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" }, { "name": "user_email", "in": "body", "description": "The email of the user to add to the team", "schema": { "$ref": "#/definitions/UserEmailRequest" } } ], "responses": { "201": { "description": "Success", "schema": { "$ref": "#/definitions/TeamUserResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_addUser", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/teams/{team_name}/apps/{app_name}": { "patch": { "description": "Updates the permissions the team has to the app", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" }, { "$ref": "#/parameters/app_name" }, { "name": "team", "in": "body", "schema": { "$ref": "#/definitions/TeamAppUpdateRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/AppWithTeamPermissionsResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_updatePermissions", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "delete": { "description": "Removes an app from a team", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" }, { "$ref": "#/parameters/app_name" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_removeApp", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/teams/{team_name}/apps": { "post": { "description": "Adds an app to a team", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" }, { "name": "app", "in": "body", "description": "The name of the app to be added to the team. The app has to be owned by the organization.", "required": true, "schema": { "$ref": "#/definitions/AppAddRequest" } } ], "responses": { "201": { "description": "Success", "schema": { "$ref": "#/definitions/AppWithTeamPermissionsResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_addApp", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "get": { "description": "Returns the apps a team has access to", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/AppWithTeamPermissionsResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_listApps", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/teams/{team_name}": { "get": { "description": "Returns the details of a single team", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/TeamResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_getTeam", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "delete": { "description": "Deletes a single team", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_delete", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "patch": { "description": "Updates a single team", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/team_name" }, { "name": "team", "in": "body", "description": "The information used to create the team", "schema": { "$ref": "#/definitions/TeamRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/TeamResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_update", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/teams": { "get": { "description": "Returns the list of all teams in this org", "parameters": [ { "$ref": "#/parameters/organization_name" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/TeamResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_listAll", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "post": { "description": "Creates a team and returns it", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "name": "team", "in": "body", "description": "The information used to create the team", "schema": { "$ref": "#/definitions/TeamRequest" } } ], "responses": { "201": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/TeamResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "teams_createTeam", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/invitations/{email}/revoke": { "post": { "description": "Removes a user's invitation to an organization", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/email" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/invitations/{email}/resend": { "post": { "description": "Cancels an existing organization invitation for the user and sends a new one", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/email" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_sendNewInvitation", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/invitations/{email}": { "patch": { "description": "Allows the role of an invited user to be changed", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/email" }, { "name": "user_role", "in": "body", "description": "The new role of the user", "required": true, "schema": { "$ref": "#/definitions/OrganizationUserPatchRequest" } } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_update", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/invitations": { "post": { "description": "Invites a new or existing user to an organization", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "name": "user_email", "in": "body", "description": "The email of the user to invite", "schema": { "$ref": "#/definitions/UserEmailRequest" } } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_create", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "delete": { "description": "Removes a user's invitation to an organization", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "name": "user_email", "in": "body", "description": "The email of the user whose invitation should be removed", "schema": { "$ref": "#/definitions/UserEmailRequest" } } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_delete", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "get": { "description": "Gets the pending invitations for the organization", "parameters": [ { "$ref": "#/parameters/organization_name" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/OrganizationInvitationSimpleDetailResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "orgInvitations_listPending", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/distribution_groups_details": { "get": { "description": "Returns a list of distribution groups with details for an organization", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/apps_limit" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/OrgDistributionGroupDetailsResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "distributionGroups_detailsForOrg", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/distribution_groups/{distribution_group_name}/resend_invite": { "post": { "description": "Resend shared distribution group invite notification to previously invited testers", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" }, { "$ref": "#/parameters/members" } ], "responses": { "204": { "description": "Success" }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "distributionGroups_resendSharedInvite", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/distribution_groups/{distribution_group_name}/members/bulk_delete": { "post": { "description": "Delete apps from distribution group in an org", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" }, { "$ref": "#/parameters/members" } ], "responses": { "204": { "description": "Success" } }, "operationId": "distributionGroups_bulkDeleteUsers", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/distribution_groups/{distribution_group_name}/members": { "get": { "description": "Returns a list of member in the distribution group specified", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/DistributionGroupUserGetResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "distributionGroups_listUsersForOrg", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "post": { "description": "Accepts an array of user email addresses to get added to the specified group", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" }, { "name": "member_emails", "in": "body", "description": "list of user email addresses that should get added as members to the specified group", "required": true, "schema": { "$ref": "#/definitions/DistributionGroupUserRequest" } } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/DistributionGroupUserPostResponse" } } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "distributionGroups_addUsersForOrg", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/distribution_groups/{distribution_group_name}/apps/bulk_delete": { "post": { "description": "Delete apps from distribution group in an org", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" }, { "name": "apps", "in": "body", "description": "The name of the apps to be deleted from the distribution group. The apps have to be owned by the organization.", "required": true, "schema": { "$ref": "#/definitions/DistributionGroupAppsDeleteRequest" } } ], "responses": { "204": { "description": "Success" } }, "operationId": "distributionGroups_bulkDeleteApps", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/distribution_groups/{distribution_group_name}/apps": { "get": { "description": "Get apps from a distribution group in an org", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" } ], "responses": { "200": { "description": "Success", "schema": { "type": "array", "items": { "$ref": "#/definitions/OrgDistributionGroupAppResponse" } } } }, "operationId": "distributionGroups_getApps", "security": [ { "APIToken": [] } ], "tags": [ "account" ] }, "post": { "description": "Add apps to distribution group in an org", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" }, { "name": "apps", "in": "body", "description": "The name of the apps to be added to the distribution group. The apps have to be owned by the organization.", "required": true, "schema": { "$ref": "#/definitions/DistributionGroupAppAddRequest" } } ], "responses": { "204": { "description": "Success" } }, "operationId": "distributionGroups_addApps", "security": [ { "APIToken": [] } ], "tags": [ "account" ] } }, "/v0.1/orgs/{org_name}/distribution_groups/{distribution_group_name}": { "get": { "description": "Returns a single distribution group in org for a given distribution group name", "parameters": [ { "$ref": "#/parameters/organization_name" }, { "$ref": "#/parameters/distribution_group_name" } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/DistributionGroupResponse" } }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "operationId": "distribut