{
  "opencollection": "1.0.0",
  "info": {
    "name": "AccelByte Gaming Services (AGS) Achievement IAM API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "IAM",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Issue an OAuth2 access token.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://demo.accelbyte.io/iam/v3/oauth/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "code",
                  "value": ""
                },
                {
                  "name": "redirect_uri",
                  "value": ""
                },
                {
                  "name": "refresh_token",
                  "value": ""
                },
                {
                  "name": "code_verifier",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "OAuth2 token endpoint. Supports `client_credentials` for server-to-server access, `authorization_code` for player login flows, and `urn:ietf:params:oauth:grant-type:token-exchange` / platform token exchange for linking third-party platform accounts. Clients authenticate with HTTP Basic (client id / client secret)."
        },
        {
          "info": {
            "name": "Register a new user account.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://demo.accelbyte.io/iam/v3/public/namespaces/:namespace/users",
            "params": [
              {
                "name": "namespace",
                "value": "demogame",
                "type": "path",
                "description": "The game namespace the request is scoped to."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register a new user account."
        },
        {
          "info": {
            "name": "Get the current authenticated user.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://demo.accelbyte.io/iam/v3/public/namespaces/:namespace/users/me",
            "params": [
              {
                "name": "namespace",
                "value": "demogame",
                "type": "path",
                "description": "The game namespace the request is scoped to."
              }
            ]
          },
          "docs": "Get the current authenticated user."
        }
      ]
    }
  ],
  "bundled": true
}