Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetSanitizedPlatformDisplayNames returns a map of (string, string) not (BungieCredentialType) #1888

Open
d2orbc opened this issue May 18, 2024 · 1 comment

Comments

@d2orbc
Copy link

d2orbc commented May 18, 2024

GetSanitizedPlatformDisplayNames

    "/User/GetSanitizedPlatformDisplayNames/{membershipId}/": {
      "summary": "User.GetSanitizedPlatformDisplayNames",
      "description": "Gets a list of all display names linked to this membership id but sanitized (profanity filtered). Obeys all visibility rules of calling user and is heavily cached.",
      "get": {
        "tags": [
          "User"
        ],
        "description": "Gets a list of all display names linked to this membership id but sanitized (profanity filtered). Obeys all visibility rules of calling user and is heavily cached.",
        "operationId": "User.GetSanitizedPlatformDisplayNames",
        "parameters": [
          {
            "name": "membershipId",
            "in": "path",
            "description": "The requested membership id to load.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/CEDictionaryOfBungieCredentialTypeAndstring"
          }
        },
        "deprecated": false
      }
    },
    ```

CEDictionaryOfBungieCredentialTypeAndstring
            "Response": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              },
              "x-dictionary-key": {
                "type": "integer",
                "description": "The types of credentials the Accounts system supports. This is the external facing enum used in place of the internal-only Bungie.SharedDefinitions.CredentialType.",
                "format": "byte",
                "x-enum-reference": {
                  "$ref": "#/components/schemas/BungieCredentialType"
                },
                "x-enum-is-bitmask": false
              }
            },
            ```

Actual response:

{"Response":{"TwitchId":"xxx","EgsId":"xxx","SteamId":"xxx"},"ErrorCode":1,"ThrottleSeconds":0,"ErrorStatus":"Success","Message":"Ok","MessageData":{}}
@d2orbc
Copy link
Author

d2orbc commented May 18, 2024

Similar to #1374 and #1575 but with BungieCredentialType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant