openapi: 3.0.0 info: description: Socket repos API endpoints. title: Socket Repos API version: '0' servers: - url: https://api.socket.dev/v0 paths: /orgs/{org_slug}/repos: get: tags: - repos summary: List repositories operationId: getOrgRepoList parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: sort in: query required: false description: '' schema: type: string default: created_at - name: direction in: query required: false description: '' schema: type: string default: desc - name: per_page in: query required: false description: '' schema: type: integer minimum: 1 maximum: 100 default: 30 - name: page in: query required: false description: '' schema: type: integer minimum: 1 default: 1 - name: include_archived in: query required: false description: Include archived repositories in the results schema: type: boolean default: false - name: workspace in: query required: false description: Filter repositories by workspace. When provided (including empty string), only repos in that workspace are returned. schema: type: string security: - bearerAuth: - repo:list - basicAuth: - repo:list description: 'Lists repositories for the specified organization. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo:list' responses: '200': content: application/json: schema: type: object additionalProperties: false description: '' properties: results: type: array items: type: object additionalProperties: false properties: id: type: string description: The ID of the repository default: '' created_at: type: string description: The creation date of the repository default: '' updated_at: type: string description: The last update date of the repository default: '' html_url: type: string description: The URL to the repository dashboard page default: '' head_full_scan_id: type: string description: The ID of the head full scan of the repository default: '' nullable: true integration_meta: anyOf: - type: object additionalProperties: false properties: type: type: string enum: - github value: type: object additionalProperties: false description: '' properties: installation_id: type: string description: The GitHub installation_id of the active associated Socket GitHub App default: '' installation_login: type: string description: The GitHub login name that the active Socket GitHub App installation is installed to default: '' repo_name: type: string description: The name of the associated GitHub repo. default: '' nullable: true repo_id: type: string description: The id of the associated GitHub repo. default: '' nullable: true required: - installation_id - installation_login - repo_id - repo_name nullable: true slug: type: string description: The slug of the repository. default: '' name: type: string description: The name of the repository default: '' description: type: string description: The description of the repository default: '' nullable: true homepage: type: string description: The homepage URL of the repository default: '' nullable: true visibility: type: string enum: - public - private description: The visibility of the repository default: private archived: type: boolean default: false description: Whether the repository is archived or not default_branch: type: string description: The default branch of the repository default: main nullable: true workspace: type: string description: The workspace of the repository default: '' description: '' description: '' nextPage: type: integer description: '' default: 0 nullable: true required: - nextPage - results description: Lists repositories for the specified organization. The authenticated user must be a member of the organization. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} post: tags: - repos summary: Create repository operationId: createOrgRepo parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: on_duplicate in: query required: false description: Set to "redirect" to receive a 302 redirect to the existing repo instead of a 409 error when a duplicate slug is detected. schema: type: string requestBody: content: application/json: schema: type: object additionalProperties: false properties: name: type: string description: The display name of the repository. When provided without a slug, the slug is automatically derived from the name. When omitted, the slug is used as the name. At least one of name or slug must be provided. default: '' description: type: string description: The description of the repository default: '' nullable: true homepage: type: string description: The homepage URL of the repository default: '' nullable: true visibility: type: string enum: - public - private description: The visibility of the repository default: private archived: type: boolean default: false description: Whether the repository is archived or not default_branch: type: string description: The default branch of the repository default: main nullable: true workspace: type: string description: The workspace of the repository default: '' slug: type: string description: The slug of the repository. If provided, used directly instead of being derived from name. Must only contain ASCII letters, digits, and the characters ., -, and _. default: '' description: '' required: false security: - bearerAuth: - repo:create - basicAuth: - repo:create description: 'Create a repository. Repos collect Full scans and Diff scans and are typically associated with a git repo. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo:create' responses: '201': content: application/json: schema: type: object additionalProperties: false properties: id: type: string description: The ID of the repository default: '' created_at: type: string description: The creation date of the repository default: '' updated_at: type: string description: The last update date of the repository default: '' html_url: type: string description: The URL to the repository dashboard page default: '' head_full_scan_id: type: string description: The ID of the head full scan of the repository default: '' nullable: true integration_meta: anyOf: - type: object additionalProperties: false properties: type: type: string enum: - github value: type: object additionalProperties: false description: '' properties: installation_id: type: string description: The GitHub installation_id of the active associated Socket GitHub App default: '' installation_login: type: string description: The GitHub login name that the active Socket GitHub App installation is installed to default: '' repo_name: type: string description: The name of the associated GitHub repo. default: '' nullable: true repo_id: type: string description: The id of the associated GitHub repo. default: '' nullable: true required: - installation_id - installation_login - repo_id - repo_name nullable: true slug: type: string description: The slug of the repository. default: '' name: type: string description: The name of the repository default: '' description: type: string description: The description of the repository default: '' nullable: true homepage: type: string description: The homepage URL of the repository default: '' nullable: true visibility: type: string enum: - public - private description: The visibility of the repository default: private archived: type: boolean default: false description: Whether the repository is archived or not default_branch: type: string description: The default branch of the repository default: main nullable: true workspace: type: string description: The workspace of the repository default: '' description: '' description: Lists repositories for the specified organization. The authenticated user must be a member of the organization. '302': content: application/json: schema: type: object additionalProperties: false properties: id: type: string description: The ID of the repository default: '' created_at: type: string description: The creation date of the repository default: '' updated_at: type: string description: The last update date of the repository default: '' html_url: type: string description: The URL to the repository dashboard page default: '' head_full_scan_id: type: string description: The ID of the head full scan of the repository default: '' nullable: true integration_meta: anyOf: - type: object additionalProperties: false properties: type: type: string enum: - github value: type: object additionalProperties: false description: '' properties: installation_id: type: string description: The GitHub installation_id of the active associated Socket GitHub App default: '' installation_login: type: string description: The GitHub login name that the active Socket GitHub App installation is installed to default: '' repo_name: type: string description: The name of the associated GitHub repo. default: '' nullable: true repo_id: type: string description: The id of the associated GitHub repo. default: '' nullable: true required: - installation_id - installation_login - repo_id - repo_name nullable: true slug: type: string description: The slug of the repository. default: '' name: type: string description: The name of the repository default: '' description: type: string description: The description of the repository default: '' nullable: true homepage: type: string description: The homepage URL of the repository default: '' nullable: true visibility: type: string enum: - public - private description: The visibility of the repository default: private archived: type: boolean default: false description: Whether the repository is archived or not default_branch: type: string description: The default branch of the repository default: main nullable: true workspace: type: string description: The workspace of the repository default: '' description: '' description: Redirects to the existing repository when on_duplicate=redirect is set and a duplicate slug is detected. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '409': $ref: '#/components/responses/SocketConflict' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} /orgs/{org_slug}/repos/{repo_slug}: get: tags: - repos summary: Get repository operationId: getOrgRepo parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: repo_slug in: path required: true description: The slug of the repository schema: type: string - name: workspace in: query required: false description: The workspace of the repository schema: type: string security: - bearerAuth: - repo:list - basicAuth: - repo:list description: 'Retrieve a repository associated with an organization. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo:list' responses: '200': content: application/json: schema: type: object additionalProperties: false description: '' properties: id: type: string description: The ID of the repository default: '' created_at: type: string description: The creation date of the repository default: '' updated_at: type: string description: The last update date of the repository default: '' html_url: type: string description: The URL to the repository dashboard page default: '' head_full_scan_id: type: string description: The ID of the head full scan of the repository default: '' nullable: true integration_meta: anyOf: - type: object additionalProperties: false properties: type: type: string enum: - github value: type: object additionalProperties: false description: '' properties: installation_id: type: string description: The GitHub installation_id of the active associated Socket GitHub App default: '' installation_login: type: string description: The GitHub login name that the active Socket GitHub App installation is installed to default: '' repo_name: type: string description: The name of the associated GitHub repo. default: '' nullable: true repo_id: type: string description: The id of the associated GitHub repo. default: '' nullable: true required: - installation_id - installation_login - repo_id - repo_name nullable: true slug: type: string description: The slug of the repository. default: '' name: type: string description: The name of the repository default: '' description: type: string description: The description of the repository default: '' nullable: true homepage: type: string description: The homepage URL of the repository default: '' nullable: true visibility: type: string enum: - public - private description: The visibility of the repository default: private archived: type: boolean default: false description: Whether the repository is archived or not default_branch: type: string description: The default branch of the repository default: main nullable: true workspace: type: string description: The workspace of the repository default: '' slig: type: string description: The slug of the repository. This typo is intentionally preserved for backwards compatibility reasons. default: '' required: - archived - created_at - default_branch - description - head_full_scan_id - homepage - html_url - id - integration_meta - name - slig - slug - updated_at - visibility - workspace description: Lists repositories for the specified organization. The authenticated user must be a member of the organization. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} post: tags: - repos summary: Update repository operationId: updateOrgRepo parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: repo_slug in: path required: true description: The slug of the repository schema: type: string - name: workspace in: query required: false description: The workspace of the repository schema: type: string requestBody: content: application/json: schema: type: object additionalProperties: false properties: name: type: string description: The name of the repository default: '' description: type: string description: The description of the repository default: '' nullable: true homepage: type: string description: The homepage URL of the repository default: '' nullable: true visibility: type: string enum: - public - private description: The visibility of the repository default: private archived: type: boolean default: false description: Whether the repository is archived or not default_branch: type: string description: The default branch of the repository default: main nullable: true workspace: type: string description: The workspace of the repository default: '' description: '' required: false security: - bearerAuth: - repo:update - basicAuth: - repo:update description: 'Update details of an existing repository. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo:update' responses: '200': content: application/json: schema: type: object additionalProperties: false properties: id: type: string description: The ID of the repository default: '' created_at: type: string description: The creation date of the repository default: '' updated_at: type: string description: The last update date of the repository default: '' html_url: type: string description: The URL to the repository dashboard page default: '' head_full_scan_id: type: string description: The ID of the head full scan of the repository default: '' nullable: true integration_meta: anyOf: - type: object additionalProperties: false properties: type: type: string enum: - github value: type: object additionalProperties: false description: '' properties: installation_id: type: string description: The GitHub installation_id of the active associated Socket GitHub App default: '' installation_login: type: string description: The GitHub login name that the active Socket GitHub App installation is installed to default: '' repo_name: type: string description: The name of the associated GitHub repo. default: '' nullable: true repo_id: type: string description: The id of the associated GitHub repo. default: '' nullable: true required: - installation_id - installation_login - repo_id - repo_name nullable: true slug: type: string description: The slug of the repository. default: '' name: type: string description: The name of the repository default: '' description: type: string description: The description of the repository default: '' nullable: true homepage: type: string description: The homepage URL of the repository default: '' nullable: true visibility: type: string enum: - public - private description: The visibility of the repository default: private archived: type: boolean default: false description: Whether the repository is archived or not default_branch: type: string description: The default branch of the repository default: main nullable: true workspace: type: string description: The workspace of the repository default: '' description: '' description: Updated repository details '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} delete: tags: - repos summary: Delete repository operationId: deleteOrgRepo parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: repo_slug in: path required: true description: The slug of the repository schema: type: string - name: workspace in: query required: false description: The workspace of the repository schema: type: string security: - bearerAuth: - repo:delete - basicAuth: - repo:delete description: 'Delete a single repository and all of its associated Full scans and Diff scans. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo:delete' responses: '200': content: application/json: schema: type: object additionalProperties: false description: '' properties: status: type: string description: '' default: ok required: - status description: Success '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} /orgs/{org_slug}/repos/labels/{label_id}/associate: post: tags: - repo-labels summary: Associate repository label (beta) operationId: associateOrgRepoLabel parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string requestBody: content: application/json: schema: type: object additionalProperties: false properties: repository_id: type: string description: The ID of the repository to associate with the label default: '' description: '' required: false security: - bearerAuth: - repo-label:update - basicAuth: - repo-label:update description: 'Associate a repository label with a repository. Labels can be used to group and organize repositories and to apply security/license policies. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:update' responses: '200': content: application/json: schema: type: object additionalProperties: false properties: status: type: string description: Status of the operation default: '' description: '' description: Associates a repository label with the specified repository. The authenticated user must be a member of the organization. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} /orgs/{org_slug}/repos/labels: post: tags: - repo-labels summary: Create repository label (beta) operationId: createOrgRepoLabel parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string requestBody: content: application/json: schema: type: object additionalProperties: false description: '' properties: name: type: string description: The name of the label default: '' required: - name required: true security: - bearerAuth: - repo-label:create - basicAuth: - repo-label:create description: 'Create a repository label. Labels can be used to group and organize repositories and to apply security/license policies. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:create' responses: '201': content: application/json: schema: type: object additionalProperties: false properties: id: type: string description: The ID of the label default: '' name: type: string description: The name of the label default: '' repository_ids: type: array items: type: string description: Repository ID default: '' description: The IDs of repositories this label is associated with has_security_policy: type: boolean default: false description: Whether the label has a security policy has_license_policy: type: boolean default: false description: Whether the label has a license policy description: '' description: Creates a new repository label for the specified organization. The authenticated user must be a member of the organization. Label names must be non-empty and less than 1000 characters. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '409': content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Conflict '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} get: tags: - repo-labels summary: List repository labels (beta) operationId: getOrgRepoLabelList parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: per_page in: query required: false description: '' schema: type: integer minimum: 1 maximum: 100 default: 30 - name: page in: query required: false description: '' schema: type: integer minimum: 1 default: 1 security: - bearerAuth: - repo-label:list - basicAuth: - repo-label:list description: 'Lists repository labels for the specified organization. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:list' responses: '200': content: application/json: schema: type: object additionalProperties: false description: '' properties: results: type: array items: type: object additionalProperties: false properties: id: type: string description: The ID of the label default: '' name: type: string description: The name of the label default: '' repository_ids: type: array items: type: string description: Repository ID default: '' description: The IDs of repositories this label is associated with has_security_policy: type: boolean default: false description: Whether the label has a security policy has_license_policy: type: boolean default: false description: Whether the label has a license policy description: '' description: '' nextPage: type: integer description: '' default: 0 nullable: true required: - nextPage - results description: Lists repository labels for the specified organization. The authenticated user must be a member of the organization. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} /orgs/{org_slug}/repos/labels/{label_id}: delete: tags: - repo-labels summary: Delete repository label (beta) operationId: deleteOrgRepoLabel parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string security: - bearerAuth: - repo-label:delete - basicAuth: - repo-label:delete description: 'Delete a repository label and all of its associations (repositories, security policy, license policy, etc.). This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:delete' responses: '200': content: application/json: schema: type: object additionalProperties: false description: '' properties: status: type: string description: '' default: ok required: - status description: Success '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} get: tags: - repo-labels summary: Get repository label (beta) operationId: getOrgRepoLabel parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string security: - bearerAuth: - repo-label:list - basicAuth: - repo-label:list description: 'Retrieve a repository label associated with an organization and label ID. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:list' responses: '200': content: application/json: schema: type: object additionalProperties: false properties: id: type: string description: The ID of the label default: '' name: type: string description: The name of the label default: '' repository_ids: type: array items: type: string description: Repository ID default: '' description: The IDs of repositories this label is associated with has_security_policy: type: boolean default: false description: Whether the label has a security policy has_license_policy: type: boolean default: false description: Whether the label has a license policy description: '' description: Returns a specific repository label for the specified organization. The authenticated user must be a member of the organization. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} put: tags: - repo-labels summary: Update repository label (beta) operationId: updateOrgRepoLabel parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string requestBody: content: application/json: schema: type: object additionalProperties: false description: '' properties: name: type: string description: The name of the label default: '' required: - name required: true security: - bearerAuth: - repo-label:update - basicAuth: - repo-label:update description: 'Update a repository label name. Labels can be used to group and organize repositories and to apply security/license policies. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:update' responses: '200': content: application/json: schema: type: object additionalProperties: false properties: id: type: string description: The ID of the label default: '' name: type: string description: The name of the label default: '' repository_ids: type: array items: type: string description: Repository ID default: '' description: The IDs of repositories this label is associated with has_security_policy: type: boolean default: false description: Whether the label has a security policy has_license_policy: type: boolean default: false description: Whether the label has a license policy description: '' description: Updates an existing repository label for the specified organization. The authenticated user must be a member of the organization. Label names must be non-empty and less than 1000 characters. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '409': content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Conflict '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} /orgs/{org_slug}/repos/labels/{label_id}/label-setting: delete: tags: - repo-labels summary: Delete repository label setting (beta) operationId: deleteOrgRepoLabelSetting parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string - name: setting_key in: query required: true description: Setting key to delete from the repository label. Valid values include issueRules, issueRulesPolicyDefault, and licensePolicy schema: type: string security: - bearerAuth: - repo-label:update - basicAuth: - repo-label:update description: 'Delete the setting (e.g. security/license policy) for a repository label. Note that repository label settings currently only support `issueRules` and `issueRulesPolicyDefault`. A policy is considered "active" for a given repository label if the `issueRulesPolicyDefault` is set, and inactive when not set. `issueRules` can be used to further refine the alert triage strategy. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:update' responses: '200': content: application/json: schema: type: object additionalProperties: false description: '' properties: status: type: string description: '' default: ok required: - status description: Success '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} get: tags: - repo-labels summary: Get repository label setting (beta) operationId: getOrgRepoLabelSetting parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string - name: setting_key in: query required: true description: Setting key to query for in the repository label. Valid values include issueRules, issueRulesPolicyDefault, and licensePolicy schema: type: string security: - bearerAuth: - repo-label:list - basicAuth: - repo-label:list description: 'Retrieve the setting (e.g. security/license policy) for a repository label. Note that repository label settings currently only support `issueRules` and `issueRulesPolicyDefault`. A policy is considered "active" for a given repository label if the `issueRulesPolicyDefault` is set, and inactive when not set. `issueRules` can be used to further refine the alert triage strategy. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:list' responses: '200': content: application/json: schema: type: object additionalProperties: false properties: issueRules: type: object additionalProperties: false properties: gptSecurity: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptSecurity issues. required: - action gptAnomaly: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptAnomaly issues. required: - action gptMalware: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptMalware issues. required: - action filesystemAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for filesystemAccess issues. required: - action networkAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for networkAccess issues. required: - action shellAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for shellAccess issues. required: - action debugAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for debugAccess issues. required: - action chromePermission: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromePermission issues. required: - action chromeHostPermission: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromeHostPermission issues. required: - action chromeWildcardHostPermission: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromeWildcardHostPermission issues. required: - action chromeContentScript: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromeContentScript issues. required: - action criticalCVE: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for criticalCVE issues. required: - action cve: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for cve issues. required: - action mediumCVE: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for mediumCVE issues. required: - action mildCVE: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for mildCVE issues. required: - action emptyPackage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for emptyPackage issues. required: - action trivialPackage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for trivialPackage issues. required: - action noREADME: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noREADME issues. required: - action shrinkwrap: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for shrinkwrap issues. required: - action tooManyFiles: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for tooManyFiles issues. required: - action generic: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for generic issues. required: - action ghaArgToSink: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaArgToSink issues. required: - action ghaEnvToSink: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaEnvToSink issues. required: - action ghaContextToSink: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaContextToSink issues. required: - action ghaArgToOutput: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaArgToOutput issues. required: - action ghaArgToEnv: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaArgToEnv issues. required: - action ghaContextToOutput: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaContextToOutput issues. required: - action ghaContextToEnv: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaContextToEnv issues. required: - action recentlyPublished: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for recentlyPublished issues. required: - action licenseSpdxDisj: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for licenseSpdxDisj issues. required: - action unsafeCopyright: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unsafeCopyright issues. required: - action licenseChange: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for licenseChange issues. required: - action nonOSILicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for nonOSILicense issues. required: - action deprecatedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for deprecatedLicense issues. required: - action missingLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingLicense issues. required: - action nonSPDXLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for nonSPDXLicense issues. required: - action unclearLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unclearLicense issues. required: - action mixedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for mixedLicense issues. required: - action notice: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for notice issues. required: - action modifiedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for modifiedLicense issues. required: - action modifiedException: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for modifiedException issues. required: - action licenseException: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for licenseException issues. required: - action deprecatedException: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for deprecatedException issues. required: - action miscLicenseIssues: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for miscLicenseIssues issues. required: - action unidentifiedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unidentifiedLicense issues. required: - action noLicenseFound: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noLicenseFound issues. required: - action explicitlyUnlicensedItem: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for explicitlyUnlicensedItem issues. required: - action copyleftLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for copyleftLicense issues. required: - action nonpermissiveLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for nonpermissiveLicense issues. required: - action ambiguousClassifier: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ambiguousClassifier issues. required: - action invalidPackageJSON: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for invalidPackageJSON issues. required: - action httpDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for httpDependency issues. required: - action gitDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gitDependency issues. required: - action gitHubDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gitHubDependency issues. required: - action fileDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for fileDependency issues. required: - action noTests: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noTests issues. required: - action noRepository: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noRepository issues. required: - action badSemver: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for badSemver issues. required: - action badSemverDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for badSemverDependency issues. required: - action noV1: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noV1 issues. required: - action noWebsite: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noWebsite issues. required: - action noBugTracker: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noBugTracker issues. required: - action noAuthorData: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noAuthorData issues. required: - action typeModuleCompatibility: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for typeModuleCompatibility issues. required: - action floatingDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for floatingDependency issues. required: - action manifestConfusion: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for manifestConfusion issues. required: - action malware: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for malware issues. required: - action telemetry: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for telemetry issues. required: - action troll: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for troll issues. required: - action pendingScan: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for pendingScan issues. required: - action deprecated: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for deprecated issues. required: - action chronoAnomaly: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chronoAnomaly issues. required: - action compromisedSSHKey: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for compromisedSSHKey issues. required: - action semverAnomaly: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for semverAnomaly issues. required: - action newAuthor: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for newAuthor issues. required: - action unstableOwnership: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unstableOwnership issues. required: - action missingAuthor: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingAuthor issues. required: - action unmaintained: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unmaintained issues. required: - action unpublished: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unpublished issues. required: - action majorRefactor: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for majorRefactor issues. required: - action missingTarball: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingTarball issues. required: - action suspiciousStarActivity: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for suspiciousStarActivity issues. required: - action notFound: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for notFound issues. required: - action unpopularPackage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unpopularPackage issues. required: - action policy: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for policy issues. required: - action skillAutonomyAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillAutonomyAbuse issues. required: - action skillCommandInjection: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillCommandInjection issues. required: - action skillDataExfiltration: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillDataExfiltration issues. required: - action skillDiscoveryAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillDiscoveryAbuse issues. required: - action skillHardcodedSecrets: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillHardcodedSecrets issues. required: - action skillObfuscation: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillObfuscation issues. required: - action skillPreExecution: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillPreExecution issues. required: - action skillPromptInjection: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillPromptInjection issues. required: - action skillResourceAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillResourceAbuse issues. required: - action skillSupplyChain: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillSupplyChain issues. required: - action skillToolAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillToolAbuse issues. required: - action skillToolChaining: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillToolChaining issues. required: - action skillTransitiveTrust: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillTransitiveTrust issues. required: - action socketUpgradeAvailable: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for socketUpgradeAvailable issues. required: - action longStrings: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for longStrings issues. required: - action highEntropyStrings: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for highEntropyStrings issues. required: - action urlStrings: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for urlStrings issues. required: - action usesEval: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for usesEval issues. required: - action dynamicRequire: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for dynamicRequire issues. required: - action envVars: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for envVars issues. required: - action missingDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingDependency issues. required: - action unusedDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unusedDependency issues. required: - action peerDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for peerDependency issues. required: - action uncaughtOptionalDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for uncaughtOptionalDependency issues. required: - action unresolvedRequire: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unresolvedRequire issues. required: - action extraneousDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for extraneousDependency issues. required: - action obfuscatedRequire: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for obfuscatedRequire issues. required: - action obfuscatedFile: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for obfuscatedFile issues. required: - action minifiedFile: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for minifiedFile issues. required: - action installScripts: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for installScripts issues. required: - action hasNativeCode: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for hasNativeCode issues. required: - action binScriptConfusion: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for binScriptConfusion issues. required: - action shellScriptOverride: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for shellScriptOverride issues. required: - action didYouMean: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for didYouMean issues. required: - action gptDidYouMean: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptDidYouMean issues. required: - action bidi: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for bidi issues. required: - action zeroWidth: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for zeroWidth issues. required: - action badEncoding: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for badEncoding issues. required: - action homoglyphs: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for homoglyphs issues. required: - action invisibleChars: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for invisibleChars issues. required: - action suspiciousString: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for suspiciousString issues. required: - action potentialVulnerability: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for potentialVulnerability issues. required: - action vsxProposedApiUsage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxProposedApiUsage issues. required: - action vsxActivationWildcard: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxActivationWildcard issues. required: - action vsxWorkspaceContainsActivation: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxWorkspaceContainsActivation issues. required: - action vsxUntrustedWorkspaceSupported: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxUntrustedWorkspaceSupported issues. required: - action vsxVirtualWorkspaceSupported: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxVirtualWorkspaceSupported issues. required: - action vsxWebviewContribution: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxWebviewContribution issues. required: - action vsxDebuggerContribution: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxDebuggerContribution issues. required: - action vsxExtensionDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxExtensionDependency issues. required: - action vsxExtensionPack: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxExtensionPack issues. required: - action description: '' nullable: true issueRulesPolicyDefault: type: string enum: - default - low - medium - high description: The default security policy for the repository label default: medium nullable: true licensePolicy: type: object description: '' default: null nullable: true description: '' description: Returns the setting for the specified repository label. The authenticated user must be a member of the organization. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} put: tags: - repo-labels summary: Update repository label setting (beta) operationId: updateOrgRepoLabelSetting parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string requestBody: content: application/json: schema: type: object additionalProperties: false properties: issueRules: type: object additionalProperties: false properties: gptSecurity: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptSecurity issues. required: - action gptAnomaly: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptAnomaly issues. required: - action gptMalware: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptMalware issues. required: - action filesystemAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for filesystemAccess issues. required: - action networkAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for networkAccess issues. required: - action shellAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for shellAccess issues. required: - action debugAccess: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for debugAccess issues. required: - action chromePermission: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromePermission issues. required: - action chromeHostPermission: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromeHostPermission issues. required: - action chromeWildcardHostPermission: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromeWildcardHostPermission issues. required: - action chromeContentScript: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chromeContentScript issues. required: - action criticalCVE: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for criticalCVE issues. required: - action cve: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for cve issues. required: - action mediumCVE: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for mediumCVE issues. required: - action mildCVE: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for mildCVE issues. required: - action emptyPackage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for emptyPackage issues. required: - action trivialPackage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for trivialPackage issues. required: - action noREADME: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noREADME issues. required: - action shrinkwrap: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for shrinkwrap issues. required: - action tooManyFiles: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for tooManyFiles issues. required: - action generic: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for generic issues. required: - action ghaArgToSink: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaArgToSink issues. required: - action ghaEnvToSink: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaEnvToSink issues. required: - action ghaContextToSink: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaContextToSink issues. required: - action ghaArgToOutput: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaArgToOutput issues. required: - action ghaArgToEnv: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaArgToEnv issues. required: - action ghaContextToOutput: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaContextToOutput issues. required: - action ghaContextToEnv: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ghaContextToEnv issues. required: - action recentlyPublished: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for recentlyPublished issues. required: - action licenseSpdxDisj: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for licenseSpdxDisj issues. required: - action unsafeCopyright: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unsafeCopyright issues. required: - action licenseChange: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for licenseChange issues. required: - action nonOSILicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for nonOSILicense issues. required: - action deprecatedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for deprecatedLicense issues. required: - action missingLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingLicense issues. required: - action nonSPDXLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for nonSPDXLicense issues. required: - action unclearLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unclearLicense issues. required: - action mixedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for mixedLicense issues. required: - action notice: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for notice issues. required: - action modifiedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for modifiedLicense issues. required: - action modifiedException: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for modifiedException issues. required: - action licenseException: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for licenseException issues. required: - action deprecatedException: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for deprecatedException issues. required: - action miscLicenseIssues: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for miscLicenseIssues issues. required: - action unidentifiedLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unidentifiedLicense issues. required: - action noLicenseFound: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noLicenseFound issues. required: - action explicitlyUnlicensedItem: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for explicitlyUnlicensedItem issues. required: - action copyleftLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for copyleftLicense issues. required: - action nonpermissiveLicense: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for nonpermissiveLicense issues. required: - action ambiguousClassifier: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for ambiguousClassifier issues. required: - action invalidPackageJSON: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for invalidPackageJSON issues. required: - action httpDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for httpDependency issues. required: - action gitDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gitDependency issues. required: - action gitHubDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gitHubDependency issues. required: - action fileDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for fileDependency issues. required: - action noTests: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noTests issues. required: - action noRepository: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noRepository issues. required: - action badSemver: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for badSemver issues. required: - action badSemverDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for badSemverDependency issues. required: - action noV1: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noV1 issues. required: - action noWebsite: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noWebsite issues. required: - action noBugTracker: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noBugTracker issues. required: - action noAuthorData: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for noAuthorData issues. required: - action typeModuleCompatibility: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for typeModuleCompatibility issues. required: - action floatingDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for floatingDependency issues. required: - action manifestConfusion: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for manifestConfusion issues. required: - action malware: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for malware issues. required: - action telemetry: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for telemetry issues. required: - action troll: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for troll issues. required: - action pendingScan: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for pendingScan issues. required: - action deprecated: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for deprecated issues. required: - action chronoAnomaly: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for chronoAnomaly issues. required: - action compromisedSSHKey: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for compromisedSSHKey issues. required: - action semverAnomaly: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for semverAnomaly issues. required: - action newAuthor: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for newAuthor issues. required: - action unstableOwnership: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unstableOwnership issues. required: - action missingAuthor: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingAuthor issues. required: - action unmaintained: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unmaintained issues. required: - action unpublished: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unpublished issues. required: - action majorRefactor: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for majorRefactor issues. required: - action missingTarball: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingTarball issues. required: - action suspiciousStarActivity: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for suspiciousStarActivity issues. required: - action notFound: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for notFound issues. required: - action unpopularPackage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unpopularPackage issues. required: - action policy: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for policy issues. required: - action skillAutonomyAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillAutonomyAbuse issues. required: - action skillCommandInjection: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillCommandInjection issues. required: - action skillDataExfiltration: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillDataExfiltration issues. required: - action skillDiscoveryAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillDiscoveryAbuse issues. required: - action skillHardcodedSecrets: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillHardcodedSecrets issues. required: - action skillObfuscation: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillObfuscation issues. required: - action skillPreExecution: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillPreExecution issues. required: - action skillPromptInjection: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillPromptInjection issues. required: - action skillResourceAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillResourceAbuse issues. required: - action skillSupplyChain: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillSupplyChain issues. required: - action skillToolAbuse: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillToolAbuse issues. required: - action skillToolChaining: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillToolChaining issues. required: - action skillTransitiveTrust: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for skillTransitiveTrust issues. required: - action socketUpgradeAvailable: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for socketUpgradeAvailable issues. required: - action longStrings: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for longStrings issues. required: - action highEntropyStrings: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for highEntropyStrings issues. required: - action urlStrings: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for urlStrings issues. required: - action usesEval: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for usesEval issues. required: - action dynamicRequire: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for dynamicRequire issues. required: - action envVars: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for envVars issues. required: - action missingDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for missingDependency issues. required: - action unusedDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unusedDependency issues. required: - action peerDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for peerDependency issues. required: - action uncaughtOptionalDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for uncaughtOptionalDependency issues. required: - action unresolvedRequire: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for unresolvedRequire issues. required: - action extraneousDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for extraneousDependency issues. required: - action obfuscatedRequire: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for obfuscatedRequire issues. required: - action obfuscatedFile: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for obfuscatedFile issues. required: - action minifiedFile: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for minifiedFile issues. required: - action installScripts: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for installScripts issues. required: - action hasNativeCode: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for hasNativeCode issues. required: - action binScriptConfusion: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for binScriptConfusion issues. required: - action shellScriptOverride: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for shellScriptOverride issues. required: - action didYouMean: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for didYouMean issues. required: - action gptDidYouMean: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for gptDidYouMean issues. required: - action bidi: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for bidi issues. required: - action zeroWidth: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for zeroWidth issues. required: - action badEncoding: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for badEncoding issues. required: - action homoglyphs: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for homoglyphs issues. required: - action invisibleChars: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for invisibleChars issues. required: - action suspiciousString: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for suspiciousString issues. required: - action potentialVulnerability: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for potentialVulnerability issues. required: - action vsxProposedApiUsage: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxProposedApiUsage issues. required: - action vsxActivationWildcard: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxActivationWildcard issues. required: - action vsxWorkspaceContainsActivation: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxWorkspaceContainsActivation issues. required: - action vsxUntrustedWorkspaceSupported: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxUntrustedWorkspaceSupported issues. required: - action vsxVirtualWorkspaceSupported: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxVirtualWorkspaceSupported issues. required: - action vsxWebviewContribution: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxWebviewContribution issues. required: - action vsxDebuggerContribution: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxDebuggerContribution issues. required: - action vsxExtensionDependency: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxExtensionDependency issues. required: - action vsxExtensionPack: type: object additionalProperties: false description: '' properties: action: type: string enum: - defer - error - warn - monitor - ignore description: The action to take for vsxExtensionPack issues. required: - action description: '' issueRulesPolicyDefault: type: string enum: - default - low - medium - high description: The default security policy for the repository label default: medium licensePolicy: $ref: '#/components/schemas/LicenseAllowListRequest' description: '' required: false security: - bearerAuth: - repo-label:update - basicAuth: - repo-label:update description: 'Update the setting (e.g. security/license policy) for a repository label. Note that repository label settings currently only support `issueRules` and `issueRulesPolicyDefault`. A policy is considered "active" for a given repository label if the `issueRulesPolicyDefault` is set, and inactive when not set. `issueRules` can be used to further refine the alert triage strategy. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:update' responses: '200': content: application/json: schema: type: object additionalProperties: false description: '' properties: status: type: string description: '' default: ok required: - status description: Success '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} /orgs/{org_slug}/repos/labels/{label_id}/disassociate: post: tags: - repo-labels summary: Disassociate repository label (beta) operationId: disassociateOrgRepoLabel parameters: - name: org_slug in: path required: true description: The slug of the organization schema: type: string - name: label_id in: path required: true description: The ID of the label schema: type: string requestBody: content: application/json: schema: type: object additionalProperties: false properties: repository_id: type: string description: The ID of the repository to disassociate from the label default: '' description: '' required: false security: - bearerAuth: - repo-label:update - basicAuth: - repo-label:update description: 'Disassociate a repository label from a repository. Labels can be used to group and organize repositories and to apply security/license policies. This endpoint consumes 1 unit of your quota. This endpoint requires the following org token scopes: - repo-label:update' responses: '200': content: application/json: schema: type: object additionalProperties: false properties: status: type: string description: Status of the operation default: '' description: '' description: Disassociates a repository label from the specified repository. The authenticated user must be a member of the organization. '400': $ref: '#/components/responses/SocketBadRequest' '401': $ref: '#/components/responses/SocketUnauthorized' '403': $ref: '#/components/responses/SocketForbidden' '404': $ref: '#/components/responses/SocketNotFoundResponse' '429': $ref: '#/components/responses/SocketTooManyRequestsResponse' x-readme: {} components: requestBodies: {} responses: SocketBadRequest: content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Bad request SocketUnauthorized: content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Unauthorized SocketForbidden: content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Insufficient max_quota for API method SocketNotFoundResponse: content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Resource not found SocketTooManyRequestsResponse: description: Insufficient quota for API route headers: Retry-After: description: 'Retry contacting the endpoint *at least* after seconds. See https://tools.ietf.org/html/rfc7231#section-7.1.3' schema: format: int32 type: integer content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error SocketInternalServerError: content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Internal server error SocketConflict: content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Resource already exists SocketGone: content: application/json: schema: type: object additionalProperties: false description: '' properties: error: type: object additionalProperties: false description: '' properties: message: type: string description: '' default: '' details: type: object description: '' default: null nullable: true required: - details - message required: - error description: Gone schemas: LicenseAllowListRequest: type: object description: '' default: null securitySchemes: bearerAuth: type: http scheme: bearer description: Organization Tokens can be passed as a Bearer token basicAuth: type: http scheme: basic description: Organization Tokens can be passed as the user field in basic auth